ladybird/Kernel/Arch
Sönke Holz 6cd130ec8e Kernel/riscv64: Increment sepc before re-enabling interrupts
This otherwise caused a race condition between the signal dispatcher
(which sets sepc to the signal trampoline) and sepc being updated in the
trap handler.
We obviously have to keep the sepc set by the signal dispatcher and not
increment it afterwards.
2024-04-17 11:24:34 -06:00
..
aarch64 Everywhere: Prefer {:#x} over 0x{:x} in format strings 2024-02-21 17:54:38 +01:00
riscv64 Kernel/riscv64: Increment sepc before re-enabling interrupts 2024-04-17 11:24:34 -06:00
x86_64 Kernel: Exclude individual functions from coverage instrumentation 2024-04-15 21:16:22 -06:00
CPU.h Kernel/riscv64: Make the kernel compile 2023-11-10 15:51:31 -07:00
CPUID.h Kernel/riscv64: Add RISC-V Processor class 2023-10-28 10:36:06 -06:00
CurrentTime.h Kernel: Abstract platform-specific current time methods from Scheduler 2022-10-14 14:13:51 +02:00
DebugOutput.h Kernel: Abstract platform-specific serial port access from kprintf 2022-09-20 18:43:05 +01:00
DeferredCallEntry.h Kernel: Extract DeferredCallEntry from Arch/Processor.h 2021-12-11 13:23:27 -08:00
DeferredCallPool.cpp Kernel: Move deferred call code into separate DeferredCallPool class 2023-04-03 20:01:28 -06:00
DeferredCallPool.h Kernel: Move deferred call code into separate DeferredCallPool class 2023-04-03 20:01:28 -06:00
Delay.h Kernel: Move IO delay code to x86 architecture subdirectory 2022-09-20 18:43:05 +01:00
FPUState.h Kernel/riscv64: Add register state related headers 2023-10-28 10:36:06 -06:00
init.cpp Kernel: Exclude individual functions from coverage instrumentation 2024-04-15 21:16:22 -06:00
InterruptManagement.h Kernel/riscv64: Make the kernel compile 2023-11-10 15:51:31 -07:00
Interrupts.h Kernel/riscv64: Make the kernel compile 2023-11-10 15:51:31 -07:00
IRQController.h Kernel/riscv64: Make the kernel compile 2023-11-10 15:51:31 -07:00
mcontext.h Toolchain: Add (basic) support for riscv64 2023-08-11 09:20:08 +02:00
PageDirectory.h Kernel/riscv64: Make the kernel compile 2023-11-10 15:51:31 -07:00
PageFault.cpp Kernel/riscv64: Don't hard-code the page fault reason on RISC-V 2024-03-25 14:18:38 -06:00
PageFault.h Kernel/riscv64: Don't hard-code the page fault reason on RISC-V 2024-03-25 14:18:38 -06:00
PCIMSI.h Kernel/riscv64: Make the kernel compile 2023-11-10 15:51:31 -07:00
PowerState.h Kernel: Simplify reboot & poweroff code flow a bit 2023-06-27 20:04:42 +02:00
Processor.cpp Kernel: Share Processor class (and others) across architectures 2023-10-03 16:08:29 -06:00
Processor.h Kernel/riscv64: Add RISC-V Processor class 2023-10-28 10:36:06 -06:00
ProcessorFunctions.include Kernel: Share Processor class (and others) across architectures 2023-10-03 16:08:29 -06:00
ProcessorSpecificDataID.h Kernel: Extract ProcessorSpecificDataID from from Arch/Processor.h 2021-12-11 13:23:27 -08:00
RegisterState.h Kernel/riscv64: Add register state related headers 2023-10-28 10:36:06 -06:00
SafeMem.h Everywhere: Fix order of includes and #pragma once 2022-09-18 18:30:05 -07:00
SmapDisabler.h Kernel: Split SmapDisabler so header is platform independent 2021-10-15 21:48:45 +01:00
ThreadRegisters.h Kernel/riscv64: Add register state related headers 2023-10-28 10:36:06 -06:00
TrapFrame.cpp Kernel: Share Processor class (and others) across architectures 2023-10-03 16:08:29 -06:00
TrapFrame.h Kernel/riscv64: Add register state related headers 2023-10-28 10:36:06 -06:00