mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-05-30 08:17:58 +00:00
Compile fix
This commit is contained in:
parent
ad9817a2db
commit
d5c496ea14
@ -153,7 +153,8 @@ namespace APIC
|
|||||||
if (!Status)
|
if (!Status)
|
||||||
Value |= (1 << 16);
|
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;
|
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);
|
this->IOWrite(((ACPI::MADT *)PowerManager->GetMADT())->ioapic[IOAPICTarget]->Address, IORegister, (uint32_t)Value);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user