summaryrefslogtreecommitdiff
path: root/src/kernel/log.h
diff options
context:
space:
mode:
authorBenji Dial <benji6283@gmail.com>2020-09-06 13:44:20 -0400
committerBenji Dial <benji6283@gmail.com>2020-09-06 13:44:20 -0400
commit73bb0e48640b842824a0b45fe4854df8ff7faf7b (patch)
tree077dec8a426db1e835393964da4736e91ff4c69d /src/kernel/log.h
parentcbc85f6e897808b29e2f712156e2fa4d073d8277 (diff)
downloadportland-os-73bb0e48640b842824a0b45fe4854df8ff7faf7b.tar.gz
bugfixes, init program, hello world
Diffstat (limited to 'src/kernel/log.h')
-rw-r--r--src/kernel/log.h7
1 files changed, 7 insertions, 0 deletions
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);