Module Name: src Committed By: jmcneill Date: Mon Feb 14 23:47:11 UTC 2011
Modified Files: src/sys/arch/i386/stand/lib: pcio.c Log Message: port-i386/44563: boot loader prompt doesn't read keyboard input on a MacBook1,1 check for keystroke (int 16h, AH=01h) before getting keystroke (int 16h, AH=00h), fixes bootloader keyboard input with Apple firmware, from Taylor R Campbell To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 src/sys/arch/i386/stand/lib/pcio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/i386/stand/lib/pcio.c diff -u src/sys/arch/i386/stand/lib/pcio.c:1.28 src/sys/arch/i386/stand/lib/pcio.c:1.29 --- src/sys/arch/i386/stand/lib/pcio.c:1.28 Fri Jun 25 15:35:08 2010 +++ src/sys/arch/i386/stand/lib/pcio.c Mon Feb 14 23:47:11 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: pcio.c,v 1.28 2010/06/25 15:35:08 tsutsui Exp $ */ +/* $NetBSD: pcio.c,v 1.29 2011/02/14 23:47:11 jmcneill Exp $ */ /* * Copyright (c) 1996, 1997 @@ -271,6 +271,8 @@ default: /* to make gcc -Wall happy... */ case CONSDEV_PC: #endif + while (!coniskey()) + ; c = congetc(); #ifdef CONSOLE_KEYMAP {