Signed-off-by: Helge Deller deller@gmx.de --- src/hw/rtc.h | 7 +++++++ 1 file changed, 7 insertions(+)
diff --git a/src/hw/rtc.h b/src/hw/rtc.h index 252e73a..7bacc49 100644 --- a/src/hw/rtc.h +++ b/src/hw/rtc.h @@ -1,8 +1,15 @@ #ifndef __RTC_H #define __RTC_H
+#if CONFIG_X86 #define PORT_CMOS_INDEX 0x0070 #define PORT_CMOS_DATA 0x0071 +#elif CONFIG_PARISC +#include "parisc/hppa_hardware.h" +#define PORT_CMOS_INDEX (IDE_HPA+0x0070) +#define PORT_CMOS_DATA (IDE_HPA+0x0071) +#endif +
// PORT_CMOS_INDEX nmi disable bit #define NMI_DISABLE_BIT 0x80 -- 2.29.2