]> git.sur5r.net Git - u-boot/blobdiff - include/malloc.h
Net: Clean up LAN91C96 Support
[u-boot] / include / malloc.h
index 47154b0783f9dc173d9c0ec8183d916c3246e5c6..3e145ad11c32bf0c9fcfb88c6d06f4895e8316d1 100644 (file)
 */
 
 \f
-
+#ifndef __MALLOC_H__
+#define __MALLOC_H__
 
 /* Preliminaries */
 
@@ -936,7 +937,17 @@ 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" */
 #endif
+
+#endif /* __MALLOC_H__ */