mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 01:27:43 +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
|
@ -60,25 +60,25 @@ public:
|
|||
bool is_present() const { return (raw() & Present) == Present; }
|
||||
void set_present(bool) { }
|
||||
|
||||
bool is_user_allowed() const { VERIFY_NOT_REACHED(); }
|
||||
bool is_user_allowed() const { TODO_AARCH64(); }
|
||||
void set_user_allowed(bool) { }
|
||||
|
||||
bool is_huge() const { VERIFY_NOT_REACHED(); }
|
||||
bool is_huge() const { TODO_AARCH64(); }
|
||||
void set_huge(bool) { }
|
||||
|
||||
bool is_writable() const { VERIFY_NOT_REACHED(); }
|
||||
bool is_writable() const { TODO_AARCH64(); }
|
||||
void set_writable(bool) { }
|
||||
|
||||
bool is_write_through() const { VERIFY_NOT_REACHED(); }
|
||||
bool is_write_through() const { TODO_AARCH64(); }
|
||||
void set_write_through(bool) { }
|
||||
|
||||
bool is_cache_disabled() const { VERIFY_NOT_REACHED(); }
|
||||
bool is_cache_disabled() const { TODO_AARCH64(); }
|
||||
void set_cache_disabled(bool) { }
|
||||
|
||||
bool is_global() const { VERIFY_NOT_REACHED(); }
|
||||
bool is_global() const { TODO_AARCH64(); }
|
||||
void set_global(bool) { }
|
||||
|
||||
bool is_execute_disabled() const { VERIFY_NOT_REACHED(); }
|
||||
bool is_execute_disabled() const { TODO_AARCH64(); }
|
||||
void set_execute_disabled(bool) { }
|
||||
|
||||
private:
|
||||
|
@ -116,25 +116,25 @@ public:
|
|||
bool is_present() const { return (raw() & Present) == Present; }
|
||||
void set_present(bool) { }
|
||||
|
||||
bool is_user_allowed() const { VERIFY_NOT_REACHED(); }
|
||||
bool is_user_allowed() const { TODO_AARCH64(); }
|
||||
void set_user_allowed(bool) { }
|
||||
|
||||
bool is_writable() const { VERIFY_NOT_REACHED(); }
|
||||
bool is_writable() const { TODO_AARCH64(); }
|
||||
void set_writable(bool) { }
|
||||
|
||||
bool is_write_through() const { VERIFY_NOT_REACHED(); }
|
||||
bool is_write_through() const { TODO_AARCH64(); }
|
||||
void set_write_through(bool) { }
|
||||
|
||||
bool is_cache_disabled() const { VERIFY_NOT_REACHED(); }
|
||||
bool is_cache_disabled() const { TODO_AARCH64(); }
|
||||
void set_cache_disabled(bool) { }
|
||||
|
||||
bool is_global() const { VERIFY_NOT_REACHED(); }
|
||||
bool is_global() const { TODO_AARCH64(); }
|
||||
void set_global(bool) { }
|
||||
|
||||
bool is_execute_disabled() const { VERIFY_NOT_REACHED(); }
|
||||
bool is_execute_disabled() const { TODO_AARCH64(); }
|
||||
void set_execute_disabled(bool) { }
|
||||
|
||||
bool is_pat() const { VERIFY_NOT_REACHED(); }
|
||||
bool is_pat() const { TODO_AARCH64(); }
|
||||
void set_pat(bool) { }
|
||||
|
||||
bool is_null() const { return m_raw == 0; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue