cvs commit: src/sys/i386/isa clock.c
Marcel Moolenaar
marcel at FreeBSD.org
Sun Jul 11 10:51:00 PDT 2004
marcel 2004-07-11 17:51:00 UTC
FreeBSD src repository
Modified files:
sys/i386/isa clock.c
Log:
Partially revert previous commit. Calling getit() unconditionally fixed
a problem that could also be fixed differently without reverting previous
attempts to fix DELAY while the debugger is active (rev 1.204). The bug
was that the i8254 implements a countdown timer, while for (k)db_active
a countup timer was implemented. This resulted in premature termination
and consequently the breakage of DELAY. The fix (relative to rev 1.211)
is to implement a countdown timer for the kdb_active case. As such the
ability to step clock initialization is preserved and DELAY does what is
expected of it.
Blushed: bde :-)
Submitted by: bde
Revision Changes Path
1.213 +22 -11 src/sys/i386/isa/clock.c
More information about the cvs-all
mailing list