aboutsummaryrefslogtreecommitdiff
path: root/hw/mc146818rtc_regs.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/mc146818rtc_regs.h')
-rw-r--r--hw/mc146818rtc_regs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/mc146818rtc_regs.h b/hw/mc146818rtc_regs.h
index fc10076ec..ccdee42b3 100644
--- a/hw/mc146818rtc_regs.h
+++ b/hw/mc146818rtc_regs.h
@@ -44,6 +44,10 @@
#define RTC_REG_C 12
#define RTC_REG_D 13
+/* PC cmos mappings */
+#define RTC_CENTURY 0x32
+#define RTC_IBM_PS2_CENTURY_BYTE 0x37
+
#define REG_A_UIP 0x80
#define REG_B_SET 0x80