mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:17:34 +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
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