LumaOS
v0.1.116
An experimental x86-64 OS
Theme:
Default
Round
Robot
Loading...
Searching...
No Matches
assert.h
Go to the documentation of this file.
1
9
#ifndef KERNEL_KERNEL_ASSERT_H
10
#define KERNEL_KERNEL_ASSERT_H
11
12
#include <
kernel/panic.h
>
13
14
#define ASSERT(cond) \
15
do { if (!(cond)) PANIC("Assertion failed: %s", #cond); } while (0)
16
17
#endif
panic.h
Handler for kernel panics.
kernel
src
include
kernel
assert.h
Generated by
1.15.0