cvs commit: src/sys/alpha/alpha clock.c
John Baldwin
jhb at FreeBSD.org
Tue Mar 7 13:44:21 PST 2006
jhb 2006-03-07 21:44:20 UTC
FreeBSD src repository
Modified files:
sys/alpha/alpha clock.c
Log:
- Simplify the i8254 timecounter for the alpha since we don't actually have
an interrupt handler for the i8254. (Our clock interrupts come from
elsewhere.) Instead, use the same algo that i386 uses when the lapic
timer is in use. This lets us remove a lot of cruft that tried to handle
the i8254 interrupts that we weren't even using or setting up a handler
for.
- G/C a bunch of unused cruft while I'm here.
- Fix the code to not use the rpcc timecounter (similar to TSC) on SMP
machines to only disable that timecounter if more than one CPU is in
use by the kernel. Previously, a UP kernel on a machine with multiple
CPUs would needlessly disable this timecounter.
MFC after: 1 week
Revision Changes Path
1.43 +12 -97 src/sys/alpha/alpha/clock.c
More information about the cvs-src
mailing list