From 62ed27579222c4d387bcacfa1caa4c012172e607 Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Mon, 18 Apr 2022 21:40:41 +0200 Subject: [PATCH] Stuff --- Makefile | 2 +- kernel/kernel.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8b65e9b..d0a9572 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ LDFLAGS = -Wl,--oformat=binary -ffreestanding -nostdlib -shared -Ttext 0x1000 - # VM/Debug settings VM = qemu-system-x86_64 -VMFLAGS = -usb +VMFLAGS = -serial stdio # Do not touch these. diff --git a/kernel/kernel.c b/kernel/kernel.c index 9f53d9f..2edff12 100644 --- a/kernel/kernel.c +++ b/kernel/kernel.c @@ -65,6 +65,7 @@ void kernel_init() { clear_screen(); print_kernel_motd(); + print_kernel_stats(); char* buf; uint i = 0; @@ -76,5 +77,4 @@ void kernel_init() { printalign(buf, 0x0f, MIDDLE); ++i; } - //print_kernel_stats(); }