diff options
Diffstat (limited to 'include/sys')
-rw-r--r-- | include/sys/schedule.h | 3 |
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 |