diff options
author | Christian Cunningham <cc@localhost> | 2022-01-21 15:03:55 -0700 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2022-01-21 15:03:55 -0700 |
commit | dfde56396867428de6a81f01689a7a828dc91217 (patch) | |
tree | b361957f370a168ac48177c6c952d38808000071 /include | |
parent | 367e20fa0c6f15e60d943cf222d41414fffd2318 (diff) |
Added scheduling info output
Diffstat (limited to 'include')
-rw-r--r-- | include/sys/schedule.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/sys/schedule.h b/include/sys/schedule.h index c110533..4677aec 100644 --- a/include/sys/schedule.h +++ b/include/sys/schedule.h @@ -2,7 +2,7 @@ #define SYS_SCHEDULE_H #define TQUEUE_MAX 0x100 -#define STACK_SIZE 0x1000 +#define STACK_SIZE 0x4000 #define TQUEUE_CNT 5 #define PRIORITIES 6 #define MAX_THREADS TQUEUE_MAX*PRIORITIES*TQUEUE_CNT @@ -47,7 +47,8 @@ struct Scheduler { void init_scheduler(void); -// void add_thread(void* pc, void* arg, unsigned char priority); +void add_thread(void* pc, void* arg, unsigned char priority); +void uart_scheduler(void); /// TODO: ENSURE IRQ/ FIQ entry switches /// to user mode then calls the SVC call extern void schedule(void); |