From: deraadt Date: Mon, 31 Mar 1997 17:28:07 +0000 (+0000) Subject: do not let PSL_NT be set in VM86 mode; netbsd X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=d1ee3cf57f92ac231c339a484cca48c724b3f9af;p=openbsd do not let PSL_NT be set in VM86 mode; netbsd --- 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