summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2015-06-07 08:11:51 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2015-06-07 08:11:51 +0000
commit72a31feccdb62abb9103db87f442e32d13dc49a6 (patch)
tree874eb540ee763fa1486888c65714339938961fe4 /sys/arch/i386
parent879060768acca9d10c83640d78ed66f15d60833a (diff)
Add CR4_FSGSBASE
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/include/specialreg.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/i386/include/specialreg.h b/sys/arch/i386/include/specialreg.h
index 7f1f341dfdf..1724f75fd11 100644
--- a/sys/arch/i386/include/specialreg.h
+++ b/sys/arch/i386/include/specialreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: specialreg.h,v 1.51 2015/05/28 20:10:58 guenther Exp $ */
+/* $OpenBSD: specialreg.h,v 1.52 2015/06/07 08:11:50 guenther Exp $ */
/* $NetBSD: specialreg.h,v 1.7 1994/10/27 04:16:26 cgd Exp $ */
/*-
@@ -85,6 +85,7 @@
#define CR4_OSXMMEXCPT 0x00000400 /* enable unmasked SSE exceptions */
#define CR4_VMXE 0x00002000 /* enable virtual machine operation */
#define CR4_SMXE 0x00004000 /* enable safe mode operation */
+#define CR4_FSGSBASE 0x00010000 /* enable {RD,WR}{FS,GS}BASE ops */
#define CR4_PCIDE 0x00020000 /* enable process-context IDs */
#define CR4_OSXSAVE 0x00040000 /* enable XSAVE and extended states */
#define CR4_SMEP 0x00100000 /* supervisor mode exec protection */