add instruction to trampoline code
[unix-history] / usr / src / sys / vax / include / clock.h
index fbdd205..3c7913a 100644 (file)
@@ -1,4 +1,4 @@
-/*     clock.h 4.6     82/09/04        */
+/*     clock.h 6.1     83/07/29        */
 
 /*
  * VAX clock registers
 
 /*
  * VAX clock registers
 #define        LEAPYEAR(year)  ((year)%4==0)   /* good till time becomes negative */
 
 /*
 #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, -16667);     /* 16.667 milli-seconds */\
-       mtpr(ICCS, ICCS_RUN+ICCS_IE+ICCS_TRANS+ICCS_INT+ICCS_ERR);\
-}
 #define        clkwrap()       (((unsigned)mfpr(TODR) - TODRZERO)/100 > SECYR+SECDAY)
 
 /*
 #define        clkwrap()       (((unsigned)mfpr(TODR) - TODRZERO)/100 > SECYR+SECDAY)
 
 /*