diff options
author | Andreas Kling <awesomekling@gmail.com> | 2018-11-07 22:15:02 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2018-11-07 22:15:02 +0100 |
commit | 39d2fcbbee39b1cb65a801a45fdedf4e3f6ff2ad (patch) | |
tree | 75893f04e0335277a7c052e0ac1b14700bef6571 /Kernel/init.cpp | |
parent | 6304c771dd685549bfcd6fe78f29d77876df8a6c (diff) | |
download | serenity-39d2fcbbee39b1cb65a801a45fdedf4e3f6ff2ad.zip |
Move the scheduler code to its own class.
This is very mechanical.
Diffstat (limited to 'Kernel/init.cpp')
-rw-r--r-- | Kernel/init.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Kernel/init.cpp b/Kernel/init.cpp index 8029b063b1..457d98689c 100644 --- a/Kernel/init.cpp +++ b/Kernel/init.cpp @@ -26,6 +26,7 @@ #include "ProcFileSystem.h" #include "RTC.h" #include "VirtualConsole.h" +#include "Scheduler.h" #define TEST_VFS #define KSYMS @@ -311,7 +312,7 @@ void init() Process::create_kernel_process(undertaker_main, "undertaker"); Process::create_kernel_process(init_stage2, "init"); - scheduleNewProcess(); + Scheduler::pick_next(); sti(); |