Kernel: Move print during boot
This commit is contained in:
parent
c38e8de6b5
commit
f83ae1e9c6
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue