1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:27:35 +00:00
serenity/Kernel/Arch/x86
Andreas Kling f27e7bbbf4 Kernel/SMP: Don't enable interrupts in Processor::exit_trap
Enter a critical section in Processor::exit_trap so that processing
SMP messages doesn't enable interrupts upon leaving. We need to delay
this until the end where we call into the Scheduler if exiting the
trap results in being outside of a critical section and irq handler.

Co-authored-by: Tom <tomut@yahoo.com>
2021-08-09 13:22:22 +02:00
..
common Kernel/SMP: Don't enable interrupts in Processor::exit_trap 2021-08-09 13:22:22 +02:00
i386 Kernel/SMP: Don't enable interrupts in Processor::exit_trap 2021-08-09 13:22:22 +02:00
x86_64 Kernel/SMP: Don't enable interrupts in Processor::exit_trap 2021-08-09 13:22:22 +02:00
ASM_wrapper.h Kernel: Fix {read,write}_gs_ptr() for 64-bit addresses 2021-07-18 17:31:13 +02:00
CPU.h Kernel: Mark read only RegisterState function parameters as const 2021-07-20 03:21:14 +02:00
CPUID.h Kernel: Add support for hypervisor CPUID feature 2021-07-14 13:52:34 +02:00
DescriptorTable.h Kernel: Fix GDT and segment selectors to make userland work on x86_64 2021-06-28 22:29:28 +02:00
InterruptDisabler.h Kernel: Pull apart CPU.h 2021-06-24 00:38:23 +02:00
Interrupts.h Kernel: Don't byteswap the ISR number on interrupt entry 2021-07-01 23:36:17 +02:00
ISRStubs.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
MSR.h Kernel: Hide the implementation detail that MSRs use two registers 2021-07-04 01:07:28 +02:00
PageDirectory.h Kernel: Move Kernel/Memory/ code into Kernel::Memory namespace 2021-08-06 14:05:58 +02:00
PageFault.h Kernel: Pull apart CPU.h 2021-06-24 00:38:23 +02:00
Processor.h Kernel: Rename Processor::smp_queue_message() => smp_enqueue_message() 2021-08-09 11:46:30 +02:00
ProcessorInfo.h Kernel: Pull apart CPU.h 2021-06-24 00:38:23 +02:00
RegisterState.h Kernel+LibSystem: Add a 4th syscall argument 2021-07-25 14:08:50 +02:00
SafeMem.h Kernel: Implement safe_* memory access functions for x86_64 2021-06-27 15:46:42 +02:00
ScopedCritical.h Kernel: Pull apart CPU.h 2021-06-24 00:38:23 +02:00
SmapDisabler.h Kernel: Pull apart CPU.h 2021-06-24 00:38:23 +02:00
TrapFrame.h Kernel: Fix building the kernel with LTO 2021-07-02 17:51:26 +02:00
TSS.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00