ladybird/Kernel/Interrupts
Tom 5e08ae4e14 Kernel: Fix counting interrupts
Move counting interrupts out of the handle_interrupt method so that
it is done in all cases without the interrupt handler having to
implement it explicitly.

Also make the counter an atomic value as e.g. the LocalAPIC interrupts
may be triggered on multiple processors simultaneously.

Fixes #4297
2020-12-02 23:19:59 +01:00
..
APIC.cpp Kernel: Various APIC timer fixes 2020-10-26 08:57:25 +01:00
APIC.h Kernel: Set up and calibrate APIC timer, and enable timer on all CPUs 2020-10-25 21:18:35 +01:00
GenericInterruptHandler.cpp Kernel: Fix counting interrupts 2020-12-02 23:19:59 +01:00
GenericInterruptHandler.h Kernel: Fix counting interrupts 2020-12-02 23:19:59 +01:00
InterruptManagement.cpp Refactor: Replace usages of FixedArray with Vector. 2020-09-08 14:01:21 +02:00
InterruptManagement.h Refactor: Replace usages of FixedArray with Vector. 2020-09-08 14:01:21 +02:00
IOAPIC.cpp Kernel: Don't remap IOAPIC registers every time we try to read/write 2020-11-01 10:30:20 +01:00
IOAPIC.h Kernel: Don't remap IOAPIC registers every time we try to read/write 2020-11-01 10:30:20 +01:00
IRQController.h Meta+Kernel: Make clang-format-10 clean 2020-09-25 21:18:17 +02:00
IRQHandler.cpp Kernel: Simplify disable_irq() and enable_irq() methods in IRQHandler 2020-03-24 16:15:33 +01:00
IRQHandler.h Kernel: Add and remove explicit keyword where needed 2020-08-28 09:16:18 +02:00
MSIHandler.h Meta+Kernel: Make clang-format-10 clean 2020-09-25 21:18:17 +02:00
PIC.cpp Meta+Kernel: Make clang-format-10 clean 2020-09-25 21:18:17 +02:00
PIC.h Interrupts: Simplify IRQ disabling & enabling in IRQController(s) 2020-03-24 16:15:33 +01:00
SharedIRQHandler.cpp Kernel: Fix counting interrupts 2020-12-02 23:19:59 +01:00
SharedIRQHandler.h Kernel: Use a const reference to RegisterState in IRQ handling 2020-03-19 15:48:00 +01:00
SpuriousInterruptHandler.cpp Interrupts: Handle spurious IRQs from eoi() method 2020-03-24 16:15:33 +01:00
SpuriousInterruptHandler.h Kernel: Remove unneeded header (#3196) 2020-08-17 22:58:09 +02:00
UnhandledInterruptHandler.cpp Kernel: Add SMP IPI support 2020-07-06 17:07:44 +02:00
UnhandledInterruptHandler.h Kernel: Annotate UnhandledInterruptHandler::eoi with [[noreturn]] 2020-05-16 09:51:31 +02:00