From 5f4410b7ddc6dcfcbd0997d9050696333d1cce95 Mon Sep 17 00:00:00 2001 From: Jordan Crouse Date: Mon, 21 Apr 2008 22:33:58 +0000 Subject: libpayload: Fix keyboard buglet This solves the multiple keystroke issue that popped up recently. Signed-off-by: Jordan Crouse Acked-by: Uwe Hermann git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3245 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- payloads/libpayload/curses/keyboard.c | 2 ++ payloads/libpayload/sample/hello.c | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'payloads/libpayload') diff --git a/payloads/libpayload/curses/keyboard.c b/payloads/libpayload/curses/keyboard.c index 8e9212ceda..0f55614f39 100644 --- a/payloads/libpayload/curses/keyboard.c +++ b/payloads/libpayload/curses/keyboard.c @@ -250,6 +250,8 @@ static int curses_getchar(int delay) mdelay(100); delay--; } + + continue; } c = inb(0x60); diff --git a/payloads/libpayload/sample/hello.c b/payloads/libpayload/sample/hello.c index 242c0c5f7b..be377b5b25 100644 --- a/payloads/libpayload/sample/hello.c +++ b/payloads/libpayload/sample/hello.c @@ -33,8 +33,5 @@ int main(void) { - printf("Hello world!\n"); - halt(); - return 0; } -- cgit v1.2.3