Add support for I/O APIC controllers and interrupt override handling

This commit is contained in:
2026-04-18 00:04:12 +02:00
parent 715419abe7
commit cd4e905054
7 changed files with 652 additions and 7 deletions

View File

@@ -39,6 +39,21 @@ HL_SCROLL_REGION_DATA HL::FrameBuffer::ScrollRegionData;
/* APIC mode */
APIC_MODE HL::Pic::ApicMode;
/* Number of I/O APIC controllers */
ULONG HL::Pic::ControllerCount;
/* I/O APIC controllers information */
IOAPIC_DATA HL::Pic::Controllers[IOAPIC_MAX_CONTROLLERS];
/* Number of I/O APIC overrides */
ULONG HL::Pic::IrqOverrideCount;
/* I/O APIC overrides information */
ACPI_MADT_INTERRUPT_OVERRIDE HL::Pic::IrqOverrides[IOAPIC_MAX_OVERRIDES];
/* Mapped interrupt vectors */
UCHAR HL::Pic::MappedVectors[256];
/* Kernel profiling interval */
ULONG HL::Timer::ProfilingInterval;