iPXE
|
16550-compatible UART More...
Go to the source code of this file.
Functions | |
FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
static | __attribute__ ((always_inline)) void uart_write(struct uart *uart |
Write to UART register. More... | |
int | uart_select (struct uart *uart, unsigned int port) |
Select UART port. More... | |
Variables | |
static unsigned int | addr |
static unsigned int uint8_t | data |
16550-compatible UART
Definition in file uart.h.
FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
|
inlinestatic |
Write to UART register.
Read from UART register.
uart | UART |
addr | Register address |
data | Data |
uart | UART |
addr | Register address |
data | Data |
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.
unsigned int addr |
unsigned int uint8_t data |