LAPIC: Fix bug where wrong CPUID bit was tested to check for APIC

This commit is contained in:
mintsuki 2020-10-26 17:36:35 +01:00
parent 07ac3de4e6
commit b8b7a798d4
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

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