Kernel: Move multiprocessor initialize after framebuffer is created

This allows getting output before multiprocessor is started.
This commit is contained in:
Bananymous 2024-03-06 16:00:19 +02:00
parent 54f64e7618
commit 6234a5bc0b
1 changed files with 2 additions and 2 deletions

View File

@ -125,8 +125,6 @@ extern "C" void kernel_main(uint32_t boot_magic, uint32_t boot_info)
SystemTimer::initialize(cmdline.force_pic);
dprintln("Timers initialized");
InterruptController::get().initialize_multiprocessor();
DevFileSystem::initialize();
dprintln("devfs initialized");
@ -139,6 +137,8 @@ extern "C" void kernel_main(uint32_t boot_magic, uint32_t boot_info)
if (g_terminal_driver)
dprintln("Framebuffer terminal initialized");
InterruptController::get().initialize_multiprocessor();
ProcFileSystem::initialize();
dprintln("procfs initialized");