diff options
author | Christian Cunningham <cc@localhost> | 2022-01-11 18:05:00 -0700 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2022-01-11 18:05:00 -0700 |
commit | 5b3ceca69d5432f976ac487c63a75f8c6275028b (patch) | |
tree | c932890424d8e30ea61a7a406967f8d6e2daf39f /include/lib | |
parent | 516df5812ac64d87ac2e32ebf0211534ea0abaa7 (diff) |
Memory freeing is optimized
Fixed Uart Bug temporarily
Diffstat (limited to 'include/lib')
-rw-r--r-- | include/lib/mem.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/lib/mem.h b/include/lib/mem.h index 5c5cc94..166dfdc 100644 --- a/include/lib/mem.h +++ b/include/lib/mem.h @@ -1,6 +1,11 @@ #ifndef LIB_MEM_H #define LIB_MEM_H +#define MEM_SIZE_OFFSET 0 +#define MEM_USE_OFFSET 1 +#define MEM_BASE_SIZE 2 +#define MEM_META_SIZE 3 + struct MemTab { unsigned char size; unsigned char in_use; |