mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-07-05 12:29:19 +00:00
Compile fix
This commit is contained in:
@ -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);
|
||||||
|
Reference in New Issue
Block a user