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/Assertions.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/Assertions.h')
-rw-r--r-- | Kernel/Assertions.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Kernel/Assertions.h b/Kernel/Assertions.h index deddab93c0..aa0094f5e2 100644 --- a/Kernel/Assertions.h +++ b/Kernel/Assertions.h @@ -26,6 +26,7 @@ extern "C" { } #define TODO() __assertion_failed("TODO", __FILE__, __LINE__, __PRETTY_FUNCTION__) +#define TODO_AARCH64() __assertion_failed("TODO_AARCH64", __FILE__, __LINE__, __PRETTY_FUNCTION__) #define VERIFY_INTERRUPTS_DISABLED() VERIFY(!(Processor::are_interrupts_enabled())) #define VERIFY_INTERRUPTS_ENABLED() VERIFY(Processor::are_interrupts_enabled()) |