aboutsummaryrefslogtreecommitdiff
path: root/sys/include
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-04-26 16:43:21 -0400
committerIan Moffett <ian@osmora.org>2024-04-26 16:44:42 -0400
commitb2978f087f2df226dc877d3c881d1e0df2fbfd41 (patch)
treeef181592c86fbe8313f9378b94dfa2638ef3e8a9 /sys/include
parent6a6717b1e4f3f85a09fa48ee11e5421771995493 (diff)
kernel: sched: Move sys_exit() from kern_syscall.c
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include')
-rw-r--r--sys/include/sys/sched.h4
1 files changed, 4 insertions, 0 deletions
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 <sys/queue.h>
#include <sys/types.h>
#include <sys/spinlock.h>
+#include <sys/syscall.h>
#include <machine/cpu.h>
#include <machine/frame.h>
@@ -44,6 +45,9 @@ 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);
#endif /* !_SYS_SCHED_H_ */