From 4f9c2185ae40b0fc4ead898ad568efd2d5e67b84 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Thu, 8 Mar 2007 23:54:27 +0000 Subject: [PATCH] Sorry for breaking the code here. Changing it back Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@222 f3766cd6-281f-0410-b1cd-43a5c92072e9 --- arch/x86/console.c | 2 +- include/console/console.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/x86/console.c b/arch/x86/console.c index add3aa2529..f276c80be7 100644 --- a/arch/x86/console.c +++ b/arch/x86/console.c @@ -16,7 +16,7 @@ static int console_loglevel(void) return CONFIG_DEFAULT_CONSOLE_LOGLEVEL; } -void console_tx_byte(unsigned char byte) +void console_tx_byte(unsigned char byte, void *arg) { if (byte == '\n') { uart8250_tx_byte(TTYSx_BASE, '\r'); diff --git a/include/console/console.h b/include/console/console.h index 5bbbd50248..308148c102 100644 --- a/include/console/console.h +++ b/include/console/console.h @@ -21,7 +21,7 @@ #include void console_init(void); -void console_tx_byte(unsigned char byte); +void console_tx_byte(unsigned char byte, void *arg); void console_tx_flush(void); unsigned char console_rx_byte(void); int console_tst_byte(void); @@ -30,7 +30,7 @@ void die(const char *msg); struct console_driver { void (*init)(void); - void (*tx_byte)(unsigned char byte); + void (*tx_byte)(unsigned char byte, void *arg); void (*tx_flush)(void); unsigned char (*rx_byte)(void); int (*tst_byte)(void);