aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsotech117 <michael_foiani@brown.edu>2024-02-11 07:36:58 +0000
committersotech117 <michael_foiani@brown.edu>2024-02-11 07:36:58 +0000
commitf16ac7d652fc2991ac4a7dcd97ed17237a393c97 (patch)
tree69eccf7c857127b47f9157c7e9e28bcbc3d47142
parent6cfe0ddd014597113e0635fcdecba9db0cc2c64b (diff)
add small todo
-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
}
/*