mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-26 06:18:59 +00:00
Kernel: Move ConsoleDevice initialization just after kmalloc init
This will ensure we will get all the kernel log on the second tty.
This commit is contained in:
parent
dbccfc3281
commit
8cbf3d88ff
Notes:
sideshowbarker
2024-07-18 18:00:13 +09:00
Author: https://github.com/supercomputer7
Commit: 8cbf3d88ff
Pull-request: https://github.com/SerenityOS/serenity/pull/6277
Reviewed-by: https://github.com/ElectrodeYT
Reviewed-by: https://github.com/awesomekling
1 changed files with 1 additions and 2 deletions
|
@ -125,6 +125,7 @@ extern "C" UNMAP_AFTER_INIT [[noreturn]] void init()
|
|||
kmalloc_init();
|
||||
slab_alloc_init();
|
||||
|
||||
ConsoleDevice::initialize();
|
||||
s_bsp_processor.initialize(0);
|
||||
|
||||
CommandLine::initialize();
|
||||
|
@ -139,8 +140,6 @@ extern "C" UNMAP_AFTER_INIT [[noreturn]] void init()
|
|||
for (ctor_func_t* ctor = &start_ctors; ctor < &end_ctors; ctor++)
|
||||
(*ctor)();
|
||||
|
||||
ConsoleDevice::initialize();
|
||||
|
||||
APIC::initialize();
|
||||
InterruptManagement::initialize();
|
||||
ACPI::initialize();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue