aboutsummaryrefslogtreecommitdiff
path: root/include/sys
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2022-01-21 18:52:25 -0700
committerChristian Cunningham <cc@localhost>2022-01-21 18:52:25 -0700
commit0d551d712c098d6ebb75512340d7503da98361b4 (patch)
treead01fa489a37f70e3dd4e94bd22dc67381e05710 /include/sys
parentc7c1702dc66f5be0f8f07703e2c8e9f5bd8db80d (diff)
Got some scheduling
Diffstat (limited to 'include/sys')
-rw-r--r--include/sys/schedule.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/sys/schedule.h b/include/sys/schedule.h
index 4677aec..d5f3519 100644
--- a/include/sys/schedule.h
+++ b/include/sys/schedule.h
@@ -49,10 +49,11 @@ struct Scheduler {
void init_scheduler(void);
void add_thread(void* pc, void* arg, unsigned char priority);
void uart_scheduler(void);
+struct Thread* next_thread(void);
/// TODO: ENSURE IRQ/ FIQ entry switches
/// to user mode then calls the SVC call
extern void schedule(void);
+extern void cleanup(void);
// void yield(void);
-// struct Thread* next_thread(void);
#endif