summaryrefslogtreecommitdiff
path: root/sys/arch/mvmeppc/include/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/mvmeppc/include/cpu.h')
-rw-r--r--sys/arch/mvmeppc/include/cpu.h28
1 files changed, 27 insertions, 1 deletions
diff --git a/sys/arch/mvmeppc/include/cpu.h b/sys/arch/mvmeppc/include/cpu.h
index c2c4cfe5bbd..92e258169da 100644
--- a/sys/arch/mvmeppc/include/cpu.h
+++ b/sys/arch/mvmeppc/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.7 2004/01/28 23:50:18 miod Exp $ */
+/* $OpenBSD: cpu.h,v 1.8 2004/01/29 21:28:56 miod Exp $ */
/* $NetBSD: cpu.h,v 1.1 1996/09/30 16:34:21 ws Exp $ */
/*
@@ -39,4 +39,30 @@
void install_extint(void (*)(void));
void nvram_map(void);
+/*
+ * CPU Configuration registers (in ISA space)
+ */
+
+#define MVME_CPUCONF_REG 0x0800
+#define MVME_FEATURE_REG 0x0802
+#define MVME_STATUS_REG 0x0803
+#define MVME_SEVENSEG_REG 0x08c0
+
+/* feature bits */
+#define MVME_FEATURE_SCC 0x40
+#define MVME_FEATURE_PMC2 0x20
+#define MVME_FEATURE_PMC1 0x10
+#define MVME_FEATURE_VME 0x08
+#define MVME_FEATURE_GFX 0x04
+#define MVME_FEATURE_LAN 0x02
+#define MVME_FEATURE_SCSI 0x01
+
+/* status values */
+#define MVMETYPE_RESERVED 0xfa
+#define MVMETYPE_2600_712 0xfb
+#define MVMETYPE_2600_761 0xfc
+#define MVMETYPE_3600_712 0xfd
+#define MVMETYPE_3600_761 0xfe
+#define MVMETYPE_1600 0xff
+
#endif /* _MACHINE_CPU_H_ */