12#include <libcommon/port.h>
16namespace MaxOS::console {
28 common::Port8Bit m_data_port;
29 common::Port8Bit m_interrupt_enable_port;
30 common::Port8Bit m_fifo_control_port;
31 common::Port8Bit m_line_control_port;
32 common::Port8Bit m_modem_control_port;
33 common::Port8Bit m_line_status_port;
A class that handles logging messages to the console and files.
A driver for the serial output.
char read_char()
Read data from the serial port.
void write_char(char c) final
Waits for the serial port to be ready, then writes a character to it.
void put_character(char c)
Waits for the serial port to be ready, then writes a character to it.
bool can_read()
Checks if data can be read from the serial port.
SerialConsole()
Constructs a new Serial Console object and initialises the serial port.
Defines a Logger class for logging messages with different severity levels to multiple output streams...