Make the phase synchronization of the hz clock interrupt (I8254 timer0)
authorMatthew Dillon <dillon@dragonflybsd.org>
Thu, 8 Jan 2004 08:11:12 +0000 (08:11 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Thu, 8 Jan 2004 08:11:12 +0000 (08:11 +0000)
commitb505872fe545ea24ba3d57c0f5c8a459d9eaecc4
tree98885d4b98ad6acb3a87954ad50e214b41dae999
parent2689779e36429073be9c4f7946be674d8f6de147
Make the phase synchronization of the hz clock interrupt (I8254 timer0)
to the timecounter more generic.  This will work with all time counters
as long as the 8254's crystal isn't to terribly off, but it could take a
few minutes for the computer to lock the phase after boot.  I'm being
conservative here and do not want to skew the clock interrupt too much.

Tested by: Paul Herman <pherman@frenchfries.net>
sys/i386/isa/clock.c
sys/platform/pc32/isa/clock.c