mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:37:35 +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:
parent
9f3de0be6a
commit
dfee6f73d2
10 changed files with 50 additions and 49 deletions
|
@ -11,13 +11,13 @@ namespace Kernel {
|
|||
|
||||
bool safe_memset(void*, int, size_t, void*&)
|
||||
{
|
||||
VERIFY_NOT_REACHED();
|
||||
TODO_AARCH64();
|
||||
return false;
|
||||
}
|
||||
|
||||
ssize_t safe_strnlen(char const*, unsigned long, void*&)
|
||||
{
|
||||
VERIFY_NOT_REACHED();
|
||||
TODO_AARCH64();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -30,31 +30,31 @@ bool safe_memcpy(void* dest_ptr, void const* src_ptr, unsigned long n, void*&)
|
|||
|
||||
Optional<bool> safe_atomic_compare_exchange_relaxed(u32 volatile*, u32&, u32)
|
||||
{
|
||||
VERIFY_NOT_REACHED();
|
||||
TODO_AARCH64();
|
||||
return {};
|
||||
}
|
||||
|
||||
Optional<u32> safe_atomic_load_relaxed(u32 volatile*)
|
||||
{
|
||||
VERIFY_NOT_REACHED();
|
||||
TODO_AARCH64();
|
||||
return {};
|
||||
}
|
||||
|
||||
Optional<u32> safe_atomic_fetch_add_relaxed(u32 volatile*, u32)
|
||||
{
|
||||
VERIFY_NOT_REACHED();
|
||||
TODO_AARCH64();
|
||||
return {};
|
||||
}
|
||||
|
||||
Optional<u32> safe_atomic_exchange_relaxed(u32 volatile*, u32)
|
||||
{
|
||||
VERIFY_NOT_REACHED();
|
||||
TODO_AARCH64();
|
||||
return {};
|
||||
}
|
||||
|
||||
bool safe_atomic_store_relaxed(u32 volatile*, u32)
|
||||
{
|
||||
VERIFY_NOT_REACHED();
|
||||
TODO_AARCH64();
|
||||
return {};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue