From: Bill Joy Date: Fri, 9 Nov 1990 12:02:59 +0000 (-0800) Subject: date and time created 90/11/08 20:02:59 by bill X-Git-Tag: BSD-4_3_Reno-Snapshot-Development~238 X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/commitdiff_plain/a1810a6de798c341140249c2f2632cdefc56a38d?ds=inline date and time created 90/11/08 20:02:59 by bill SCCS-vsn: sys/i386/isa/rtc.h 1.1 --- diff --git a/usr/src/sys/i386/isa/rtc.h b/usr/src/sys/i386/isa/rtc.h new file mode 100644 index 0000000000..f6c6c46852 --- /dev/null +++ b/usr/src/sys/i386/isa/rtc.h @@ -0,0 +1,21 @@ +/* + * @(#)rtc.h 1.1 (Berkeley) %G% + * RTC Register locations + */ + +#define RTC_SEC 0x00 /* seconds */ +#define RTC_SECALRM 0x01 /* seconds alarm */ +#define RTC_MIN 0x02 /* minutes */ +#define RTC_MINALRM 0x03 /* minutes alarm */ +#define RTC_HRS 0x04 /* hours */ +#define RTC_HRSALRM 0x05 /* hours alarm */ +#define RTC_WDAY 0x06 /* week day */ +#define RTC_DAY 0x07 /* day of month */ +#define RTC_MONTH 0x08 /* month of year */ +#define RTC_YEAR 0x09 /* month of year */ +#define RTC_STATUSA 0x0a /* status register A */ + +#define RTC_BASELO 0x15 /* low byte of basemem size */ +#define RTC_BASEHI 0x16 /* high byte of basemem size */ +#define RTC_EXTLO 0x17 /* low byte of extended mem size */ +#define RTC_EXTHI 0x18 /* low byte of extended mem size */