forked from Bananymous/banan-os
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();
|
DISABLE_INTERRUPTS();
|
||||||
|
|
||||||
if (!should_disable_serial())
|
if (!should_disable_serial())
|
||||||
|
{
|
||||||
Serial::initialize();
|
Serial::initialize();
|
||||||
|
dprintln("Serial output initialized");
|
||||||
|
}
|
||||||
|
|
||||||
if (g_multiboot_magic != 0x2BADB002)
|
if (g_multiboot_magic != 0x2BADB002)
|
||||||
{
|
{
|
||||||
dprintln("Invalid multiboot magic number");
|
dprintln("Invalid multiboot magic number");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
dprintln("Serial output initialized");
|
|
||||||
|
|
||||||
kmalloc_initialize();
|
kmalloc_initialize();
|
||||||
dprintln("kmalloc initialized");
|
dprintln("kmalloc initialized");
|
||||||
|
|
Loading…
Reference in New Issue