Compile fix

This commit is contained in:
Alex 2022-10-11 02:43:54 +03:00
parent ad9817a2db
commit d5c496ea14
Signed by untrusted user who does not match committer: enderice2
GPG Key ID: EACC3AD603BAB4DD

View File

@ -153,7 +153,8 @@ namespace APIC
if (!Status)
Value |= (1 << 16);
Value |= (((uintptr_t)GetCPU(CPU)->Data->LAPIC.APICId) << 56);
// Value |= (((uintptr_t)GetCPU(CPU)->Data->LAPIC.APICId) << 56);
Value |= (((uintptr_t)0) << 56);
uint32_t IORegister = (GSI - ((ACPI::MADT *)PowerManager->GetMADT())->ioapic[IOAPICTarget]->GSIBase) * 2 + 16;
this->IOWrite(((ACPI::MADT *)PowerManager->GetMADT())->ioapic[IOAPICTarget]->Address, IORegister, (uint32_t)Value);