aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/rtc/files/rtc.h
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2000-04-03 15:28:30 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2000-04-03 15:28:30 +0000
commit3cf900afec2aff896e54b02214e9c9d023d0cd20 (patch)
tree25af9c88375549ba5c87e1b652d23c1871e35a73 /emulators/rtc/files/rtc.h
parent2ce0a6acc58e2d8d3e8f82ba65f623695a526b76 (diff)
This is rtc, a kernel module for /dev/rtc device support.
Some apps such as VMware for Linux would be happy with it. The code was originally written by Vladimir N. Silyaev. Note: It _includes_ Linux ioctl support, but basically it's FreeBSD native stuff. I'm importing this into emulators category for convevience' sake. Check it out.
Diffstat (limited to 'emulators/rtc/files/rtc.h')
-rw-r--r--emulators/rtc/files/rtc.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/emulators/rtc/files/rtc.h b/emulators/rtc/files/rtc.h
new file mode 100644
index 000000000000..d3a151e286e5
--- /dev/null
+++ b/emulators/rtc/files/rtc.h
@@ -0,0 +1,9 @@
+#ifndef RTC_H
+#define RTC_H
+
+
+#define RTCIO_PIE_ON _IO('p', 0x05)
+#define RTCIO_IRQP_SET _IO('p', 0x0c)
+
+#endif /* RTC_H */
+