serenity/Kernel/Arch
Daniel Bertalan beb55f726f Kernel/aarch64: Detect if access faults come from SafeMem
This commit lets us differentiate whether access faults are caused by
accessing junk memory addresses given to us by userspace or if we hit a
kernel bug.

The stub implementations of the `safe_*` functions currently don't let
us jump back into them and return a value indicating failure, so we
panic if such a fault happens. Practically, this means that we still
crash, but if the access violation was caused by something else, we take
the usual kernel crash code path and print a register and memory dump,
rather than hitting the `TODO_AARCH64` in `handle_safe_access_fault`.
2023-05-21 12:00:22 +02:00
..
aarch64 Kernel/aarch64: Detect if access faults come from SafeMem 2023-05-21 12:00:22 +02:00
x86_64 Kernel: Implement helpers to manipulate MSI(x) data structures 2023-05-07 21:16:41 +02:00
CPU.h
CurrentTime.h
DebugOutput.h
DeferredCallEntry.h
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
init.cpp Kernel: Move a bunch of generic devices code into new subdirectory 2023-05-19 21:49:21 +02:00
InterruptManagement.h
Interrupts.h Kernel: Add reserve_interrupt_handlers API 2023-05-07 21:16:41 +02:00
IRQController.h
mcontext.h
PageDirectory.h
PageFault.cpp
PageFault.h
PCIMSI.h Kernel: Implement helpers to manipulate MSI(x) data structures 2023-05-07 21:16:41 +02:00
Processor.cpp
Processor.h
ProcessorSpecificDataID.h
RegisterState.h
SafeMem.h
SmapDisabler.h
ThreadRegisters.h
TrapFrame.h