mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-13 10:26:37 +02:00
Move the scheduler code to its own class.
This is very mechanical.
This commit is contained in:
Notes:
sideshowbarker
2024-07-19 18:32:14 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/39d2fcbbee3
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user