X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fmalloc.h;h=3e145ad11c32bf0c9fcfb88c6d06f4895e8316d1;hb=6ab176d7091d21960a1bd89fcb7fd87b9e91aca1;hp=a38464e62915c05362179d14e9381e2174f5babb;hpb=84efbf4d144ff8aaed3cca036aebb1fe69eff3f4;p=oweals%2Fu-boot.git diff --git a/include/malloc.h b/include/malloc.h index a38464e629..3e145ad11c 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" */