diff options
| author | Christian Cunningham <cc@localhost> | 2022-01-23 16:23:56 -0700 | 
|---|---|---|
| committer | Christian Cunningham <cc@localhost> | 2022-01-23 16:23:56 -0700 | 
| commit | 741e7431d013c7fda4a1b8b34bcc2dfa1ecda039 (patch) | |
| tree | 0301b7de87c34e13b3028e80fbf34bb93c2d58c6 /src/sys | |
| parent | 1b005b885a713199106587f3e6d8f53f0ecfdfcd (diff) | |
Visual view of memory map
Diffstat (limited to 'src/sys')
| -rw-r--r-- | src/sys/schedule.c | 4 | 
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); | 
