diff options
Diffstat (limited to 'src/kernel/main.c')
-rw-r--r-- | src/kernel/main.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/kernel/main.c b/src/kernel/main.c index 1fe8e7b..2f63d71 100644 --- a/src/kernel/main.c +++ b/src/kernel/main.c @@ -10,8 +10,8 @@ #include "pmap.h" #include "task.h" #include "pci.h" -#include "log.h" #include "elf.h" +#include "log.h" #include "vga.h" void reset_tree(); @@ -27,7 +27,8 @@ void main() { init_paging(); init_tasks(); init_serial(); - init_log(); + set_log_mode(LOG_SYSTEM); + vga_blank(); logsz("Portland v0.0.11\n\n"); @@ -146,6 +147,7 @@ void main() { init_idt(); - vga_set_color(0x07); + set_log_mode(LOG_USER); + logch('\n'); _start_user_mode(); }
\ No newline at end of file |