Kernel: Move print during boot

This commit is contained in:
Bananymous 2023-06-12 22:37:34 +03:00
parent c38e8de6b5
commit f83ae1e9c6
1 changed files with 4 additions and 1 deletions

View File

@ -110,13 +110,16 @@ extern "C" void kernel_main()
DISABLE_INTERRUPTS();
if (!should_disable_serial())
{
Serial::initialize();
dprintln("Serial output initialized");
}
if (g_multiboot_magic != 0x2BADB002)
{
dprintln("Invalid multiboot magic number");
return;
}
dprintln("Serial output initialized");
kmalloc_initialize();
dprintln("kmalloc initialized");