mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
indent -npro -kr -i8 -ts8 -sob -l80 -ss -ncs *.[ch] (trivial) Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@65 f3766cd6-281f-0410-b1cd-43a5c92072e9
15 lines
445 B
C
15 lines
445 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 */
|