From 2eead2f6eab2aa1fbc727ce28d9fa9a8e90a1eec Mon Sep 17 00:00:00 2001 From: dzwdz Date: Thu, 14 Apr 2022 12:19:51 +0200 Subject: kernel: port init's `printf` implementation --- src/kernel/main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/kernel/main.c') 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); } -- cgit v1.2.3