BarryServer : Git

All the code for all my projects
// BarryServer : Git / Nucleus / commit / c530261a6ef76632384504044bc0b0519a33938e / task / task.c

// Related

Nucleus

Barry Task queues and full scheduling c530261 (3 years, 3 months ago)
diff --git a/task/task.c b/task/task.c
index 507caae..9fafc6f 100644
--- a/task/task.c
+++ b/task/task.c
@@ -11,6 +11,7 @@
 #include <nucleus/memory.h>
 #include <nucleus/object.h>
 
+void init_scheduler(void);
 void timer_handler(struct InterruptFrame *frame);
 
 static void *task_new(void);
@@ -84,5 +85,6 @@ init_tasking(void)
 	current = new(&taskType);
 	asm volatile("mov %%cr3, %0" : "=r" (current->pageDir));
 
+	init_scheduler();
 	register_interrupt(0, timer_handler);
 }