aboutsummaryrefslogtreecommitdiff
path: root/sys/include
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-03-15 18:39:47 -0400
committerIan Moffett <ian@osmora.org>2024-03-15 19:56:09 -0400
commit1e7a1c0d90f6eb339e3e68c7b91bb21e81e06d5c (patch)
treeda862150dbebe2e3ac0e9dea37d4f84887b073a2 /sys/include
parentec2da40e65346bd5d3055777a76852892da21ea7 (diff)
kernel: sched: Add routine to get current thread
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 f06c104..1fa947e 100644
--- a/sys/include/sys/sched.h
+++ b/sys/include/sys/sched.h
@@ -37,6 +37,7 @@
#include <machine/cpu.h>
#include <machine/frame.h>
+struct proc *this_td(void);
void sched_init(void);
void sched_exit(void);
void sched_context_switch(struct trapframe *tf);