Files
system76-coreboot/src/include/uart8250.h
Greg Watson e54d55b9d9 added rx support
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1410 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-03-13 03:40:51 +00:00

16 lines
442 B
C

#ifndef UART8250_H
#define UART8250_H
struct uart8250 {
unsigned int baud;
/* Do I need an lcs parameter here? */
};
unsigned char uart8250_rx_byte(unsigned base_port);
int uart8250_can_rx_byte(unsigned base_port);
void uart8250_tx_byte(unsigned base_port, unsigned char data);
void uart8250_init(unsigned base_port, unsigned divisor, unsigned lcs);
void init_uart8250(unsigned base_port, struct uart8250 *uart);
#endif /* UART8250_H */