Phoenix
Object-oriented orthogonally persistent operating system
|
Serial console driver implementation in the kernel for debug logging purposes. More...
Public Member Functions | |
bool | Getc (u8 *c, void *arg=0) |
Get character from the port. | |
bool | Putc (u8 c, void *arg=0) |
Output character to the port. |
Serial console driver implementation in the kernel for debug logging purposes.
It is very simple and runs in polling mode so it can be used only for debugging purposes. Normal serial port driver is implemented in the user space.
bool DbgSerialPort::Getc | ( | u8 * | c, |
void * | arg = 0 |
||
) |
Get character from the port.
c | Pointer to location where to store the character. |
arg | Unused argument for compatibility with upper layers. |
bool log::DbgSerialPort::Putc | ( | u8 | c, |
void * | arg = 0 |
||
) |
Output character to the port.
c | Character to output |
arg | Unused argument for compatibility with upper layers. |