diff options
author | Luiz Souza <luiz@netgate.com> | 2018-02-23 19:44:05 -0300 |
---|---|---|
committer | Luiz Souza <luiz@netgate.com> | 2018-02-23 19:44:05 -0300 |
commit | 6188580d0b1b234f9250f22a4f7100379baf3ac4 (patch) | |
tree | a38ac8e3f7ef14b55dc74d8d31c59abd971f70a9 /sys | |
parent | 0d254cbf5fb8b0bebf20ae325244a682d52966aa (diff) | |
download | FreeBSD-src-6188580d0b1b234f9250f22a4f7100379baf3ac4.zip FreeBSD-src-6188580d0b1b234f9250f22a4f7100379baf3ac4.tar.gz |
Revert "Revert "MFC r327469:""
This reverts commit 5f4df31f14dd09c55ee2ada616c797a9273270ef.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/x86/include/specialreg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/x86/include/specialreg.h b/sys/x86/include/specialreg.h index 589e665..94cadd3 100644 --- a/sys/x86/include/specialreg.h +++ b/sys/x86/include/specialreg.h @@ -74,6 +74,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. |