Support debugging of the operating system.
More...
Support debugging of the operating system.
◆ STRINGIFY
Converts a macro parameter into a string.
- Parameters
-
S | Expression to be converted |
- Returns
- stringified version of S
◆ assert_size
Statically ensure (at compile time) that a data type (or variable) has the expected size.
- Parameters
-
TYPE | The type to be checked |
SIZE | Expected size in bytes |
◆ assert
Value:
} \
} while (false)
#define STRINGIFY(S)
Converts a macro parameter into a string.
Definition assert.h:18
TextStream kout
Definition main.cc:7
Ensure (at execution time) an expression evaluates to true
, print an error message and stop the CPU otherwise.
- Parameters
-
EXP | The expression to be checked |
◆ kernelpanic
Value: do { \
Core::die(); \
} while (0)
#define DBG
An output stream, which is displayed in the debug window of the core it was executed on.
Definition output.h:37
OutputStream & flush(OutputStream &os)
Enforces a buffer flush.
Definition outputstream.cc:144
Print an error message in the debug window and stop the current core.
- Parameters
-