Subject: CVS commit: src/sys/arch/i386/stand/lib
To: None <source-changes@NetBSD.org>
From: Charles M. Hannum <mycroft@netbsd.org>
List: source-changes
Date: 01/27/2005 18:20:45
Module Name:	src
Committed By:	mycroft
Date:		Thu Jan 27 18:20:45 UTC 2005

Modified Files:
	src/sys/arch/i386/stand/lib: conio.S libi386.h pcio.c

Log Message:
Make awaitkey() poll once even if the timeout is 0.  This also fixes a problem
where a keypress within the last polling interval would not be noticed.
Add a new function, conisshift(), which is used to detect whether a shift key
is pressed.  Use this via awaitkey() to allow interrupting the boot by holding
down shift (similar to LILO).

This allows setting the timeout to 0 and still being able to use the boot
program.


To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 src/sys/arch/i386/stand/lib/conio.S
cvs rdiff -r1.17 -r1.18 src/sys/arch/i386/stand/lib/libi386.h
cvs rdiff -r1.18 -r1.19 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.