Add Scheduler wireframe.
Right now does nothing but has containing classes for process and thread information.
This commit is contained in:
parent
de2c96b848
commit
960cbf9519
8 changed files with 208 additions and 1 deletions
|
|
@ -6,6 +6,7 @@
|
|||
#include "memory/kernel_heap.h"
|
||||
#include "memory/paging_util.h"
|
||||
#include "memory/physical_memory.h"
|
||||
#include "scheduler/scheduler.h"
|
||||
|
||||
extern "C" void zion() {
|
||||
InitGdt();
|
||||
|
|
@ -15,7 +16,8 @@ extern "C" void zion() {
|
|||
phys_mem::InitBootstrapPageAllocation();
|
||||
KernelHeap heap(0xFFFFFFFF'40000000, 0xFFFFFFFF'80000000);
|
||||
phys_mem::InitPhysicalMemoryManager();
|
||||
heap.Allocate(0x2000);
|
||||
|
||||
sched::InitScheduler();
|
||||
|
||||
dbgln("Sleeping!");
|
||||
while (1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue