diff options
author | kato <kato@FreeBSD.org> | 1998-06-07 09:51:08 +0000 |
---|---|---|
committer | kato <kato@FreeBSD.org> | 1998-06-07 09:51:08 +0000 |
commit | a34566b534bc02b66f0cad9280b0191947d6c721 (patch) | |
tree | 3bbfac82a047dc4de20fa5bd54d6014cb893a691 /sys/pc98/cbus | |
parent | 19aada20841e80ea382a04c0f7cf480d899ba74d (diff) | |
download | FreeBSD-src-a34566b534bc02b66f0cad9280b0191947d6c721.zip FreeBSD-src-a34566b534bc02b66f0cad9280b0191947d6c721.tar.gz |
Sync with sys/i386/isa/clock.c revision 1.122.
Diffstat (limited to 'sys/pc98/cbus')
-rw-r--r-- | sys/pc98/cbus/clock.c | 10 | ||||
-rw-r--r-- | sys/pc98/cbus/pcrtc.c | 10 |
2 files changed, 10 insertions, 10 deletions
diff --git a/sys/pc98/cbus/clock.c b/sys/pc98/cbus/clock.c index 8130749..8d55bb8 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.54 1998/05/20 13:38:42 kato Exp $ + * $Id: clock.c,v 1.55 1998/05/28 13:51:39 kato Exp $ */ /* @@ -194,8 +194,8 @@ static void rtc_outb __P((int)); #endif static u_int tsc_present; -static unsigned i8254_get_timecount __P((void)); -static unsigned tsc_get_timecount __P((void)); +static unsigned i8254_get_timecount __P((struct timecounter *tc)); +static unsigned tsc_get_timecount __P((struct timecounter *tc)); static void set_timer_freq(u_int freq, int intr_freq); static struct timecounter tsc_timecounter[3] = { @@ -1408,7 +1408,7 @@ SYSCTL_PROC(_machdep, OID_AUTO, tsc_freq, CTLTYPE_INT | CTLFLAG_RW, 0, sizeof(u_int), sysctl_machdep_tsc_freq, "I", ""); static unsigned -i8254_get_timecount(void) +i8254_get_timecount(struct timecounter *tc) { u_int count; u_long ef; @@ -1437,7 +1437,7 @@ i8254_get_timecount(void) } static unsigned -tsc_get_timecount(void) +tsc_get_timecount(struct timecounter *tc) { return (rdtsc()); } diff --git a/sys/pc98/cbus/pcrtc.c b/sys/pc98/cbus/pcrtc.c index 8130749..8d55bb8 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.54 1998/05/20 13:38:42 kato Exp $ + * $Id: clock.c,v 1.55 1998/05/28 13:51:39 kato Exp $ */ /* @@ -194,8 +194,8 @@ static void rtc_outb __P((int)); #endif static u_int tsc_present; -static unsigned i8254_get_timecount __P((void)); -static unsigned tsc_get_timecount __P((void)); +static unsigned i8254_get_timecount __P((struct timecounter *tc)); +static unsigned tsc_get_timecount __P((struct timecounter *tc)); static void set_timer_freq(u_int freq, int intr_freq); static struct timecounter tsc_timecounter[3] = { @@ -1408,7 +1408,7 @@ SYSCTL_PROC(_machdep, OID_AUTO, tsc_freq, CTLTYPE_INT | CTLFLAG_RW, 0, sizeof(u_int), sysctl_machdep_tsc_freq, "I", ""); static unsigned -i8254_get_timecount(void) +i8254_get_timecount(struct timecounter *tc) { u_int count; u_long ef; @@ -1437,7 +1437,7 @@ i8254_get_timecount(void) } static unsigned -tsc_get_timecount(void) +tsc_get_timecount(struct timecounter *tc) { return (rdtsc()); } |