mirror of
https://github.com/limine-bootloader/limine
synced 2024-12-12 09:44:04 +03:00
limine: Fix bug which triggered on no-NX where wrong register was used for rd/wrmsr
This commit is contained in:
parent
fa40b927cd
commit
ce33e9dff3
@ -37,7 +37,7 @@ limine_spinup_32:
|
|||||||
mov cr4, eax
|
mov cr4, eax
|
||||||
|
|
||||||
; Enable EFER.LME
|
; Enable EFER.LME
|
||||||
mov eax, 0xc0000080
|
mov ecx, 0xc0000080
|
||||||
rdmsr
|
rdmsr
|
||||||
bts eax, 8
|
bts eax, 8
|
||||||
wrmsr
|
wrmsr
|
||||||
|
Loading…
Reference in New Issue
Block a user