summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/clock.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2003-09-22 23:02:24 +0000
committerpeter <peter@FreeBSD.org>2003-09-22 23:02:24 +0000
commitc84d9c49c6280a7917ff6ac20db85d5aaf08a757 (patch)
tree451d2ed3647eb62e26bcc6c88e3eccd0aba54760 /sys/amd64/include/clock.h
parent8e309595b17be145649211aa7c810f8c63d1df47 (diff)
downloadFreeBSD-src-c84d9c49c6280a7917ff6ac20db85d5aaf08a757.zip
FreeBSD-src-c84d9c49c6280a7917ff6ac20db85d5aaf08a757.tar.gz
MFi386 machdep.c rev 1.201, clock.c 1.201, clock.h 1.45 by phk: Dont
initialize a TSC timecounter until we know if it is broke or not. XXX I think there is a bug in the i386 code here. init_TSC_tc() comes after: if (statclock_disable) return; ie: if you turn off the statclock interrupt, you dont get the TSC either.
Diffstat (limited to 'sys/amd64/include/clock.h')
-rw-r--r--sys/amd64/include/clock.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/amd64/include/clock.h b/sys/amd64/include/clock.h
index 511780f..24d5bc0 100644
--- a/sys/amd64/include/clock.h
+++ b/sys/amd64/include/clock.h
@@ -37,6 +37,7 @@ int release_timer2(void);
int rtcin(int val);
int sysbeep(int pitch, int period);
void init_TSC(void);
+void init_TSC_tc(void);
#endif /* _KERNEL */
OpenPOWER on IntegriCloud