diff options
author | Gunnar Beutner <gbeutner@serenityos.org> | 2022-10-16 16:23:44 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-10-16 17:35:37 +0200 |
commit | dfee6f73d23e467ab1d20670b4a34bbfdcdf6aaa (patch) | |
tree | cb333040e76cc56d8855c7e811faad12c249ede6 /Kernel/Arch/aarch64/Processor.h | |
parent | 9f3de0be6a6c7064fe9ada9a74234c436fedec50 (diff) | |
download | serenity-dfee6f73d23e467ab1d20670b4a34bbfdcdf6aaa.zip |
Kernel: Replace VERIFY_NOT_REACHED with TODO_AARCH64
This makes it easier to differentiate between cases where certain
functionality is not implemented vs. cases where a code location
should really be unreachable.
Diffstat (limited to 'Kernel/Arch/aarch64/Processor.h')
-rw-r--r-- | Kernel/Arch/aarch64/Processor.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Kernel/Arch/aarch64/Processor.h b/Kernel/Arch/aarch64/Processor.h index 57a2b07c47..d8ecba68db 100644 --- a/Kernel/Arch/aarch64/Processor.h +++ b/Kernel/Arch/aarch64/Processor.h @@ -52,22 +52,22 @@ public: ALWAYS_INLINE static void pause() { - VERIFY_NOT_REACHED(); + TODO_AARCH64(); } ALWAYS_INLINE static void wait_check() { - VERIFY_NOT_REACHED(); + TODO_AARCH64(); } ALWAYS_INLINE u8 physical_address_bit_width() const { - VERIFY_NOT_REACHED(); + TODO_AARCH64(); return 0; } ALWAYS_INLINE u8 virtual_address_bit_width() const { - VERIFY_NOT_REACHED(); + TODO_AARCH64(); return 0; } @@ -103,13 +103,13 @@ public: ALWAYS_INLINE static FlatPtr current_in_irq() { - VERIFY_NOT_REACHED(); + TODO_AARCH64(); return 0; } ALWAYS_INLINE static u64 read_cpu_counter() { - VERIFY_NOT_REACHED(); + TODO_AARCH64(); return 0; } @@ -165,7 +165,7 @@ public: static void deferred_call_queue(Function<void()> /* callback */) { - VERIFY_NOT_REACHED(); + TODO_AARCH64(); } [[noreturn]] static void halt(); |