summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/include
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2018-07-09 19:20:31 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2018-07-09 19:20:31 +0000
commit27eefd436e22ecc112acc2c63b42faa6c26b1e1d (patch)
tree90b9a41a09e5c7564289bf243df494abe5362c48 /sys/arch/amd64/include
parent774b2ee6ca176f6d7eb5da9ebaf761218b71dbfa (diff)
Delete the VM86 kernel option and i386_vm86(3) API: it's required
a custom kernel for over 20 years. testing mlarkin@ ok deraadt@ phessler@ jca@ matthieu@
Diffstat (limited to 'sys/arch/amd64/include')
-rw-r--r--sys/arch/amd64/include/psl.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/arch/amd64/include/psl.h b/sys/arch/amd64/include/psl.h
index c409bc18e97..436f3b50b64 100644
--- a/sys/arch/amd64/include/psl.h
+++ b/sys/arch/amd64/include/psl.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: psl.h,v 1.4 2011/03/23 16:54:34 pirofti Exp $ */
+/* $OpenBSD: psl.h,v 1.5 2018/07/09 19:20:29 guenther Exp $ */
/* $NetBSD: psl.h,v 1.1 2003/02/26 21:26:11 fvdl Exp $ */
/*-
@@ -63,11 +63,7 @@
#define PSL_MBZ 0xffc08028 /* must be zero bits */
#define PSL_USERSET (PSL_MBO | PSL_I)
-#ifdef VM86
-#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_NT | PSL_VM | PSL_VIF | PSL_VIP)
-#endif
#define PSL_USER (PSL_C | PSL_MBO | PSL_PF | PSL_AF | PSL_Z | PSL_N | PSL_V)
/*