diff options
author | Jordan Crouse <jordan.crouse@amd.com> | 2008-04-21 22:33:58 +0000 |
---|---|---|
committer | Jordan Crouse <jordan.crouse@amd.com> | 2008-04-21 22:33:58 +0000 |
commit | 5f4410b7ddc6dcfcbd0997d9050696333d1cce95 (patch) | |
tree | 1c5f3cb80aa4e852c46a50fb6ab354eceb828ae4 /payloads/libpayload | |
parent | 7bc63fd2cbe5b512b982ee0a0c5a1552f4f3e249 (diff) | |
download | coreboot-5f4410b7ddc6dcfcbd0997d9050696333d1cce95.tar.xz |
libpayload: Fix keyboard buglet
This solves the multiple keystroke issue that popped up recently.
Signed-off-by: Jordan Crouse <jordan.crouse@amd.com>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3245 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'payloads/libpayload')
-rw-r--r-- | payloads/libpayload/curses/keyboard.c | 2 | ||||
-rw-r--r-- | payloads/libpayload/sample/hello.c | 3 |
2 files changed, 2 insertions, 3 deletions
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; } |