diff options
author | Greg Watson <jarrah@users.sourceforge.net> | 2004-03-13 03:40:51 +0000 |
---|---|---|
committer | Greg Watson <jarrah@users.sourceforge.net> | 2004-03-13 03:40:51 +0000 |
commit | e54d55b9d935745c2aa3f07712b857af42506c0d (patch) | |
tree | efe0e500105ceaa5aed882f52329fb6a5e675a75 /src/include/console | |
parent | 5c51c3d9d945ae77c93073db5624728959cf4c74 (diff) | |
download | coreboot-e54d55b9d935745c2aa3f07712b857af42506c0d.tar.xz |
added rx support
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1410 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/include/console')
-rw-r--r-- | src/include/console/console.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/console/console.h b/src/include/console/console.h index ffb17d4c9b..aeb5895587 100644 --- a/src/include/console/console.h +++ b/src/include/console/console.h @@ -7,6 +7,8 @@ void console_init(void); void console_tx_byte(unsigned char byte); void console_tx_flush(void); +unsigned char console_rx_byte(void); +int console_tst_byte(void); void post_code(uint8_t value); void die(char *msg); @@ -14,6 +16,8 @@ struct console_driver { void (*init)(void); void (*tx_byte)(unsigned char byte); void (*tx_flush)(void); + unsigned char (*rx_byte)(void); + int (*tst_byte)(void); }; #define __console __attribute__((unused, __section__ (".rodata.console_drivers"))) |