ladybird/Kernel/Arch
Sönke Holz 6654021655 Kernel/riscv64: Don't hard-code the page fault reason on RISC-V
Instead, rewrite the region page fault handling code to not use
PageFault::type() on RISC-V.

I split Region::handle_fault into having a RISC-V-specific
implementation, as I am not sure if I cover all page fault handling edge
cases by solely relying on MM's own region metadata.
We should probably also take the processor-provided page fault reason
into account, if we decide to merge these two implementations in the
future.
2024-03-25 14:18:38 -06:00
..
aarch64 Everywhere: Prefer {:#x} over 0x{:x} in format strings 2024-02-21 17:54:38 +01:00
riscv64 Kernel/riscv64: Don't hard-code the page fault reason on RISC-V 2024-03-25 14:18:38 -06:00
x86_64 Kernel: Resolve FIXME relating to the gate type arg for x86 Interrupts 2024-02-19 00:16:05 +01: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/riscv64: Get the kernel command line from the device tree 2024-02-24 16:43:44 -07: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