diff --git a/xtoskrnl/hl/x86/pic.cc b/xtoskrnl/hl/x86/pic.cc index 1cdc961..a2e7f9f 100644 --- a/xtoskrnl/hl/x86/pic.cc +++ b/xtoskrnl/hl/x86/pic.cc @@ -48,6 +48,7 @@ HL::Pic::AllocateSystemInterrupt(IN UCHAR Irq, } /* Model a logical connection */ + Register.LongLong = 0; Register.DeliveryMode = APIC_DM_FIXED; Register.DeliveryStatus = 0; Register.Destination = HL::Pic::ReadApicRegister(APIC_ID) >> 24; @@ -502,6 +503,7 @@ HL::Pic::InitializeIOApic(VOID) Controllers[ControllerIndex].LineCount = ((VersionRegister >> 16) & 0xFF) + 1; /* Set up the default redirection entry for this controller */ + Register.LongLong = 0; Register.DeliveryMode = APIC_DM_FIXED; Register.DeliveryStatus = 0; Register.Destination = ReadIOApicRegister(&Controllers[ControllerIndex], IOAPIC_ID) >> 24;