xref: /csrg-svn/sys/vax/include/clock.h (revision 51)
1*51Sbill /*	clock.h	3.1	10/14/12	*/
2*51Sbill 
3*51Sbill /*
4*51Sbill  * VAX clock registers
5*51Sbill  */
6*51Sbill 
7*51Sbill #define	ICCS_RUN	0x1
8*51Sbill #define	ICCS_TRANS	0x10
9*51Sbill #define	ICCS_SS		0x20
10*51Sbill #define	ICCS_IE		0x40
11*51Sbill #define	ICCS_INT	0x80
12*51Sbill #define	ICCS_ERR	0x80000000
13*51Sbill 
14*51Sbill /* THIS IS RIDICULOUS */
15*51Sbill #define	YRCURR	1980		/* current year */
16*51Sbill 
17*51Sbill #define	YRREF	1970		/* reference year for time */
18*51Sbill #define	SECHR	(60*60)		/* seconds/hr */
19*51Sbill #define	SECDAY	(24*SECHR)	/* seconds/day */
20*51Sbill #define	SECYR	(365*SECDAY)	/* seconds/common year */
21