aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2022-02-20 17:04:02 -0700
committerChristian Cunningham <cc@localhost>2022-02-20 17:04:02 -0700
commit2cc868645671f8d1759a3981b2f0a54e17c539d1 (patch)
treeeb0e808022927992fcd52d32e5bad1aa62421d14 /include
parentde1b3b3763c90d3405d496f4ac7358d9b5ffbcc8 (diff)
Update comments
Diffstat (limited to 'include')
-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);