summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/include/psl.h
diff options
context:
space:
mode:
authorSteve Murphree <smurph@cvs.openbsd.org>1999-02-09 06:36:31 +0000
committerSteve Murphree <smurph@cvs.openbsd.org>1999-02-09 06:36:31 +0000
commita57803c95c08dbdb30356100d3b94c219d5c46cb (patch)
tree797d6906b97d2f70dbabbc79151496c303e85e93 /sys/arch/mvme88k/include/psl.h
parent93a73fb959e9887211b761afd3c887abd096e3ff (diff)
Added kernel support for user debugging. Fixed file ID's
Diffstat (limited to 'sys/arch/mvme88k/include/psl.h')
-rw-r--r--sys/arch/mvme88k/include/psl.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/arch/mvme88k/include/psl.h b/sys/arch/mvme88k/include/psl.h
index 9205c933d00..98112abfb8f 100644
--- a/sys/arch/mvme88k/include/psl.h
+++ b/sys/arch/mvme88k/include/psl.h
@@ -1,3 +1,4 @@
+/* $OpenBSD: psl.h,v 1.4 1999/02/09 06:36:27 smurph Exp $ */
/*
* Copyright (c) 1996 Nivas Madhur
* All rights reserved.
@@ -110,16 +111,23 @@ above...
/*
* processor status register
*/
+#ifndef PSR_MODE
#define PSR_MODE 0x80000000U /* supervisor/user mode */
+#endif
#define PSR_BO 0x40000000U /* byte-ordering 0:big 1:little */
#define PSR_SER 0x20000000U /* serial mode */
#define PSR_C 0x10000000U /* carry */
#define PSR_SFD 0x000003F0U /* SFU disable */
#define PSR_SFD1 0x00000008U /* SFU1 (FPU) disable */
+#ifndef PSR_MXM
#define PSR_MXM 0x00000004U /* misaligned access enable */
+#endif
+#ifndef PSR_IND
#define PSR_IND 0x00000002U /* interrupt disable */
+#endif
+#ifndef PSR_SFRZ
#define PSR_SFRZ 0x00000001U /* shadow freeze */
-
+#endif
/*
* This is used in ext_int() and hard_clock().
*/