ladybird/Kernel/Interrupts
Luke 68b361bd21 Kernel: Return ENOMEM in more places
There are plenty of places in the kernel that aren't
checking if they actually got their allocation.

This fixes some of them, but definitely not all.

Fixes #3390
Fixes #3391

Also, let's make find_one_free_page() return nullptr
if it doesn't get a free index. This stops the kernel
crashing when out of memory and allows memory purging
to take place again.

Fixes #3487
2020-09-16 20:38:19 +02:00
..
APIC.cpp Kernel: Return ENOMEM in more places 2020-09-16 20:38:19 +02:00
APIC.h Kernel: Fix some flaws that caused crashes or hangs during boot 2020-07-09 23:24:55 +02:00
GenericInterruptHandler.cpp Kernel: Add SMP IPI support 2020-07-06 17:07:44 +02:00
GenericInterruptHandler.h Kernel: Remove the enabled concept of IRQ handlers 2020-08-28 09:16:18 +02: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: Unbreak building with extra debug macros, part 1 2020-08-30 09:43:49 +02:00
IOAPIC.h Kernel: Use TypedMapping for accessing IOAPIC registers 2020-05-23 15:57:48 +02:00
IRQController.h Interrupts: Simplify IRQ disabling & enabling in IRQController(s) 2020-03-24 16:15:33 +01: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 Kernel: Mark MSIHandler as final 2020-08-10 09:57:50 +02:00
PIC.cpp Kernel: Absorb LibBareMetal back into the kernel 2020-05-16 12:00:04 +02:00
PIC.h Interrupts: Simplify IRQ disabling & enabling in IRQController(s) 2020-03-24 16:15:33 +01:00
SharedIRQHandler.cpp Kernel: Unbreak building with extra debug macros, part 1 2020-08-30 09:43:49 +02: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