From 55d756a81383a3c8cd0b938bef5c13f647e4f6df Mon Sep 17 00:00:00 2001 From: Timon Kruiper Date: Sun, 8 Jan 2023 17:42:07 +0100 Subject: Kernel/aarch64: Implement initial page fault handling The shared code is moved to a common PageFault.cpp file. --- Kernel/Arch/PageFault.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Kernel/Arch/PageFault.h') diff --git a/Kernel/Arch/PageFault.h b/Kernel/Arch/PageFault.h index faa6fc4e1e..27ad0eb49d 100644 --- a/Kernel/Arch/PageFault.h +++ b/Kernel/Arch/PageFault.h @@ -8,6 +8,7 @@ #include #include +#include #include #include @@ -44,6 +45,8 @@ public: { } + void handle(RegisterState& regs); + enum class Type { PageNotPresent = PageFaultFlags::NotPresent, ProtectionViolation = PageFaultFlags::ProtectionViolation, -- cgit v1.2.3