aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
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;