From 73bb0e48640b842824a0b45fe4854df8ff7faf7b Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Sun, 6 Sep 2020 13:44:20 -0400 Subject: bugfixes, init program, hello world --- src/kernel/log.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/kernel/log.h') diff --git a/src/kernel/log.h b/src/kernel/log.h index ff2a7a2..90a94f4 100644 --- a/src/kernel/log.h +++ b/src/kernel/log.h @@ -1,7 +1,14 @@ #ifndef LOG_H #define LOG_H +enum log_mode { + LOG_SYSTEM, + LOG_USER, + LOG_PANIC +}; + void init_log(); +void set_log_mode(enum log_mode mode); void logch(char ch); void logsz(const char *sz); -- cgit v1.2.3