mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 13:49:16 +00:00
Kernel/aarch64: Implement initial page fault handling
The shared code is moved to a common PageFault.cpp file.
This commit is contained in:
parent
a532d28905
commit
55d756a813
Notes:
sideshowbarker
2024-07-17 11:33:34 +09:00
Author: https://github.com/FireFox317
Commit: 55d756a813
Pull-request: https://github.com/SerenityOS/serenity/pull/16911
Reviewed-by: https://github.com/ADKaster
Reviewed-by: https://github.com/nico ✅
5 changed files with 195 additions and 133 deletions
|
@ -8,6 +8,7 @@
|
|||
|
||||
#include <AK/Platform.h>
|
||||
#include <AK/Types.h>
|
||||
#include <Kernel/Arch/RegisterState.h>
|
||||
#include <Kernel/ExecutionMode.h>
|
||||
#include <Kernel/VirtualAddress.h>
|
||||
|
||||
|
@ -44,6 +45,8 @@ public:
|
|||
{
|
||||
}
|
||||
|
||||
void handle(RegisterState& regs);
|
||||
|
||||
enum class Type {
|
||||
PageNotPresent = PageFaultFlags::NotPresent,
|
||||
ProtectionViolation = PageFaultFlags::ProtectionViolation,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue