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)