summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/conf/files.amd64
diff options
context:
space:
mode:
authorMike Belopuhov <mikeb@cvs.openbsd.org>2017-10-06 13:33:54 +0000
committerMike Belopuhov <mikeb@cvs.openbsd.org>2017-10-06 13:33:54 +0000
commita7b6bd638fbf15f75141aef63f6c596af53724bf (patch)
tree71c87ce5dd424dc4ecb2bfa3b5a68a980a9ccd56 /sys/arch/amd64/conf/files.amd64
parent85f7eb3b0d5b7b1427f51ed23f603b9456f4e260 (diff)
Recalibrate TSC timecounter with HPET and PM timer
If frequency of an invariant (non-stop) time stamp counter is measured using an independent working timecounter that has a known frequency, we can assume that the measured TSC frequency is as good as the resolution of the timecounter that we use to perform the measurement. This lets us switch from this high quality but expensive source to the cheaper TSC without sacrificing precision on a wide range of modern CPUs. From Adam Steen <adam@adamsteen.com.au> with tweaks from reyk@ and myself. Tested by brynet@, sthen@ and others, OK mlarkin, sthen
Diffstat (limited to 'sys/arch/amd64/conf/files.amd64')
-rw-r--r--sys/arch/amd64/conf/files.amd643
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/amd64/conf/files.amd64 b/sys/arch/amd64/conf/files.amd64
index bfbd6153d7a..546ca9c9f6b 100644
--- a/sys/arch/amd64/conf/files.amd64
+++ b/sys/arch/amd64/conf/files.amd64
@@ -1,4 +1,4 @@
-# $OpenBSD: files.amd64,v 1.89 2017/05/31 19:18:19 deraadt Exp $
+# $OpenBSD: files.amd64,v 1.90 2017/10/06 13:33:53 mikeb Exp $
maxpartitions 16
maxusers 2 16 128
@@ -10,6 +10,7 @@ file arch/amd64/amd64/gdt.c multiprocessor
file arch/amd64/amd64/machdep.c
file arch/amd64/amd64/hibernate_machdep.c hibernate
file arch/amd64/amd64/identcpu.c
+file arch/amd64/amd64/tsc.c
file arch/amd64/amd64/via.c
file arch/amd64/amd64/locore.S
file arch/amd64/amd64/aes_intel.S crypto