aboutsummaryrefslogtreecommitdiff
path: root/include
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 /include
parent1b005b885a713199106587f3e6d8f53f0ecfdfcd (diff)
Visual view of memory map
Diffstat (limited to 'include')
-rw-r--r--include/lib/mem.h1
-rw-r--r--include/sys/schedule.h3
2 files changed, 4 insertions, 0 deletions
diff --git a/include/lib/mem.h b/include/lib/mem.h
index ea1be5d..655e648 100644
--- a/include/lib/mem.h
+++ b/include/lib/mem.h
@@ -41,6 +41,7 @@ void* calloca(unsigned char size, unsigned char amnt);
void free(void* memloc);
void* heap_base(void);
void* heap_top(void);
+void vheap_info(void);
void heap_info(void);
void heap_info_u(void);
diff --git a/include/sys/schedule.h b/include/sys/schedule.h
index d28ea6d..8a68e05 100644
--- a/include/sys/schedule.h
+++ b/include/sys/schedule.h
@@ -6,6 +6,9 @@
#define TQUEUE_CNT 5
#define PRIORITIES 6
#define MAX_THREADS TQUEUE_MAX*PRIORITIES*TQUEUE_CNT
+#define STACK_DRAW_YOFF 320
+#define STACK_DRAW_WIDTH 32
+#define STACK_DRAW_SIZE 3
enum ThreadStatus {
THREAD_READY = 0,