cvs commit: src/sys/sys timetc.h src/sys/kern kern_tc.c
src/sys/i386/isa clock.c
Scott Long
scottl at freebsd.org
Mon Aug 18 07:56:38 PDT 2003
Poul-Henning Kamp wrote:
> 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
>
My Dell 8200 nows runs its clock at 2x speed. My dmesg reports having
an 8254, TSC, and ACPI-fast counters, with the TSC being wildly variable
from boot to boot.
Scott
More information about the cvs-src
mailing list