Ensure we clear bits we don't want set in cr0 on APs

This commit is contained in:
Ali Mashtizadeh 2015-03-03 16:12:37 -08:00
parent 33af1ed42b
commit 1fdc2fd933

View File

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