Barrelfish
|
A basic (virtual) serial output for the Xeon Phi. More...
Functions | |
errval_t | serial_init (unsigned port, bool initialize_hw) |
Initialise the serial driver. | |
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. | |
void | serial_putchar (unsigned port, char c) |
Prints a single character to the default serial port. More... | |
char | serial_getchar (unsigned port) |
Reads a single character from the default serial port. This function spins waiting for a character to arrive. More... | |
A basic (virtual) serial output for the Xeon Phi.
char serial_getchar | ( | unsigned | port | ) |
Reads a single character from the default serial port. This function spins waiting for a character to arrive.
Reads a single character from the default serial port.
void serial_putchar | ( | unsigned | port, |
char | c | ||
) |
Prints a single character to the default serial port.
Prints a single character to a serial port.