summaryrefslogtreecommitdiff
path: root/src/kernel/main.c
diff options
context:
space:
mode:
authordzwdz2022-04-14 12:19:51 +0200
committerdzwdz2022-04-14 12:19:51 +0200
commit2eead2f6eab2aa1fbc727ce28d9fa9a8e90a1eec (patch)
treed4bb0ae50e5f612a4fae67763414f72ea1a85b8a /src/kernel/main.c
parentdcb2ce6337f54a9821e3971976a07e767846e3c1 (diff)
kernel: port init's `printf` implementation
Diffstat (limited to 'src/kernel/main.c')
-rw-r--r--src/kernel/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/kernel/main.c b/src/kernel/main.c
index e6aa878..19cc970 100644
--- a/src/kernel/main.c
+++ b/src/kernel/main.c
@@ -16,17 +16,17 @@ _Noreturn static void run_init(struct kmain_info *info) {
true, true);
proc->regs.eip = init_base;
- tty_const("switching...\n");
+ kprintf("switching...\n");
process_switch(proc);
}
void kmain(struct kmain_info info) {
- tty_const("mem...\n");
+ kprintf("mem...\n");
mem_init(&info);
- tty_const("tests...\n");
+ kprintf("tests...\n");
tests_all();
- tty_const("loading init...\n");
+ kprintf("loading init...\n");
run_init(&info);
}