serenity/Kernel/Interrupts
Pankaj Raghav fd8a154f8c Kernel: Set IRQHandler m_shared_with_others when the irq is shared
If IRQHandler's IRQ is shared, then disable_irq() should not call the
controller to disable that IRQ as some other device might be using it.
IRQHandler had a private variable to indicate if it is being shared:
m_shared_with_others but it was never modified even if the IRQ was
shared.

Add a new member function set_shared_with_others() to enable/disable
m_shared_with_others member of IRQHandler class. This function is
called when an IRQHandler is being added/removed as a part of
SharedIRQHandler.
2023-04-25 10:18:39 +02:00
..
GenericInterruptHandler.cpp Everywhere: Use ReadonlySpan<T> instead of Span<T const> 2023-02-08 19:15:45 +00:00
GenericInterruptHandler.h Everywhere: Use ReadonlySpan<T> instead of Span<T const> 2023-02-08 19:15:45 +00:00
IRQHandler.cpp Kernel: Move InterruptDisabler out of Arch directory 2022-10-17 20:11:31 +02:00
IRQHandler.h Kernel: Set IRQHandler m_shared_with_others when the irq is shared 2023-04-25 10:18:39 +02:00
SharedIRQHandler.cpp Kernel: Rename GenericInterruptHandler "invoking count" to "call count" 2022-11-19 15:39:30 +01:00
SharedIRQHandler.h Kernel: Store IRQControllers in NonnullRefPtrs instead of RefPtrs 2022-09-25 16:52:56 +03:00
SpuriousInterruptHandler.cpp Kernel: Reorganize Arch/x86 directory to Arch/x86_64 after i686 removal 2022-12-28 11:53:41 +01:00
SpuriousInterruptHandler.h Kernel: Store IRQControllers in NonnullRefPtrs instead of RefPtrs 2022-09-25 16:52:56 +03:00
UnhandledInterruptHandler.cpp Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
UnhandledInterruptHandler.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00