Scheduler with working threads.

Currently only one process but it is a start.
This commit is contained in:
Drew Galbraith 2023-05-18 13:24:02 -07:00
parent 960cbf9519
commit cb41953354
10 changed files with 136 additions and 5 deletions

View file

@ -18,6 +18,8 @@ extern "C" void zion() {
phys_mem::InitPhysicalMemoryManager();
sched::InitScheduler();
sched::EnableScheduler();
sched::Yield();
dbgln("Sleeping!");
while (1)