diff --git a/BAN/include/BAN/Assert.h b/BAN/include/BAN/Assert.h index 241147022..c313684b4 100644 --- a/BAN/include/BAN/Assert.h +++ b/BAN/include/BAN/Assert.h @@ -3,6 +3,7 @@ #if defined(__is_kernel) #include #define ASSERT(cond) do { if (!(cond)) Kernel::panic("ASSERT("#cond") failed"); } while(false) + #define ASSERT_NOT_REACHED() Kernel::panic("ASSERT_NOT_REACHED() failed") #else #error "NOT IMPLEMENTED" #endif \ No newline at end of file