aboutsummaryrefslogtreecommitdiff
path: root/src/globals.c
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2022-02-04 18:24:31 -0700
committerChristian Cunningham <cc@localhost>2022-02-04 18:24:31 -0700
commit13b2bf797bdf4fab0115675c4d2541fff05e285c (patch)
tree6b622ffe738a8eb76e0c0f7050fab13d1bf1acad /src/globals.c
parent6e7f93d6a09865937dde1124a6c3f36eebcd9d82 (diff)
Implemented new Real-Time friendly Memory Allocation Scheme
Diffstat (limited to 'src/globals.c')
-rw-r--r--src/globals.c2
1 files changed, 2 insertions, 0 deletions
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;