some lib docs
This commit is contained in:
@@ -3,7 +3,8 @@
|
||||
#include <arch.h>
|
||||
#include <printf.h>
|
||||
|
||||
// In arch code, make sure arch_api.panic and arch_api.console.putchar is set up befire calling
|
||||
// Make sure `arch_api.panic` and `arch_api.console.putchar` is intialized if calling from architecure-specific code.
|
||||
// Will be compiled out if `DEBUG` is not defined.
|
||||
static inline void assert(bool condition, const char* msg)
|
||||
{
|
||||
#if DEBUG
|
||||
|
||||
Reference in New Issue
Block a user