Commit | Line | Data |
---|---|---|
f86df66c | 1 | /* clock.h 3.2 %G% */ |
dc9546ae BJ |
2 | |
3 | /* | |
4 | * VAX clock registers | |
5 | */ | |
6 | ||
7 | #define ICCS_RUN 0x1 | |
8 | #define ICCS_TRANS 0x10 | |
9 | #define ICCS_SS 0x20 | |
10 | #define ICCS_IE 0x40 | |
11 | #define ICCS_INT 0x80 | |
12 | #define ICCS_ERR 0x80000000 | |
13 | ||
14 | /* THIS IS RIDICULOUS */ | |
15 | #define YRCURR 1980 /* current year */ | |
16 | ||
17 | #define YRREF 1970 /* reference year for time */ | |
18 | #define SECHR (60*60) /* seconds/hr */ | |
19 | #define SECDAY (24*SECHR) /* seconds/day */ | |
20 | #define SECYR (365*SECDAY) /* seconds/common year */ |