iPXE
|
16550-compatible UART More...
Go to the source code of this file.
Functions | |
FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
int | uart_select (struct uart *uart, unsigned int port) |
Select UART port. More... | |
Variables | |
static uint16_t | uart_base [] |
UART port bases. More... | |
16550-compatible UART
Definition in file x86_uart.c.
FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
int uart_select | ( | struct uart * | uart, |
unsigned int | port | ||
) |
Select UART port.
uart | UART |
port | Port number, or 0 to disable |
rc | Return status code |
Definition at line 50 of file x86_uart.c.
References uart::base, ENODEV, NULL, port, rc, uart_base, and uart_exists().
Referenced by gdbserial_configure(), and serial_init().
|
static |