freebsd-dev/sys/isa
bde 8e8a039a04 Guard against the i8254 timer being uninitialzed if DELAY() is
called early for console i/o.  The timer is usually in BIOS mode
if it isn't explicitly initialized.  Then it counts twice as fast
and has a max count of 65535 instead of 11932.  The larger count
tended to cause infinite loops for delays of > 20 us.  Such delays
are rare.  For syscons and kbdio, DELAY() is only called early
enough to matter for ddb input after booting with -d, and the delay
is too small to matter (and too small to be correct) except in the
PC98 case.  For pcvt, DELAY() is not used for small delays (pcvt
uses its own broken routine instead of the standard broken one),
but some versions call DELAY() with a large arg when they unnecessarily
initialize the keyboard for doing console output.  The problem is
more serious for pcvt because there is always some early console
output.

Guard against the i8254 timer being partially or incorrectly
initialized.  This would have prevented the endless loop.

Should be in 2.2.
1997-01-16 18:28:20 +00:00
..
ic Make the long-awaited change from $Id$ to $FreeBSD$ 1997-01-14 07:20:47 +00:00
atrtc.c Guard against the i8254 timer being uninitialzed if DELAY() is 1997-01-16 18:28:20 +00:00
fd.c Make the long-awaited change from $Id$ to $FreeBSD$ 1997-01-14 07:20:47 +00:00
fdc.h Make the long-awaited change from $Id$ to $FreeBSD$ 1997-01-14 07:20:47 +00:00
fdreg.h Make the long-awaited change from $Id$ to $FreeBSD$ 1997-01-14 07:20:47 +00:00
joy.c Updated #includes to 4.4Lite style. 1996-09-10 08:32:01 +00:00
kbdio.c - Modified for PC-98. 1997-01-16 14:56:16 +00:00
kbdio.h Upgrade the kbdio rutines to provide queued kbd & mouse events. 1997-01-15 18:16:32 +00:00
kbdtables.h Make the long-awaited change from $Id$ to $FreeBSD$ 1997-01-14 07:20:47 +00:00
rtc.h Make the long-awaited change from $Id$ to $FreeBSD$ 1997-01-14 07:20:47 +00:00
sio.c Make the long-awaited change from $Id$ to $FreeBSD$ 1997-01-14 07:20:47 +00:00
sioreg.h Make the long-awaited change from $Id$ to $FreeBSD$ 1997-01-14 07:20:47 +00:00
syscons.c Upgrade the kbdio rutines to provide queued kbd & mouse events. 1997-01-15 18:16:32 +00:00
syscons.h Upgrade the kbdio rutines to provide queued kbd & mouse events. 1997-01-15 18:16:32 +00:00
timerreg.h Make the long-awaited change from $Id$ to $FreeBSD$ 1997-01-14 07:20:47 +00:00