mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-31 22:56:04 +00:00
Kernel/Interrupts: Initialize two spurious handlers when PIC is disabled
Even if the PIC was disabled it can still generate noise (spurious IRQs) so we need to register two handlers for handling such cases. Also, we declare interrupt service routine offset 0x20 to 0x2f as reserved, so when the PIC is disabled, we can handle spurious IRQs from the PIC at separate handlers.
This commit is contained in:
parent
7028a64997
commit
88c5992e0b
Notes:
sideshowbarker
2024-07-17 19:58:55 +09:00
Author: https://github.com/supercomputer7
Commit: 88c5992e0b
Pull-request: https://github.com/SerenityOS/serenity/pull/12182
Issue: https://github.com/SerenityOS/serenity/issues/12134
Reviewed-by: https://github.com/IdanHo ✅
Reviewed-by: https://github.com/Panky-codes
8 changed files with 169 additions and 5 deletions
|
@ -54,6 +54,7 @@ public:
|
|||
|
||||
bool smp_enabled() const { return m_smp_enabled; }
|
||||
RefPtr<IRQController> get_responsible_irq_controller(u8 interrupt_vector);
|
||||
RefPtr<IRQController> get_responsible_irq_controller(IRQControllerType controller_type, u8 interrupt_vector);
|
||||
|
||||
const Vector<ISAInterruptOverrideMetadata>& isa_overrides() const { return m_isa_interrupt_overrides; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue