aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2022-01-11 09:32:31 -0700
committerChristian Cunningham <cc@localhost>2022-01-11 09:32:31 -0700
commit516df5812ac64d87ac2e32ebf0211534ea0abaa7 (patch)
tree2850df144c282e96dfa15a6413b3ba0a29cdf9c4 /src/lib
parent6d4d2fe7fc4a0d2c70b64d9c232ef2758dd8bf80 (diff)
Update stuff
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/mem.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/mem.c b/src/lib/mem.c
index f8a8cc5..ed6d23f 100644
--- a/src/lib/mem.c
+++ b/src/lib/mem.c
@@ -47,6 +47,7 @@ unsigned char memcmp32(unsigned long* a, unsigned long* b, unsigned int n)
static unsigned char rpi_heap[MAX_MM] = {0,};
static void* rpi_heap_top = &rpi_heap;
+// TODO: Put size at end and cleanup from tail
void* malloc(unsigned char size)
{
unsigned char* mem = (unsigned char*)rpi_heap;