summaryrefslogtreecommitdiff
path: root/os/src/malloc.c
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2011-01-26 23:04:31 +0100
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2011-01-26 23:04:31 +0100
commite1677a34840ea225d54d216757172907ebb78c0b (patch)
treed86fbfbb352dafcfd4c8d931495a15f682e9fef2 /os/src/malloc.c
parent2737d81d205a1cf086197fc2f75445e491d18c1f (diff)
Adding debugging system for the os layer.
Diffstat (limited to 'os/src/malloc.c')
-rw-r--r--os/src/malloc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/os/src/malloc.c b/os/src/malloc.c
index 539d976..0906cc0 100644
--- a/os/src/malloc.c
+++ b/os/src/malloc.c
@@ -1,6 +1,8 @@
#include <reent.h>
#include <malloc.h>
+#include <osdebug.h>
void * malloc(size_t size) {
+ DBGOUT("malloc(%u)\r\n", size);
return _malloc_r(_impure_ptr, size);
}