aboutsummaryrefslogtreecommitdiff
path: root/sys/i386/include/clock.h
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2003-09-24 15:33:33 +0000
committerWarner Losh <imp@FreeBSD.org>2003-09-24 15:33:33 +0000
commit00dc18b5a81d05592ab4d139b91123d7af22c396 (patch)
treef99d3a5be6b531f3dd943f982679319a82206e53 /sys/i386/include/clock.h
parent3d10572d1a23b4302a0b0d0f9f57ab5eb788119a (diff)
Per TRB vote: restore the aquire_timer0 and associated goo. This will
be gone in FreeBSD 6, so put BURN_BRIDGES around it. The TRB also felt that if something better comes along sooner, it can be used to replace this code. Delayed by: BSDcon and subsequent disk crash.
Notes
Notes: svn path=/head/; revision=120404
Diffstat (limited to 'sys/i386/include/clock.h')
-rw-r--r--sys/i386/include/clock.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/i386/include/clock.h b/sys/i386/include/clock.h
index 6b008161f30c..0192ad11a294 100644
--- a/sys/i386/include/clock.h
+++ b/sys/i386/include/clock.h
@@ -41,6 +41,10 @@ int rtcin(int val);
int acquire_timer1(int mode);
int release_timer1(void);
#endif
+#ifndef BURN_BRIDGES
+int acquire_timer0(int rate, void (*function)(struct clockframe *frame));
+int release_timer0(void);
+#endif
int sysbeep(int pitch, int period);
void timer_restore(void);
void init_TSC(void);