Barrelfish
|
Architecture-independent interface to the kernel serial port subsystem. More...
Functions | |
errval_t | serial_init (unsigned port, bool initialize_hw) |
Initialise the serial driver. More... | |
errval_t | serial_early_init (unsigned port) |
Configure the serial interface, from a caller that knows that this is a bunch of PL011s, and furthermore where they are in the physical address space. | |
errval_t | serial_early_init_mmu_enabled (unsigned port) |
Configure the serial interface, from a caller that knows that this is a bunch of PL011s, and furthermore where they are in the physical address space. | |
void | serial_putchar (unsigned port, char c) |
Prints a single character to a serial port. More... | |
char | serial_getchar (unsigned port) |
Reads a single character from the default serial port. More... | |
Architecture-independent interface to the kernel serial port subsystem.
char serial_getchar | ( | unsigned | port | ) |
Reads a single character from the default serial port.
Reads a single character from the default serial port.
errval_t serial_init | ( | unsigned | port, |
bool | initialize_hw | ||
) |
Initialise the serial driver.
port | Serial Port number. |
initialize_hw | Should the Hardware be initialized or just mackerel representation. |
void serial_putchar | ( | unsigned | port, |
char | c | ||
) |
Prints a single character to a serial port.
Prints a single character to a serial port.