summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/clock.h
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1996-03-31 04:05:36 +0000
committerbde <bde@FreeBSD.org>1996-03-31 04:05:36 +0000
commitb26bbde39abed59833a579d4dc9ef2c51c4ae0aa (patch)
tree593fa91693fefd4a4c0ff91c25c705e7554e493d /sys/i386/include/clock.h
parent20ef589c863a5318deea9fcbefdfa88744a4ea4e (diff)
downloadFreeBSD-src-b26bbde39abed59833a579d4dc9ef2c51c4ae0aa.zip
FreeBSD-src-b26bbde39abed59833a579d4dc9ef2c51c4ae0aa.tar.gz
Moved rtcin() to clock.c.
Always delay using one inb(0x84) after each i/o in rtcin() - don't do this conditional on the bogus option DUMMY_NOPS not being defined. If you want an optionally slightly faster rtcin() again, then inline it and use a better named option or sysctl variable. It only needs to be fast in rtcintr().
Diffstat (limited to 'sys/i386/include/clock.h')
-rw-r--r--sys/i386/include/clock.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/i386/include/clock.h b/sys/i386/include/clock.h
index 8671311..f7ba36e95 100644
--- a/sys/i386/include/clock.h
+++ b/sys/i386/include/clock.h
@@ -3,7 +3,7 @@
* Garrett Wollman, September 1994.
* This file is in the public domain.
*
- * $Id: clock.h,v 1.8 1995/12/24 08:10:49 davidg Exp $
+ * $Id: clock.h,v 1.9 1996/01/30 18:56:24 wollman Exp $
*/
#ifndef _MACHINE_CLOCK_H_
@@ -95,6 +95,7 @@ int acquire_timer0 __P((int rate,
int acquire_timer2 __P((int mode));
int release_timer0 __P((void));
int release_timer2 __P((void));
+int rtcin __P((int val));
int sysbeep __P((int pitch, int period));
#endif /* KERNEL && !LOCORE */
OpenPOWER on IntegriCloud