summaryrefslogtreecommitdiff
path: root/sys/include
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-05-31 01:22:50 -0400
committerIan Moffett <ian@osmora.org>2025-05-31 01:52:35 -0400
commitd3d30751c49cadf015c4ebb5eaebe6dcefd982b4 (patch)
tree707d3b2ce7bc01114ea77aaf36007f1baf853971 /sys/include
parent2bb882d1b394109f555789ba30e2cedc727c58e1 (diff)
kernel: sched: Add sched_switch_to()
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include')
-rw-r--r--sys/include/sys/sched.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/include/sys/sched.h b/sys/include/sys/sched.h
index 80f4d1c..7d17607 100644
--- a/sys/include/sys/sched.h
+++ b/sys/include/sys/sched.h
@@ -37,6 +37,8 @@
void sched_init(void);
void sched_yield(void);
+
+void sched_switch_to(struct trapframe *tf, struct proc *td);
void sched_detach(struct proc *td);
__dead void sched_enter(void);