freebsd-skq/sys
marcel cc1323fd66 In efi_cons_poll we check if a key is present (pending) by checking
the signaled state of the apropriate event. As a side-effect of
checking the event, it's signaled state is cleared if it was set.
In efi_cons_getchar we used to wait for the apropriate event to be
signaled before reading a character. This however does not work if
we poll before reading the characteri, such as during autoboot. On
a more compliant EFI implementation this resulted in the behaviour
that hitting a key during autoboot would stop the countdown, but
would then wait for a new character to arrive instead of reading
the already pending key that stopped the countdown.

The correct behaviour for efi_cons_getchar is to try to read a key
and if none is pending, to wait for the apropriate event to signal
the arrival of a new key.

Note that with the previous behaviour, the second key would determine
how the autoboot was interrupted. This would indicate that the first
key got lost. This indicates that EFI does not necessarily maintain
a queue of pending keys. FWIW...

Approved by: re (carte blanche)
French corrected by: various people :-)
2002-12-08 19:46:11 +00:00
..
alpha MFi386 2002-12-02 01:12:05 +00:00
amd64 Add "disabled" hints to all of the uncommon ISA devices that are in 2002-12-05 22:49:47 +00:00
arm
boot In efi_cons_poll we check if a key is present (pending) by checking 2002-12-08 19:46:11 +00:00
cam Release the reference to the peripheral if returning a error. 2002-11-29 15:40:10 +00:00
coda
compat Fix emulation of the fcntl64() syscall. In Linux, this is exactly 2002-12-08 18:30:44 +00:00
conf Back out rev 1.7 -- I'm not sure we're ready for it and I can't test it. 2002-12-05 18:35:44 +00:00
contrib Resolve conflicts arising from the ACPI CA 20021118 import. 2002-11-27 18:09:20 +00:00
crypto Make this compilable from userland as well. 2002-11-01 08:56:39 +00:00
ddb - Rename the DDB specific %z printf format to %y. 2002-10-25 19:41:32 +00:00
dev Fix a bug which caused signals on YUV images to fail. 2002-12-07 09:00:19 +00:00
fs Fix instances of macros with improperly parenthasized arguments. 2002-11-09 12:55:07 +00:00
geom Add support for the PC98 platform to the ATA driver. 2002-12-03 20:20:44 +00:00
gnu
i4b network interface and link layer changes: 2002-11-15 00:00:15 +00:00
i386 Add "disabled" hints to all of the uncommon ISA devices that are in 2002-12-05 22:49:47 +00:00
ia64 MFi386 2002-12-02 01:12:05 +00:00
isa Use the correct value when writing the Day Of Week byte in the CMOS. 2002-12-04 13:46:49 +00:00
isofs/cd9660 Unbreak MNT_UPDATE when running with cd as root. Detect mountroot by 2002-11-02 20:16:55 +00:00
kern To avoid lock order reversals in getnewvnode(), the call to uma_zfree() 2002-12-08 05:06:50 +00:00
libkern Fix instances of macros with improperly parenthasized arguments. 2002-11-09 12:55:07 +00:00
modules Correct alphabetization of awi entry. 2002-12-08 17:59:44 +00:00
net MFS: recognize gre packets used in the WCCP protocol. 2002-12-07 14:22:05 +00:00
netatalk
netatm - Change the ATM stack functions to use intptr_t instead of int for opaque 2002-11-08 18:27:30 +00:00
netgraph fixes for this driver: 2002-11-26 18:30:45 +00:00
netinet MFS: recognize gre packets used in the WCCP protocol. 2002-12-07 14:22:05 +00:00
netinet6 plugged memory leakage in some erroneous cases 2002-10-31 19:45:48 +00:00
netipsec FAST_IPSEC fixups: 2002-11-08 23:37:50 +00:00
netipx Fix a sizeof(int) != sizeof(void *) warning. 2002-11-08 21:16:27 +00:00
netkey
netnatm
netncp - Change mb_copy_t to take a size_t as the length argument instead of an 2002-11-08 21:26:32 +00:00
netns
netsmb fix connecting to (samba) server when share-level security is in effect 2002-12-07 08:28:56 +00:00
nfs
nfsclient reapply 1.26 through 1.28. 2002-11-20 15:21:06 +00:00
nfsserver In the NFSv3 `fsinfo' procedure reply, don't claim that we support 2002-12-05 16:58:11 +00:00
opencrypto correct minor # in make_dev call 2002-11-08 23:07:41 +00:00
pc98 MFi386: revision 1.551. 2002-12-04 15:04:18 +00:00
pccard MFp4: 2002-11-27 06:04:49 +00:00
pci Xircom cards store the MAC address in the CIS, so get it from the new 2002-11-27 07:04:10 +00:00
posix4 Rework the sysconf(3) interaction with aio: 2002-11-17 04:15:34 +00:00
powerpc Under certain circumstances, we were calling kmem_free() from 2002-11-22 23:57:02 +00:00
rpc
security Remove a const that generates a warning: the const isn't strictly 2002-12-04 22:01:03 +00:00
sparc64 Exclude yet more interrupt mapping registers from the OBIO INO search, 2002-12-06 13:16:52 +00:00
sys Remove a race condition / deadlock from snapshots. When 2002-11-30 19:00:51 +00:00
tools
ufs More tightly verify the preference returned for the new inode. 2002-12-06 02:08:46 +00:00
vm Hold the page queues lock when calling pmap_protect(); it updates fields 2002-12-01 18:57:56 +00:00
Makefile