Kernel: Move multiprocessor initialize after framebuffer is created
This allows getting output before multiprocessor is started.
This commit is contained in:
parent
54f64e7618
commit
6234a5bc0b
|
@ -125,8 +125,6 @@ extern "C" void kernel_main(uint32_t boot_magic, uint32_t boot_info)
|
||||||
SystemTimer::initialize(cmdline.force_pic);
|
SystemTimer::initialize(cmdline.force_pic);
|
||||||
dprintln("Timers initialized");
|
dprintln("Timers initialized");
|
||||||
|
|
||||||
InterruptController::get().initialize_multiprocessor();
|
|
||||||
|
|
||||||
DevFileSystem::initialize();
|
DevFileSystem::initialize();
|
||||||
dprintln("devfs initialized");
|
dprintln("devfs initialized");
|
||||||
|
|
||||||
|
@ -139,6 +137,8 @@ extern "C" void kernel_main(uint32_t boot_magic, uint32_t boot_info)
|
||||||
if (g_terminal_driver)
|
if (g_terminal_driver)
|
||||||
dprintln("Framebuffer terminal initialized");
|
dprintln("Framebuffer terminal initialized");
|
||||||
|
|
||||||
|
InterruptController::get().initialize_multiprocessor();
|
||||||
|
|
||||||
ProcFileSystem::initialize();
|
ProcFileSystem::initialize();
|
||||||
dprintln("procfs initialized");
|
dprintln("procfs initialized");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue