From 3b618741d5088062cc47f6b9894c039ac559a175 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Fri, 26 Apr 2024 22:36:40 -0400 Subject: kernel: sched: Expose sched_init_stack() Signed-off-by: Ian Moffett --- sys/include/sys/sched.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/include') 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); -- cgit v1.2.3