BarryServer : Git

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

// Related

Nucleus

Barry Virtual Memory Regions and namespace 381dc7b (3 years, 3 months ago)
diff --git a/task/scheduler.c b/task/scheduler.c
index 5cb1440..3a9605c 100644
--- a/task/scheduler.c
+++ b/task/scheduler.c
@@ -28,7 +28,7 @@ switch_to_task(Task *task)
 	}
 
 	/* Switch to new context */
-	current = task; /* Use the passed reference */
+	current = task; /* Given reference, so no get() */
 	asm volatile (
 		"cli;"
 		"movl %0, %%ecx;"