summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>1998-10-07 07:34:31 +0000
committermsmith <msmith@FreeBSD.org>1998-10-07 07:34:31 +0000
commitaaa2a6fba958911412e08bb494a46d8f20953641 (patch)
tree97c50120e423b3c01ff8e05ff7e90c63e9fcb784
parent8ea5e0c143365be04edfa46ef0a3e70ebd83111b (diff)
downloadFreeBSD-src-aaa2a6fba958911412e08bb494a46d8f20953641.zip
FreeBSD-src-aaa2a6fba958911412e08bb494a46d8f20953641.tar.gz
Request the flags back when checking for keyboard status.
Submitted by: rnordier
-rw-r--r--sys/boot/i386/libi386/vidconsole.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/boot/i386/libi386/vidconsole.c b/sys/boot/i386/libi386/vidconsole.c
index b14b155..5ee09ae 100644
--- a/sys/boot/i386/libi386/vidconsole.c
+++ b/sys/boot/i386/libi386/vidconsole.c
@@ -26,7 +26,7 @@
*
* From Id: probe_keyboard.c,v 1.13 1997/06/09 05:10:55 bde Exp
*
- * $Id: vidconsole.c,v 1.3 1998/10/02 16:32:45 msmith Exp $
+ * $Id: vidconsole.c,v 1.4 1998/10/07 02:39:06 msmith Exp $
*/
#include <stand.h>
@@ -111,7 +111,7 @@ vidc_getchar(void)
static int
vidc_ischar(void)
{
- v86.ctl = 0;
+ v86.ctl = V86_FLAGS;
v86.addr = 0x16;
v86.eax = 0x100;
v86int();
OpenPOWER on IntegriCloud