cvs commit: src/sys/sys timetc.h src/sys/kern kern_tc.c
src/sys/dev/acpica acpi_timer.c src/sys/i386/i386 tsc.c
src/sys/i386/isa clock.c
Poul-Henning Kamp
phk at FreeBSD.org
Sat Aug 16 01:23:54 PDT 2003
phk 2003/08/16 01:23:53 PDT
FreeBSD src repository
Modified files:
sys/sys timetc.h
sys/kern kern_tc.c
sys/dev/acpica acpi_timer.c
sys/i386/i386 tsc.c
sys/i386/isa clock.c
Log:
Give timecounters a numeric quality field.
A timecounter will be selected when registered if its quality is
not negative and no less than the current timecounters.
Add a sysctl to report all available timecounters and their qualities.
Give the dummy timecounter a solid negative quality of minus a million.
Give the i8254 zero and the ACPI 1000.
The TSC gets 800, unless APM or SMP forces it negative.
Other timecounters default to zero quality and thereby retain current
selection behaviour.
Revision Changes Path
1.23 +6 -5 src/sys/dev/acpica/acpi_timer.c
1.202 +16 -18 src/sys/i386/i386/tsc.c
1.203 +2 -1 src/sys/i386/isa/clock.c
1.154 +35 -8 src/sys/kern/kern_tc.c
1.58 +7 -0 src/sys/sys/timetc.h
More information about the cvs-src
mailing list