limine: Fix bug which triggered on no-NX where wrong register was used for rd/wrmsr

This commit is contained in:
mintsuki 2022-10-09 07:31:26 +02:00
parent fa40b927cd
commit ce33e9dff3

View File

@ -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