mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 05:09:12 +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
Notes:
sideshowbarker
2024-07-17 05:41:35 +09:00
Author: https://github.com/gunnarbeutner
Commit: dfee6f73d2
Pull-request: https://github.com/SerenityOS/serenity/pull/15639
Reviewed-by: https://github.com/linusg
Reviewed-by: https://github.com/supercomputer7 ✅
10 changed files with 50 additions and 49 deletions
|
@ -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())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue