summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/psl.h
diff options
context:
space:
mode:
authorhsu <hsu@FreeBSD.org>1994-02-24 00:21:12 +0000
committerhsu <hsu@FreeBSD.org>1994-02-24 00:21:12 +0000
commitbe26cbadc86ed5fbfb5769a2b5ae5e0b522e3242 (patch)
treee4759ab97887c0fca7428fe389975fc2db620102 /sys/amd64/include/psl.h
parent981a6e72f13459c01528bc28c4a6a2e94e6a44e7 (diff)
downloadFreeBSD-src-be26cbadc86ed5fbfb5769a2b5ae5e0b522e3242.zip
FreeBSD-src-be26cbadc86ed5fbfb5769a2b5ae5e0b522e3242.tar.gz
Correct definitions of flags used by sigreturn to validate sigcontext.
Diffstat (limited to 'sys/amd64/include/psl.h')
-rw-r--r--sys/amd64/include/psl.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/amd64/include/psl.h b/sys/amd64/include/psl.h
index ca56538..997fb23 100644
--- a/sys/amd64/include/psl.h
+++ b/sys/amd64/include/psl.h
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)psl.h 5.2 (Berkeley) 1/18/91
- * $Id: psl.h,v 1.2 1993/10/16 14:39:26 rgrimes Exp $
+ * $Id: psl.h,v 1.3 1993/11/07 17:43:04 wollman Exp $
*/
#ifndef _MACHINE_PSL_H_
@@ -57,9 +57,9 @@
#define PSL_RF 0x00010000 /* restart flag bit */
#define PSL_VM 0x00020000 /* virtual 8086 mode bit */
-#define PSL_MBZ 0xfffc7fb7 /* must be zero bits */
+#define PSL_MBZ 0xffc08028 /* must be zero bits */
#define PSL_MBO 0x00000002 /* must be one bits */
-#define PSL_USERSET (PSL_IOPL)
-#define PSL_USERCLR (PSL_I|PSL_NT)
+#define PSL_USERSET (PSL_MBO | PSL_I)
+#define PSL_USERCLR (PSL_MBZ | PSL_NT)
#endif /* _MACHINE_PSL_H_ */
OpenPOWER on IntegriCloud