Add CR4.SMAP control bit.
Sponsored by: The FreeBSD Foundation MFC after: 3 days
This commit is contained in:
parent
9997c0481c
commit
da457ed9d6
@ -76,6 +76,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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user