mirror of
https://gitlab.com/bztsrc/bootboot.git
synced 2023-02-13 20:54:32 -05:00
Fixed cr4 bits
This commit is contained in:
parent
b7078650fb
commit
d18710e7ea
3 changed files with 1 additions and 1 deletions
BIN
bootboot.efi
BIN
bootboot.efi
Binary file not shown.
BIN
bootboot.rom
BIN
bootboot.rom
Binary file not shown.
|
@ -1210,7 +1210,7 @@ VOID EFIAPI bootboot_startcore(IN VOID* buf)
|
||||||
"btrw $1, %%ax;"
|
"btrw $1, %%ax;"
|
||||||
"mov %%rax, %%cr0;"
|
"mov %%rax, %%cr0;"
|
||||||
"mov %%cr4, %%rax;"
|
"mov %%cr4, %%rax;"
|
||||||
"orw $3 << 9, %%ax;"
|
"orw $3 << 8, %%ax;"
|
||||||
"mov %%rax, %%cr4"
|
"mov %%rax, %%cr4"
|
||||||
: );
|
: );
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue