From b2978f087f2df226dc877d3c881d1e0df2fbfd41 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Fri, 26 Apr 2024 16:43:21 -0400 Subject: kernel: sched: Move sys_exit() from kern_syscall.c Signed-off-by: Ian Moffett --- sys/include/sys/sched.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sys/include') diff --git a/sys/include/sys/sched.h b/sys/include/sys/sched.h index 6689e3b..8245120 100644 --- a/sys/include/sys/sched.h +++ b/sys/include/sys/sched.h @@ -34,6 +34,7 @@ #include #include #include +#include #include #include @@ -43,6 +44,9 @@ void sched_exit(void); void sched_context_switch(struct trapframe *tf); void sched_rest(void); +__noreturn +uint64_t sys_exit(struct syscall_args *args); + __noreturn void sched_init_processor(struct cpu_info *ci); -- cgit v1.2.3