|
|
1.1 root 1: /* clock.h 4.5 81/02/23 */
2:
3: #define SECDAY ((unsigned)(24*60*60)) /* seconds per day */
4: #define SECYR ((unsigned)(365*SECDAY)) /* per common year */
5:
6: #define YRREF 1970
7: #define LEAPYEAR(year) ((year)%4==0) /* good till time becomes negative */
8:
9: /*
10: * Software clock is software interrupt level 8
11: */
12: #define setsoftclock() mtpr(0x8, SIRR)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.