aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/sys/schedule.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/sys/schedule.h b/include/sys/schedule.h
index 3c86d22..0a5de37 100644
--- a/include/sys/schedule.h
+++ b/include/sys/schedule.h
@@ -1,6 +1,7 @@
#ifndef SYS_SCHEDULE_H
#define SYS_SCHEDULE_H
+// If TQUEUE_MAX is changed, ensure sys/schedule.S's value gets changed
#define TQUEUE_MAX 0x100
#define STACK_SIZE 0x4000
#define TQUEUE_CNT 4
@@ -59,8 +60,6 @@ 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);