LAPIC: Fix bug where wrong CPUID bit was tested to check for APIC
diff --git a/limine.bin b/limine.bin
index 6f3d8aee..111f1d33 100644
Binary files a/limine.bin and b/limine.bin differ
diff --git a/stage2/sys/lapic.c b/stage2/sys/lapic.c
index bb16cdf8..b6d20640 100644
--- a/stage2/sys/lapic.c
+++ b/stage2/sys/lapic.c
@@ -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;
