Rev 886 | Rev 889 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 886 | Rev 888 | ||
---|---|---|---|
Line 28... | Line 28... | ||
28 | # define ASSERT(expr) |
28 | # define ASSERT(expr) |
Line 29... | Line 29... | ||
29 | 29 | ||
Line -... | Line 30... | ||
- | 30 | # define DBG(format,...) |
|
- | 31 | ||
- | 32 | # define PANIC(expr) \ |
|
- | 33 | if (!(expr)) { \ |
|
- | 34 | panic_printf("Kernel panic in %s() at %s:%u: " \ |
|
- | 35 | "assertion failed (%s)",__func__ ,__FILE__,__LINE__, \ |
|
- | 36 | #expr); \ |
|
30 | # define DBG(format,...) |
37 | }; |
Line 31... | Line 38... | ||
31 | 38 | ||
32 | #endif |
39 | #endif |