summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/clock.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1998-06-07 20:36:55 +0000
committerphk <phk@FreeBSD.org>1998-06-07 20:36:55 +0000
commit8c3dc868d38f3bd0cfe972fe736d59942d9a2251 (patch)
treee84bebaaf18b9e9e7e2e10003bfd0e527180c8ea /sys/i386/isa/clock.c
parent8ccd49e34b242ceac1a333b2fbd3fc058b29da24 (diff)
downloadFreeBSD-src-8c3dc868d38f3bd0cfe972fe736d59942d9a2251.zip
FreeBSD-src-8c3dc868d38f3bd0cfe972fe736d59942d9a2251.tar.gz
Add a member function more to the timecounters, this one is for use
with latch based PPS implementations. The client that uses it will be committed after more testing.
Diffstat (limited to 'sys/i386/isa/clock.c')
-rw-r--r--sys/i386/isa/clock.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/i386/isa/clock.c b/sys/i386/isa/clock.c
index 9c8e44f..0cc4bc2 100644
--- a/sys/i386/isa/clock.c
+++ b/sys/i386/isa/clock.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)clock.c 7.2 (Berkeley) 5/12/91
- * $Id: clock.c,v 1.121 1998/05/28 09:30:06 phk Exp $
+ * $Id: clock.c,v 1.122 1998/06/07 08:40:23 phk Exp $
*/
/*
@@ -175,6 +175,7 @@ static void set_timer_freq(u_int freq, int intr_freq);
static struct timecounter tsc_timecounter[3] = {
tsc_get_timecount, /* get_timecount */
+ 0, /* no poll_pps */
~0u, /* counter_mask */
0, /* frequency */
"TSC" /* name */
@@ -185,6 +186,7 @@ SYSCTL_OPAQUE(_debug, OID_AUTO, tsc_timecounter, CTLFLAG_RD,
static struct timecounter i8254_timecounter[3] = {
i8254_get_timecount, /* get_timecount */
+ 0, /* no poll_pps */
~0u, /* counter_mask */
0, /* frequency */
"i8254" /* name */
OpenPOWER on IntegriCloud