mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 19:25:10 +00:00
Move the scheduler code to its own class.
This is very mechanical.
This commit is contained in:
parent
6304c771dd
commit
39d2fcbbee
8 changed files with 336 additions and 318 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue