Date: Sat, 16 Aug 2003 01:23:53 -0700 (PDT) From: Poul-Henning Kamp <phk@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: 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 Message-ID: <200308160823.h7G8NrAv045177@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308160823.h7G8NrAv045177>