summaryrefslogtreecommitdiff
path: root/include/malloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/malloc.h')
-rw-r--r--include/malloc.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/malloc.h b/include/malloc.h
index a38464e..3e145ad 100644
--- a/include/malloc.h
+++ b/include/malloc.h
@@ -937,6 +937,14 @@ int mALLOPt();
struct mallinfo mALLINFo();
#endif
+/*
+ * Begin and End of memory area for malloc(), and current "brk"
+ */
+extern ulong mem_malloc_start;
+extern ulong mem_malloc_end;
+extern ulong mem_malloc_brk;
+
+void mem_malloc_init(ulong start, ulong size);
#ifdef __cplusplus
}; /* end of extern "C" */