aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kernel/proc/sched.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/proc/sched.c b/kernel/proc/sched.c
index 2e69634..26d0b22 100644
--- a/kernel/proc/sched.c
+++ b/kernel/proc/sched.c
@@ -241,6 +241,8 @@ void sched_switch(ktqueue_t *queue)
intr_setipl(IPL_LOW); // allow interrupts to wake up the idling core
intr_enable();
context_switch(&curthr->kt_ctx, &curcore.kc_ctx);
+
+ // TODO: ask about why we need the old thread context
}
/*