diff options
author | James Mintram <me@jamesrm.com> | 2022-04-02 23:47:07 +0100 |
---|---|---|
committer | Brian Gianforcaro <b.gianfo@gmail.com> | 2022-04-02 19:34:20 -0700 |
commit | 627fd231d5120427429b22acadc7ca0e920d5d17 (patch) | |
tree | c8f29d27912736cb6c4e6043aa3674fb2218b542 /Kernel/Arch/aarch64/Processor.h | |
parent | a883079b29b39f3a39625849911ff11ef6dfa28b (diff) | |
download | serenity-627fd231d5120427429b22acadc7ca0e920d5d17.zip |
Kernel: Make Region.cpp compile on aarch64
Diffstat (limited to 'Kernel/Arch/aarch64/Processor.h')
-rw-r--r-- | Kernel/Arch/aarch64/Processor.h | 10 |
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; |