From 1b1cda7368fe521faa1b0cb6461426c5e90e2686 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sun, 6 Mar 2022 18:01:31 +0100 Subject: kernel: print newlines after every boot stage IIRC i haven't done this because the vga driver doesn't support newlines - but it doesn't support a lot of other stuff used by the shell. This doesn't make the VGA output look any worse than it already did, and it makes the serial output nicer. --- src/kernel/main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/kernel/main.c b/src/kernel/main.c index 425b417..e6aa878 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..."); + tty_const("switching...\n"); process_switch(proc); } void kmain(struct kmain_info info) { - tty_const("mem..."); + tty_const("mem...\n"); mem_init(&info); - tty_const("tests..."); + tty_const("tests...\n"); tests_all(); - tty_const("loading init..."); + tty_const("loading init...\n"); run_init(&info); } -- cgit v1.2.3