diff options
author | Liav A <liavalb@gmail.com> | 2020-03-06 03:19:40 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-03-06 10:32:32 +0100 |
commit | 30fc78bfaf084835530241e0b1c8e3cc2a45ab23 (patch) | |
tree | 043144bc550ffc7dbd3b6622695158857ad5602b /Kernel/Interrupts/IOAPIC.h | |
parent | d9d792d37f3b6254335da3722ee9dc1c4f7ab933 (diff) | |
download | serenity-30fc78bfaf084835530241e0b1c8e3cc2a45ab23.zip |
Kernel: Acquire ISA interrupt overrides from Interrupt Management
Also, InterruptDisabler were added to prevent critical function from
being interrupted. In addition, the interrupt numbers are abstracted
from IDT offsets, thus, allowing to create a better routing scheme
when using IOAPICs for interrupt redirection.
Diffstat (limited to 'Kernel/Interrupts/IOAPIC.h')
-rw-r--r-- | Kernel/Interrupts/IOAPIC.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Kernel/Interrupts/IOAPIC.h b/Kernel/Interrupts/IOAPIC.h index 4192421dfa..d7d629ecce 100644 --- a/Kernel/Interrupts/IOAPIC.h +++ b/Kernel/Interrupts/IOAPIC.h @@ -41,7 +41,7 @@ class PCIInterruptOverrideMetadata; class IOAPIC final : public IRQController { public: - IOAPIC(ioapic_mmio_regs& regs, u32 gsi_base, Vector<RefPtr<ISAInterruptOverrideMetadata>>& overrides, Vector<RefPtr<PCIInterruptOverrideMetadata>>& pci_overrides); + IOAPIC(ioapic_mmio_regs& regs, u32 gsi_base); virtual void enable(u8 number) override; virtual void disable(u8 number) override; virtual void hard_disable() override; @@ -81,7 +81,5 @@ private: u8 m_id; u8 m_version; u32 m_redirection_entries; - Vector<RefPtr<ISAInterruptOverrideMetadata>> m_isa_interrupt_overrides; - Vector<RefPtr<PCIInterruptOverrideMetadata>> m_pci_interrupt_overrides; }; } |