1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-10-31 11:42:45 +00:00
serenity/Kernel/Arch
Andreas Kling 51bc87d15a Kernel/x86: Disable interrupts when leaving critical sections
This fixes an issue where we could get preempted after acquiring the
current Processor pointer, but before calling methods on it.

I strongly suspect this was the cause of "Processor::current() == this"
assertion failures.
2022-08-18 00:58:34 +02:00
..
aarch64 Kernel: Move TrapFrame into its own header on aarch64 2022-08-14 09:44:48 +01:00
x86 Kernel/x86: Disable interrupts when leaving critical sections 2022-08-18 00:58:34 +02:00
CPU.h Kernel: Make handle_crash available to aarch64 2022-04-02 19:34:20 -07:00
DeferredCallEntry.h Kernel: Extract DeferredCallEntry from Arch/Processor.h 2021-12-11 13:23:27 -08:00
InterruptDisabler.h Kernel: Implement InterruptDisabler using generic Processor functions 2022-06-02 13:14:12 +01:00
InterruptManagement.h Kernel: Move IRQController and InterruptManagement to Arch directory 2022-06-02 13:14:12 +01:00
Interrupts.h Kernel: Rename idt_init() to initialize_interrupts() 2022-06-02 13:14:12 +01:00
IRQController.h Kernel: Move IRQController and InterruptManagement to Arch directory 2022-06-02 13:14:12 +01:00
mcontext.h Kernel: Do not include AK/Platform.h in mcontext headers 2022-05-30 21:39:41 +02:00
PageDirectory.h Kernel: Make PageDirectory.cpp compile on aarch64 2022-04-02 19:34:20 -07:00
PageFault.h Kernel: Make PageDirectory.cpp compile on aarch64 2022-04-02 19:34:20 -07:00
Processor.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
ProcessorSpecificDataID.h Kernel: Extract ProcessorSpecificDataID from from Arch/Processor.h 2021-12-11 13:23:27 -08:00
RegisterState.h Kernel: Add cross platform RegisterState header and Aarch64 version 2021-10-15 21:48:45 +01:00
SafeMem.h Kernel: Move Kernel/Arch/x86/SafeMem.h to Kernel/Arch/SafeMem.h 2022-05-03 21:53:36 +02:00
ScopedCritical.h Kernel: Split ScopedCritical so header is platform independent 2021-10-15 21:48:45 +01:00
SmapDisabler.h Kernel: Split SmapDisabler so header is platform independent 2021-10-15 21:48:45 +01:00
Spinlock.h Kernel: Stub Spinlock is_locked on aarch64 2022-08-14 09:44:48 +01:00