summaryrefslogtreecommitdiff
path: root/src/include/uart8250.h
diff options
context:
space:
mode:
authorGreg Watson <jarrah@users.sourceforge.net>2004-03-13 03:40:51 +0000
committerGreg Watson <jarrah@users.sourceforge.net>2004-03-13 03:40:51 +0000
commite54d55b9d935745c2aa3f07712b857af42506c0d (patch)
treeefe0e500105ceaa5aed882f52329fb6a5e675a75 /src/include/uart8250.h
parent5c51c3d9d945ae77c93073db5624728959cf4c74 (diff)
added rx support
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1410 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/include/uart8250.h')
-rw-r--r--src/include/uart8250.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/uart8250.h b/src/include/uart8250.h
index f610026614..dc09315dea 100644
--- a/src/include/uart8250.h
+++ b/src/include/uart8250.h
@@ -6,6 +6,8 @@ struct uart8250 {
/* 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);