aboutsummaryrefslogtreecommitdiff
path: root/sys/i386/include/clock.h
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2007-10-26 03:23:54 +0000
committerPeter Wemm <peter@FreeBSD.org>2007-10-26 03:23:54 +0000
commitd5566384042fa631ffe7916fd89bcb4669ad12a7 (patch)
treef39a0a61a976bda4b6ff5fcbced8330ff0a6dc72 /sys/i386/include/clock.h
parent47e87d5ad0424957bbe316a7a2edb58473bb905a (diff)
downloadsrc-d5566384042fa631ffe7916fd89bcb4669ad12a7.tar.gz
src-d5566384042fa631ffe7916fd89bcb4669ad12a7.zip
Split /dev/nvram driver out of isa/clock.c for i386 and amd64. I have not
refactored it to be a generic device. Instead of being part of the standard kernel, there is now a 'nvram' device for i386/amd64. It is in DEFAULTS like io and mem, and can be turned off with 'nodevice nvram'. This matches the previous behavior when it was first committed.
Notes
Notes: svn path=/head/; revision=172998
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 a91b25248735..9bdd421bf186 100644
--- a/sys/i386/include/clock.h
+++ b/sys/i386/include/clock.h
@@ -31,7 +31,8 @@ void i8254_init(void);
int acquire_timer2(int mode);
int release_timer2(void);
-int rtcin(int val);
+int rtcin(int reg);
+void writertc(int reg, unsigned char val);
int sysbeep(int pitch, int period);
void timer_restore(void);
void init_TSC(void);