1
0
Fork 0
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:
bzt 2019-03-15 20:44:58 +01:00
parent b7078650fb
commit d18710e7ea
3 changed files with 1 additions and 1 deletions

Binary file not shown.

Binary file not shown.

View file

@ -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"
: ); : );