BarryServer : Git

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

// Related

Nucleus

Barry Safe interrupt disable and restore b5be0ef (3 years, 3 months ago)
diff --git a/task/scheduler.c b/task/scheduler.c
index 85cc904..115722e 100644
--- a/task/scheduler.c
+++ b/task/scheduler.c
@@ -13,15 +13,6 @@
 
 TaskQueue *readyQueue[PRIORITY_COUNT];
 
-/* Read the EIP */
-static uintptr_t
-read_eip(void)
-{
-	uintptr_t eip;
-	asm volatile("movl 4(%%ebp), %0" : "=r" (eip));
-	return eip;
-}
-
 /* Switch to a task */
 static void
 switch_to_task(Task *task)