aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2022-02-13 13:02:18 -0700
committerChristian Cunningham <cc@localhost>2022-02-13 13:02:18 -0700
commit5643e3587507f3351a2ebeb44a5d95d13470741d (patch)
treeefb2ca6a7878f5206ed91befaa33eeb7118d0646 /include
parent91f828411617247abde3f0ace64389bb2050f794 (diff)
Remove unused queue
Diffstat (limited to 'include')
-rw-r--r--include/sys/schedule.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/sys/schedule.h b/include/sys/schedule.h
index 336ab4a..798786d 100644
--- a/include/sys/schedule.h
+++ b/include/sys/schedule.h
@@ -3,7 +3,7 @@
#define TQUEUE_MAX 0x100
#define STACK_SIZE 0x4000
-#define TQUEUE_CNT 5
+#define TQUEUE_CNT 4
#define PRIORITIES 6
#define MAX_THREADS TQUEUE_MAX*PRIORITIES*TQUEUE_CNT
#define STACK_DRAW_YOFF 320
@@ -14,8 +14,8 @@ enum ThreadStatus {
THREAD_READY = 0,
THREAD_MWAIT = 1,
THREAD_SWAIT = 2,
- THREAD_FINISH = 3, // Need to clean up
- THREAD_SERROR = 4, // Stack Error
+ THREAD_SERROR = 3, // Stack Error
+ THREAD_FINISH = 4, // Need to clean up
};
struct RStack {
@@ -45,7 +45,6 @@ struct ThreadQueues {
struct ThreadRotBuffer ready;
struct ThreadRotBuffer mwait;
struct ThreadRotBuffer swait;
- struct ThreadRotBuffer finish;
struct ThreadRotBuffer serror;
};