Add definition for %cr4 PKRU enable bit.
Reviewed by: markj Tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 3 days Differential revision: https://reviews.freebsd.org/D18893
This commit is contained in:
parent
00377637a7
commit
5671e0d62e
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user