mirror of
https://github.com/limine-bootloader/limine
synced 2024-12-29 09:09:41 +03:00
LAPIC: Fix bug where wrong CPUID bit was tested to check for APIC
This commit is contained in:
parent
07ac3de4e6
commit
b8b7a798d4
BIN
limine.bin
BIN
limine.bin
Binary file not shown.
@ -19,7 +19,7 @@ bool lapic_check(void) {
|
||||
if (!cpuid(1, 0, &eax, &ebx, &ecx, &edx))
|
||||
return false;
|
||||
|
||||
if (!(ecx & (1 << 9)))
|
||||
if (!(edx & (1 << 9)))
|
||||
return false;
|
||||
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user