summaryrefslogtreecommitdiff
path: root/sys/arch/mvmeppc/dev/nvramreg.h
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2004-01-28 23:50:20 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2004-01-28 23:50:20 +0000
commit72f4f57ba7a1995800771745b3ea06271cd0b8f5 (patch)
tree696a8a6096628fba20fa6a1673abe0cff44b81ac /sys/arch/mvmeppc/dev/nvramreg.h
parent8c40da6ce09705ba6c14afaae59329b7701bc8f4 (diff)
More clock handling cleanup:
- move clock callbacks outside the firmware structure - map the clock virtual. A bit tricky because it needs to be mapped before autoconf... - compensate for the removal of 1:1 segment 8 mapping
Diffstat (limited to 'sys/arch/mvmeppc/dev/nvramreg.h')
-rw-r--r--sys/arch/mvmeppc/dev/nvramreg.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/sys/arch/mvmeppc/dev/nvramreg.h b/sys/arch/mvmeppc/dev/nvramreg.h
index 0ea3e1873e1..86769c4f801 100644
--- a/sys/arch/mvmeppc/dev/nvramreg.h
+++ b/sys/arch/mvmeppc/dev/nvramreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: nvramreg.h,v 1.2 2003/06/02 23:27:53 millert Exp $ */
+/* $OpenBSD: nvramreg.h,v 1.3 2004/01/28 23:50:17 miod Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -59,9 +59,12 @@
* 1ff8-1fff TOD clock
*/
-#define NVRAM_S0 0x80000074
-#define NVRAM_S1 0x80000075
-#define NVRAM_DATA 0x80000077
+#define NVRAM_PA 0x80000000
+#define NVRAM_SIZE 0x2000
+
+#define NVRAM_S0 0x00000074
+#define NVRAM_S1 0x00000075
+#define NVRAM_DATA 0x00000077
#define RTC_SECONDS 0x1FF9
#define RTC_MINUTES 0x1FFA