summaryrefslogtreecommitdiff
path: root/sys/arch/pmax/include/cpuregs.h
diff options
context:
space:
mode:
authorThomas Graichen <graichen@cvs.openbsd.org>1997-06-10 14:19:04 +0000
committerThomas Graichen <graichen@cvs.openbsd.org>1997-06-10 14:19:04 +0000
commitd78c3e0c4b3482bcc998de4d120c74e31c5728c5 (patch)
tree754f54a7fa91cec3cf438faf03da90ac55300610 /sys/arch/pmax/include/cpuregs.h
parentc1f2151f781958b5795a8828cd42b912f0e0f197 (diff)
update the pmax specific stuff to NetBSD-current as of about 970608 - some
cosmetic things will follow together with an update to an exact NETBSD_CU- RRENT_xxxxxx level
Diffstat (limited to 'sys/arch/pmax/include/cpuregs.h')
-rw-r--r--sys/arch/pmax/include/cpuregs.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/sys/arch/pmax/include/cpuregs.h b/sys/arch/pmax/include/cpuregs.h
index f446b79de00..a5f197211e0 100644
--- a/sys/arch/pmax/include/cpuregs.h
+++ b/sys/arch/pmax/include/cpuregs.h
@@ -587,4 +587,18 @@
#define VMMACH_TLB_FOUND_WITH_PATCH 2
#define VMMACH_TLB_PROBE_ERROR 3
+/* TTTTT - stuff from NetBSD mips cpuregs.h */
+/*
+ * nesting interrupt masks.
+ */
+#define MACH_INT_MASK_SPL_SOFT0 MACH_SOFT_INT_MASK_0
+#define MACH_INT_MASK_SPL_SOFT1 (MACH_SOFT_INT_MASK_1|MACH_INT_MASK_SPL_SOFT0)
+#define MACH_INT_MASK_SPL0 (MACH_INT_MASK_0|MACH_INT_MASK_SPL_SOFT1)
+#define MACH_INT_MASK_SPL1 (MACH_INT_MASK_1|MACH_INT_MASK_SPL0)
+#define MACH_INT_MASK_SPL2 (MACH_INT_MASK_2|MACH_INT_MASK_SPL1)
+#define MACH_INT_MASK_SPL3 (MACH_INT_MASK_3|MACH_INT_MASK_SPL2)
+#define MACH_INT_MASK_SPL4 (MACH_INT_MASK_4|MACH_INT_MASK_SPL3)
+#define MACH_INT_MASK_SPL5 (MACH_INT_MASK_5|MACH_INT_MASK_SPL4)
+/* TTTTT - end of stuff from NetBSD mips cpuregs.h */
+
#endif /* _MACHCONST */