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(); }