1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 17:47:44 +00:00

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.
This commit is contained in:
Gunnar Beutner 2022-10-16 16:23:44 +02:00 committed by Linus Groh
parent 9f3de0be6a
commit dfee6f73d2
10 changed files with 50 additions and 49 deletions

View file

@ -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();