summaryrefslogtreecommitdiff
path: root/sys/arch/i386/include/psl.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-03-31 17:28:08 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-03-31 17:28:08 +0000
commitff06ce7ce31d14669587c568a2bbfe9aabe76958 (patch)
tree4cb9ca56a9e01a961f25627ab12190b92d12de23 /sys/arch/i386/include/psl.h
parent98f8f6a3489591f25cc90f1ec16423b50da8c63e (diff)
do not let PSL_NT be set in VM86 mode; netbsd
Diffstat (limited to 'sys/arch/i386/include/psl.h')
-rw-r--r--sys/arch/i386/include/psl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/include/psl.h b/sys/arch/i386/include/psl.h
index ed357a93f13..4d54be52499 100644
--- a/sys/arch/i386/include/psl.h
+++ b/sys/arch/i386/include/psl.h
@@ -67,9 +67,9 @@
#define PSL_USERSET (PSL_MBO | PSL_I)
#ifdef VM86
-#define PSL_USERSTATIC (PSL_MBO | PSL_MBZ | PSL_I | PSL_IOPL | PSL_VIF | PSL_VIP)
+#define PSL_USERSTATIC (PSL_MBO | PSL_MBZ | PSL_I | PSL_IOPL | PSL_NT | PSL_VIF | PSL_VIP)
#else
-#define PSL_USERSTATIC (PSL_MBO | PSL_MBZ | PSL_I | PSL_IOPL | PSL_VM | PSL_VIF | PSL_VIP)
+#define PSL_USERSTATIC (PSL_MBO | PSL_MBZ | PSL_I | PSL_IOPL | PSL_NT | PSL_VM | PSL_VIF | PSL_VIP)
#endif
#ifdef _KERNEL