feat(scheduler): working scheduler
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
#include <VM/Heap.h>
|
||||
#include <OS/Log.h>
|
||||
#include <OS/Panic.h>
|
||||
#include <OS/Scheduler.h>
|
||||
|
||||
void KernelMain(Bootinfo* bootinfo) {
|
||||
OSLog("Kernel started.\n");
|
||||
@@ -16,6 +17,7 @@ void KernelMain(Bootinfo* bootinfo) {
|
||||
}
|
||||
|
||||
VMBootMemoryMap bootMap = {0};
|
||||
|
||||
bootMap.reservedCount = 0;
|
||||
DTBParse(bootinfo->dtb, &bootMap);
|
||||
|
||||
@@ -30,5 +32,7 @@ void KernelMain(Bootinfo* bootinfo) {
|
||||
TimerInitialize();
|
||||
CPUEnableInterrupts();
|
||||
|
||||
SchedulerInitialize();
|
||||
|
||||
OSLog("Kernel initialized.\n");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user