mirror of
https://github.com/hermitcore/libhermit.git
synced 2025-03-09 00:00:03 +01:00
trampoline code doesn't longer enable SMEP
because old CPUs don't support this feature
This commit is contained in:
parent
534170354e
commit
6c339c64d6
1 changed files with 0 additions and 1 deletions
|
@ -208,7 +208,6 @@ L1:
|
|||
mov eax, cr4
|
||||
and eax, 0xfffbf9ff ; disable SSE
|
||||
or eax, (1 << 7) ; enable PGE
|
||||
or eax, (1 << 20) ; enable SMEP
|
||||
mov cr4, eax
|
||||
|
||||
; Set CR0 (PM-bit is already set)
|
||||
|
|
Loading…
Add table
Reference in a new issue