xref: /original-bsd/sys/i386/isa/rtc.h (revision e0c0d005)
1 /*
2  * @(#)rtc.h	1.1 (Berkeley) 11/08/90
3  * RTC Register locations
4  */
5 
6 #define RTC_SEC		0x00	/* seconds */
7 #define RTC_SECALRM	0x01	/* seconds alarm */
8 #define RTC_MIN		0x02	/* minutes */
9 #define RTC_MINALRM	0x03	/* minutes alarm */
10 #define RTC_HRS		0x04	/* hours */
11 #define RTC_HRSALRM	0x05	/* hours alarm */
12 #define RTC_WDAY	0x06	/* week day */
13 #define RTC_DAY		0x07	/* day of month */
14 #define RTC_MONTH	0x08	/* month of year */
15 #define RTC_YEAR	0x09	/* month of year */
16 #define RTC_STATUSA	0x0a	/* status register A */
17 
18 #define RTC_BASELO	0x15	/* low byte of basemem size */
19 #define RTC_BASEHI	0x16	/* high byte of basemem size */
20 #define RTC_EXTLO	0x17	/* low byte of extended mem size */
21 #define RTC_EXTHI	0x18	/* low byte of extended mem size */
22