diff options
author | Christian Cunningham <cc@localhost> | 2022-02-04 18:24:31 -0700 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2022-02-04 18:24:31 -0700 |
commit | 13b2bf797bdf4fab0115675c4d2541fff05e285c (patch) | |
tree | 6b622ffe738a8eb76e0c0f7050fab13d1bf1acad /src/globals.c | |
parent | 6e7f93d6a09865937dde1124a6c3f36eebcd9d82 (diff) |
Implemented new Real-Time friendly Memory Allocation Scheme
Diffstat (limited to 'src/globals.c')
-rw-r--r-- | src/globals.c | 2 |
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; |