aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorKATO Takenori <kato@FreeBSD.org>1997-01-04 06:38:46 +0000
committerKATO Takenori <kato@FreeBSD.org>1997-01-04 06:38:46 +0000
commita2aded7b8e93671c2ae7d95672523561ed5cc6d4 (patch)
tree9ac7630e7b66229ef9c2a5538bb69605cd175100 /sys
parentc9246f8baa7d92afaa9b52c7af9b007b87f54661 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/pc98/cbus/clock.c7
-rw-r--r--sys/pc98/cbus/pcrtc.c7
-rw-r--r--sys/pc98/pc98/clock.c7
3 files changed, 15 insertions, 6 deletions
diff --git a/sys/pc98/cbus/clock.c b/sys/pc98/cbus/clock.c
index 0ba9a651bf43..2bddae22c403 100644
--- a/sys/pc98/cbus/clock.c
+++ b/sys/pc98/cbus/clock.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)clock.c 7.2 (Berkeley) 5/12/91
- * $Id: clock.c,v 1.9 1996/10/29 08:36:19 asami Exp $
+ * $Id: clock.c,v 1.10 1996/10/30 22:39:48 asami Exp $
*/
/*
@@ -168,7 +168,10 @@ static u_char timer1_state;
#endif
static u_char timer2_state;
static void (*timer_func) __P((struct clockframe *frame)) = hardclock;
-int rtc_inb __P((void));
+#ifdef PC98
+int rtc_inb __P((void));
+void rtc_outb __P((int));
+#endif
#if defined(I586_CPU) || defined(I686_CPU)
static void set_i586_ctr_freq(u_int i586_freq, u_int i8254_freq);
diff --git a/sys/pc98/cbus/pcrtc.c b/sys/pc98/cbus/pcrtc.c
index 0ba9a651bf43..2bddae22c403 100644
--- a/sys/pc98/cbus/pcrtc.c
+++ b/sys/pc98/cbus/pcrtc.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)clock.c 7.2 (Berkeley) 5/12/91
- * $Id: clock.c,v 1.9 1996/10/29 08:36:19 asami Exp $
+ * $Id: clock.c,v 1.10 1996/10/30 22:39:48 asami Exp $
*/
/*
@@ -168,7 +168,10 @@ static u_char timer1_state;
#endif
static u_char timer2_state;
static void (*timer_func) __P((struct clockframe *frame)) = hardclock;
-int rtc_inb __P((void));
+#ifdef PC98
+int rtc_inb __P((void));
+void rtc_outb __P((int));
+#endif
#if defined(I586_CPU) || defined(I686_CPU)
static void set_i586_ctr_freq(u_int i586_freq, u_int i8254_freq);
diff --git a/sys/pc98/pc98/clock.c b/sys/pc98/pc98/clock.c
index 0ba9a651bf43..2bddae22c403 100644
--- a/sys/pc98/pc98/clock.c
+++ b/sys/pc98/pc98/clock.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)clock.c 7.2 (Berkeley) 5/12/91
- * $Id: clock.c,v 1.9 1996/10/29 08:36:19 asami Exp $
+ * $Id: clock.c,v 1.10 1996/10/30 22:39:48 asami Exp $
*/
/*
@@ -168,7 +168,10 @@ static u_char timer1_state;
#endif
static u_char timer2_state;
static void (*timer_func) __P((struct clockframe *frame)) = hardclock;
-int rtc_inb __P((void));
+#ifdef PC98
+int rtc_inb __P((void));
+void rtc_outb __P((int));
+#endif
#if defined(I586_CPU) || defined(I686_CPU)
static void set_i586_ctr_freq(u_int i586_freq, u_int i8254_freq);