forked from len0rd/rockbox
malloc(), best-fit for big blocks, small blocks treated separately, all
details in THOUGHTS. No headers and stuff added yet. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@569 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e14e13df5c
commit
1dd21edacf
12 changed files with 2110 additions and 0 deletions
6
firmware/test/malloc/bmalloc.h
Normal file
6
firmware/test/malloc/bmalloc.h
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
int bmalloc_add_pool(void *start, size_t size);
|
||||
void bmalloc_status(void);
|
||||
|
||||
void *bmalloc(size_t size);
|
||||
void bfree(void *ptr);
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue