projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lacie_kw: fix SDRAM banks number for net2big_v2
[oweals/u-boot.git]
/
include
/
malloc.h
diff --git
a/include/malloc.h
b/include/malloc.h
index a38464e62915c05362179d14e9381e2174f5babb..ecf3c678fe4b0065c7dd622c124e956a5fe32777 100644
(file)
--- a/
include/malloc.h
+++ b/
include/malloc.h
@@
-285,14
+285,6
@@
extern "C" {
*/
*/
-#ifdef DEBUG
-/* #include <assert.h> */
-#define assert(x) ((void)0)
-#else
-#define assert(x) ((void)0)
-#endif
-
-
/*
INTERNAL_SIZE_T is the word-size used for internal bookkeeping
of chunk sizes. On a 64-bit machine, you can reduce malloc
/*
INTERNAL_SIZE_T is the word-size used for internal bookkeeping
of chunk sizes. On a 64-bit machine, you can reduce malloc
@@
-937,6
+929,14
@@
int mALLOPt();
struct mallinfo mALLINFo();
#endif
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" */
#ifdef __cplusplus
}; /* end of extern "C" */