summaryrefslogtreecommitdiffstats
path: root/sys/isa/rtc.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/isa/rtc.h')
-rw-r--r--sys/isa/rtc.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys/isa/rtc.h b/sys/isa/rtc.h
index 35bef94..c802b0b 100644
--- a/sys/isa/rtc.h
+++ b/sys/isa/rtc.h
@@ -110,4 +110,15 @@
#define RTC_EXTHI 0x18 /* low byte of extended mem size */
#define RTC_CENTURY 0x32 /* current century */
+
+#ifdef _KERNEL
+extern struct mtx clock_lock;
+int rtcin(int reg);
+void atrtc_start(void);
+void atrtc_rate(unsigned rate);
+void atrtc_enable_intr(void);
+void atrtc_restore(void);
+void writertc(int reg, u_char val);
+#endif
+
#endif /* _I386_ISA_RTC_H_ */
OpenPOWER on IntegriCloud