summary |
tags |
clone url |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
c0de258)
SCCS-vsn: sys/vax/include/clock.h 4.8
-/* clock.h 4.7 82/09/12 */
+/* clock.h 4.8 82/10/31 */
#define LEAPYEAR(year) ((year)%4==0) /* good till time becomes negative */
/*
#define LEAPYEAR(year) ((year)%4==0) /* good till time becomes negative */
/*
+ * 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)
/*
#define clkwrap() (((unsigned)mfpr(TODR) - TODRZERO)/100 > SECYR+SECDAY)
/*