summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/include/asm.h
diff options
context:
space:
mode:
authorSteve Murphree <smurph@cvs.openbsd.org>2001-12-13 08:55:53 +0000
committerSteve Murphree <smurph@cvs.openbsd.org>2001-12-13 08:55:53 +0000
commit473b535f76f86533ee5e407fe116de57f486b4ab (patch)
tree4f23697fe5a745e7407f507f3b3a3e82e9bd7150 /sys/arch/mvme88k/include/asm.h
parent73fa188e07813a02c13455459ffa53a64e277416 (diff)
Support for MVME197 completed. Fix SPL defs.
Diffstat (limited to 'sys/arch/mvme88k/include/asm.h')
-rw-r--r--sys/arch/mvme88k/include/asm.h27
1 files changed, 21 insertions, 6 deletions
diff --git a/sys/arch/mvme88k/include/asm.h b/sys/arch/mvme88k/include/asm.h
index 811acecee89..cb550dec00a 100644
--- a/sys/arch/mvme88k/include/asm.h
+++ b/sys/arch/mvme88k/include/asm.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: asm.h,v 1.16 2001/11/20 23:55:20 miod Exp $ */
+/* $OpenBSD: asm.h,v 1.17 2001/12/13 08:55:51 smurph Exp $ */
/*
* Mach Operating System
@@ -36,6 +36,11 @@
#define _C_LABEL(name) _/**/name
#endif
+/* Define EH_DEBUG to be non-zero to compile-in various debugging things */
+#ifndef EH_DEBUG
+#define EH_DEBUG 0
+#endif EH_DEBUG
+
#define _ASM_LABEL(name) name
#define _ENTRY(name) \
@@ -209,6 +214,7 @@
#define FLAG_187 9 /* bit number 9 */
#define FLAG_188 10 /* bit number 10 */
#define FLAG_197 11 /* bit number 11 */
+#define FLAG_TBE 12 /* bit number 12 */
/* REGister OFFset into the E.F. (exception frame) */
#define REG_OFF(reg_num) ((reg_num) * 4) /* (num * sizeof(register int)) */
@@ -236,12 +242,21 @@
/*
* Info about the PSR
*/
-#define PSR_SHADOW_FREEZE_BIT 0
-#define PSR_INTERRUPT_DISABLE_BIT 1
-#define PSR_FPU_DISABLE_BIT 3
-#define PSR_BIG_ENDIAN_MODE 30
-#define PSR_SUPERVISOR_MODE_BIT 31
+#define PSR_SHADOW_FREEZE_BIT 0
+#define PSR_INTERRUPT_DISABLE_BIT 1
+#define PSR_FPU_DISABLE_BIT 3
+#define PSR_BIG_ENDIAN_MODE 30
+#define PSR_SUPERVISOR_MODE_BIT 31
+/*
+ * mc88110 PSR bit definitions (MVME197)
+ */
+#define PSR_GRAPHICS_DISABLE_BIT 4
+#define PSR_SERIAL_MODE_BIT 29
+#define PSR_CARRY_BIT 28
+#define PSR_SERIALIZE_BIT 25
+#define DSR_TBE 21
+#define DCTL_MEN 5
/*
* Status bits for an SXIP/SNIP/SFIP address.
*/