diff options
author | kato <kato@FreeBSD.org> | 1998-02-21 15:54:23 +0000 |
---|---|---|
committer | kato <kato@FreeBSD.org> | 1998-02-21 15:54:23 +0000 |
commit | c17813b2b20386b5036d530fbc5fbcf1bf9d8bad (patch) | |
tree | a6ccd996b72ca764eba461bcb474278aab4c2381 /sys/pc98/cbus/pcrtc.c | |
parent | 6356ca310813edc79cfc5f57b99184e920d31cb7 (diff) | |
download | FreeBSD-src-c17813b2b20386b5036d530fbc5fbcf1bf9d8bad.zip FreeBSD-src-c17813b2b20386b5036d530fbc5fbcf1bf9d8bad.tar.gz |
Oops, previous commit was incomplete.
Diffstat (limited to 'sys/pc98/cbus/pcrtc.c')
-rw-r--r-- | sys/pc98/cbus/pcrtc.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/pc98/cbus/pcrtc.c b/sys/pc98/cbus/pcrtc.c index d12727b..fe4281b 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.42 1998/02/13 09:32:17 kato Exp $ + * $Id: clock.c,v 1.43 1998/02/21 15:52:40 kato Exp $ */ /* @@ -152,11 +152,9 @@ static int beeping = 0; static u_int clk_imask = HWI_MASK | SWI_MASK; static const u_char daysinmonth[] = {31,28,31,30,31,30,31,31,30,31,30,31}; static u_int hardclock_max_count; -#ifndef PC98 static u_int32_t i8254_lastcount; static u_int32_t i8254_offset; static int i8254_ticked; -#endif /* * XXX new_function and timer_func should not handle clockframes, but * timer_func currently needs to hold hardclock to handle the @@ -191,9 +189,7 @@ static void rtc_outb __P((int)); #endif static u_int tsc_present; -#ifndef PC98 static u_int64_t i8254_get_timecount __P((void)); -#endif static void set_timer_freq(u_int freq, int intr_freq); static u_int64_t tsc_get_timecount __P((void)); static u_int32_t tsc_get_timedelta __P((struct timecounter *tc)); @@ -984,6 +980,7 @@ inittodr(time_t base) int yd; int year, month; int y, m, s; + struct timespec ts; #ifdef PC98 int second, min, hour; #endif |