diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/cpu/irq.h | 2 | ||||
-rw-r--r-- | include/sys/schedule.h | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/include/cpu/irq.h b/include/cpu/irq.h index 807df46..03402ff 100644 --- a/include/cpu/irq.h +++ b/include/cpu/irq.h @@ -19,6 +19,6 @@ static inline void disablefiq(void) } void c_irq_handler(void); -void c_fiq_handler(void); +unsigned long c_fiq_handler(void); #endif 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 |