From d21d43024b3469d56b6f23495693079453b9e232 Mon Sep 17 00:00:00 2001 From: Bill Joy Date: Sun, 31 Oct 1982 23:31:10 -0800 Subject: [PATCH] move clkstart macro into clock.c, where clock code is now SCCS-vsn: sys/vax/include/clock.h 4.8 --- usr/src/sys/vax/include/clock.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/usr/src/sys/vax/include/clock.h b/usr/src/sys/vax/include/clock.h index 6f2cf839e4..b204953991 100644 --- a/usr/src/sys/vax/include/clock.h +++ b/usr/src/sys/vax/include/clock.h @@ -1,4 +1,4 @@ -/* clock.h 4.7 82/09/12 */ +/* clock.h 4.8 82/10/31 */ /* * VAX clock registers @@ -23,12 +23,8 @@ #define LEAPYEAR(year) ((year)%4==0) /* good till time becomes negative */ /* - * Start a 60 HZ clock. + * Has the time-of-day clock wrapped around? */ -#define clkstart() {\ - mtpr(NICR, -1000000/hz); /* 10 milli-seconds */\ - mtpr(ICCS, ICCS_RUN+ICCS_IE+ICCS_TRANS+ICCS_INT+ICCS_ERR);\ -} #define clkwrap() (((unsigned)mfpr(TODR) - TODRZERO)/100 > SECYR+SECDAY) /* -- 2.20.1