Subject: CVS commit: src/sys/arch
To: None <>
From: Joerg Sonnenberger <>
List: source-changes
Date: 12/03/2007 22:17:28
Module Name:	src
Committed By:	joerg
Date:		Mon Dec  3 22:17:28 UTC 2007

Modified Files:
	src/sys/arch/amd64/include: cpu.h
	src/sys/arch/i386/include: cpu.h
	src/sys/arch/x86/x86: lapic.c

Log Message:
Add a CPU local timer based on the LAPIC. This is consistently faster
than TSC, but doesn't suffer from SpeedStep as TSC does.

The default quality is higher than HPET for UP, but -100 for
MULTIPROCESSOR as it needs CPU local state which doesn't exist yet.

To generate a diff of this commit:
cvs rdiff -r1.33 -r1.34 src/sys/arch/amd64/include/cpu.h
cvs rdiff -r1.150 -r1.151 src/sys/arch/i386/include/cpu.h
cvs rdiff -r1.27 -r1.28 src/sys/arch/x86/x86/lapic.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.