diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/pc98/cbus/clock.c | 7 | ||||
-rw-r--r-- | sys/pc98/cbus/pcrtc.c | 7 | ||||
-rw-r--r-- | sys/pc98/pc98/clock.c | 7 |
3 files changed, 15 insertions, 6 deletions
diff --git a/sys/pc98/cbus/clock.c b/sys/pc98/cbus/clock.c index 0ba9a65..2bddae2 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 0ba9a65..2bddae2 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 0ba9a65..2bddae2 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); |