diff options
Diffstat (limited to 'src/kernel/system.h')
-rw-r--r-- | src/kernel/system.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/kernel/system.h b/src/kernel/system.h index 90535f6..29097bd 100644 --- a/src/kernel/system.h +++ b/src/kernel/system.h @@ -76,6 +76,12 @@ void info(const char *fmt, ...); void warn(const char *fmt, ...); /** + * Log into serial console + * @param msg The log string + */ +void log(const char *fmt, ...); + +/** * Halt the entire system and display a message * TODO: Add line number and file name * @param msg The error cause/reason |