summaryrefslogtreecommitdiff
path: root/sys/include
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-04-26 22:36:40 -0400
committerIan Moffett <ian@osmora.org>2024-04-26 22:36:40 -0400
commit3b618741d5088062cc47f6b9894c039ac559a175 (patch)
tree3036e5dd35c2a54bd6fd1bb47d774ab0b24edcd8 /sys/include
parent4ec7e7ba3049a44862ac5854e5d3fe0b17eca535 (diff)
kernel: sched: Expose sched_init_stack()
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include')
-rw-r--r--sys/include/sys/sched.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/include/sys/sched.h b/sys/include/sys/sched.h
index 8245120..01a58fe 100644
--- a/sys/include/sys/sched.h
+++ b/sys/include/sys/sched.h
@@ -43,6 +43,7 @@ void sched_init(void);
void sched_exit(void);
void sched_context_switch(struct trapframe *tf);
void sched_rest(void);
+uintptr_t sched_init_stack(void *stack_top, struct exec_args args);
__noreturn
uint64_t sys_exit(struct syscall_args *args);