summaryrefslogtreecommitdiff
path: root/sys/amd64
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1998-06-07 08:40:53 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1998-06-07 08:40:53 +0000
commitdbb347550796e6ffda040640029030e56931a32b (patch)
tree3100952f63d180561ee495ad0ee59f35ac2fd522 /sys/amd64
parentc22130cd33cb19c91a2a47cc249053d81fafee38 (diff)
Notes
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/amd64/tsc.c10
-rw-r--r--sys/amd64/isa/clock.c10
2 files changed, 10 insertions, 10 deletions
diff --git a/sys/amd64/amd64/tsc.c b/sys/amd64/amd64/tsc.c
index 671a3be268c0..9c8e44f29f2a 100644
--- a/sys/amd64/amd64/tsc.c
+++ b/sys/amd64/amd64/tsc.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)clock.c 7.2 (Berkeley) 5/12/91
- * $Id: clock.c,v 1.120 1998/05/19 18:48:30 phk Exp $
+ * $Id: clock.c,v 1.121 1998/05/28 09:30:06 phk Exp $
*/
/*
@@ -169,8 +169,8 @@ static u_char timer2_state;
static void (*timer_func) __P((struct clockframe *frame)) = hardclock;
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] = {
@@ -1130,7 +1130,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;
@@ -1159,7 +1159,7 @@ i8254_get_timecount(void)
}
static unsigned
-tsc_get_timecount(void)
+tsc_get_timecount(struct timecounter *tc)
{
return (rdtsc());
}
diff --git a/sys/amd64/isa/clock.c b/sys/amd64/isa/clock.c
index 671a3be268c0..9c8e44f29f2a 100644
--- a/sys/amd64/isa/clock.c
+++ b/sys/amd64/isa/clock.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)clock.c 7.2 (Berkeley) 5/12/91
- * $Id: clock.c,v 1.120 1998/05/19 18:48:30 phk Exp $
+ * $Id: clock.c,v 1.121 1998/05/28 09:30:06 phk Exp $
*/
/*
@@ -169,8 +169,8 @@ static u_char timer2_state;
static void (*timer_func) __P((struct clockframe *frame)) = hardclock;
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] = {
@@ -1130,7 +1130,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;
@@ -1159,7 +1159,7 @@ i8254_get_timecount(void)
}
static unsigned
-tsc_get_timecount(void)
+tsc_get_timecount(struct timecounter *tc)
{
return (rdtsc());
}