summaryrefslogtreecommitdiff
path: root/Kernel/Arch/aarch64
diff options
context:
space:
mode:
authorJames Mintram <me@jamesrm.com>2022-04-02 23:47:07 +0100
committerBrian Gianforcaro <b.gianfo@gmail.com>2022-04-02 19:34:20 -0700
commit627fd231d5120427429b22acadc7ca0e920d5d17 (patch)
treec8f29d27912736cb6c4e6043aa3674fb2218b542 /Kernel/Arch/aarch64
parenta883079b29b39f3a39625849911ff11ef6dfa28b (diff)
downloadserenity-627fd231d5120427429b22acadc7ca0e920d5d17.zip
Kernel: Make Region.cpp compile on aarch64
Diffstat (limited to 'Kernel/Arch/aarch64')
-rw-r--r--Kernel/Arch/aarch64/Processor.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/Kernel/Arch/aarch64/Processor.h b/Kernel/Arch/aarch64/Processor.h
index 88ba48db94..4ea7d65862 100644
--- a/Kernel/Arch/aarch64/Processor.h
+++ b/Kernel/Arch/aarch64/Processor.h
@@ -48,6 +48,16 @@ public:
return 0;
}
+ ALWAYS_INLINE bool has_nx() const
+ {
+ return true;
+ }
+
+ ALWAYS_INLINE bool has_pat() const
+ {
+ return false;
+ }
+
ALWAYS_INLINE static FlatPtr current_in_irq()
{
return 0;