From 13b2bf797bdf4fab0115675c4d2541fff05e285c Mon Sep 17 00:00:00 2001 From: Christian Cunningham Date: Fri, 4 Feb 2022 18:24:31 -0700 Subject: Implemented new Real-Time friendly Memory Allocation Scheme --- src/globals.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/globals.c') diff --git a/src/globals.c b/src/globals.c index 6e2e70c..7560d82 100644 --- a/src/globals.c +++ b/src/globals.c @@ -10,6 +10,8 @@ char* os_info_v = "?"; char* os_info_v = VERSION; #endif +__attribute__((section(".bss.kmem"))) unsigned char kmem_begin[0x2000000]; +__attribute__((section(".bss"))) unsigned char kmem_lookup[0xD000]; __attribute__((section(".bss"))) unsigned long exe_cnt; __attribute__((section(".bss"))) struct Mutex exe_cnt_m; __attribute__((section(".bss"))) unsigned long nextpid; -- cgit v1.2.1