summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordzwdz2022-03-06 18:01:31 +0100
committerdzwdz2022-03-06 18:01:31 +0100
commit1b1cda7368fe521faa1b0cb6461426c5e90e2686 (patch)
treea3a7dec69798ed373b6a09082a3d7a0e0a318249
parent34f4a68a41c27ff2d40c7fd6b168d40aa3481250 (diff)
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.
-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 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);
}