aboutsummaryrefslogtreecommitdiff
path: root/src/sys
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2022-01-23 16:23:56 -0700
committerChristian Cunningham <cc@localhost>2022-01-23 16:23:56 -0700
commit741e7431d013c7fda4a1b8b34bcc2dfa1ecda039 (patch)
tree0301b7de87c34e13b3028e80fbf34bb93c2d58c6 /src/sys
parent1b005b885a713199106587f3e6d8f53f0ecfdfcd (diff)
Visual view of memory map
Diffstat (limited to 'src/sys')
-rw-r--r--src/sys/schedule.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/sys/schedule.c b/src/sys/schedule.c
index ad7feec..0e9df78 100644
--- a/src/sys/schedule.c
+++ b/src/sys/schedule.c
@@ -52,9 +52,7 @@ struct RStack get_stack(void)
void draw_stacks(void)
{
unsigned long ioff = 0;
- unsigned long yoff = 320;
-#define STACK_DRAW_WIDTH 32
-#define STACK_DRAW_SIZE 3
+ unsigned long yoff = STACK_DRAW_YOFF;
for(int i = 0; i < MAX_THREADS; i++) {
if(stacks_table[i])
draw_cbox(ioff, yoff, STACK_DRAW_SIZE, STACK_DRAW_SIZE, 0xFFFFFF);