socsvn commit: r268997 - soc2014/op/freebsd-base/sys/x86/include
op at FreeBSD.org
op at FreeBSD.org
Tue Jun 3 09:36:55 UTC 2014
Author: op
Date: Tue Jun 3 09:36:54 2014
New Revision: 268997
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=268997
Log:
SMAP AMD64: added CR4_SMAP to sys/x86/include/specialreg.h
git: https://github.com/opntr/opBSD/commits/op/gsoc2014/smap
Signed-off-by: Oliver Pinter <oliver.pntr at gmail.com>
Modified:
soc2014/op/freebsd-base/sys/x86/include/specialreg.h
Modified: soc2014/op/freebsd-base/sys/x86/include/specialreg.h
==============================================================================
--- soc2014/op/freebsd-base/sys/x86/include/specialreg.h Tue Jun 3 08:08:12 2014 (r268996)
+++ soc2014/op/freebsd-base/sys/x86/include/specialreg.h Tue Jun 3 09:36:54 2014 (r268997)
@@ -73,6 +73,7 @@
#define CR4_PCIDE 0x00020000 /* Enable Context ID */
#define CR4_XSAVE 0x00040000 /* XSETBV/XGETBV */
#define CR4_SMEP 0x00100000 /* Supervisor-Mode Execution Prevention */
+#define CR4_SMAP 0x00200000 /* Supervisor-Mode Access Prevention */
/*
* Bits in AMD64 special registers. EFER is 64 bits wide.
More information about the svn-soc-all
mailing list