svn commit: r344465 - stable/12/sys/x86/include
Konstantin Belousov
kib at FreeBSD.org
Fri Feb 22 12:12:02 UTC 2019
Author: kib
Date: Fri Feb 22 12:12:01 2019
New Revision: 344465
URL: https://svnweb.freebsd.org/changeset/base/344465
Log:
MFC r344293:
Add definition for %cr4 PKRU enable bit.
Modified:
stable/12/sys/x86/include/specialreg.h
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/sys/x86/include/specialreg.h
==============================================================================
--- stable/12/sys/x86/include/specialreg.h Fri Feb 22 11:52:40 2019 (r344464)
+++ stable/12/sys/x86/include/specialreg.h Fri Feb 22 12:12:01 2019 (r344465)
@@ -77,6 +77,7 @@
#define CR4_XSAVE 0x00040000 /* XSETBV/XGETBV */
#define CR4_SMEP 0x00100000 /* Supervisor-Mode Execution Prevention */
#define CR4_SMAP 0x00200000 /* Supervisor-Mode Access Prevention */
+#define CR4_PKE 0x00400000 /* Protection Keys Enable */
/*
* Bits in AMD64 special registers. EFER is 64 bits wide.
More information about the svn-src-all
mailing list