Ensure we clear bits we don't want set in cr0 on APs
This commit is contained in:
parent
33af1ed42b
commit
1fdc2fd933
@ -78,6 +78,8 @@ mpstart_enter32:
|
||||
|
||||
// Set CR0
|
||||
movl %cr0, %eax
|
||||
// QEMU seems to set cr0 with garbage
|
||||
andl $0x1FF5FFC0, %eax
|
||||
orl $0x8005002B, %eax
|
||||
movl %eax, %cr0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user