mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2025-12-12 04:34:43 +04:00
TLSF memory allocator. Less free flash, moar free ram. (#3572)
* add tlsf as submodule * libs: tlsf * Furi: tlsf as allocator * Furi: heap walker * shmal fixshesh * f18: tlsf * PVS: ignore tlsf * I like to moving * merge upcoming changes * memmgr: alloc aligned, realloc * Furi: distinct name for auxiliary memory pool * Furi: put idle and timer thread to mem2 * Furi: fix smal things in allocator * Furi: remove aligned_free. Use free instead. * aligned_malloc -> aligned_alloc * aligned_alloc, parameters order * aligned_alloc: check that alignment is correct * unit test: malloc * unit tests: realloc and test with memory fragmentation * unit tests: aligned_alloc * update api * updater: properly read large update file Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
entry,status,name,type,params
|
||||
Version,+,61.3,,
|
||||
Version,+,62.0,,
|
||||
Header,+,applications/services/bt/bt_service/bt.h,,
|
||||
Header,+,applications/services/cli/cli.h,,
|
||||
Header,+,applications/services/cli/cli_vcp.h,,
|
||||
@@ -515,9 +515,7 @@ Function,-,acosh,double,double
|
||||
Function,-,acoshf,float,float
|
||||
Function,-,acoshl,long double,long double
|
||||
Function,-,acosl,long double,long double
|
||||
Function,-,aligned_alloc,void*,"size_t, size_t"
|
||||
Function,+,aligned_free,void,void*
|
||||
Function,+,aligned_malloc,void*,"size_t, size_t"
|
||||
Function,+,aligned_alloc,void*,"size_t, size_t"
|
||||
Function,-,arc4random,__uint32_t,
|
||||
Function,-,arc4random_buf,void,"void*, size_t"
|
||||
Function,-,arc4random_uniform,__uint32_t,__uint32_t
|
||||
@@ -1984,7 +1982,8 @@ Function,+,memchr,void*,"const void*, int, size_t"
|
||||
Function,+,memcmp,int,"const void*, const void*, size_t"
|
||||
Function,+,memcpy,void*,"void*, const void*, size_t"
|
||||
Function,-,memmem,void*,"const void*, size_t, const void*, size_t"
|
||||
Function,-,memmgr_alloc_from_pool,void*,size_t
|
||||
Function,+,memmgr_aux_pool_alloc,void*,size_t
|
||||
Function,+,memmgr_aux_pool_get_free,size_t,
|
||||
Function,+,memmgr_get_free_heap,size_t,
|
||||
Function,+,memmgr_get_minimum_free_heap,size_t,
|
||||
Function,+,memmgr_get_total_heap,size_t,
|
||||
@@ -1992,8 +1991,7 @@ Function,+,memmgr_heap_disable_thread_trace,void,FuriThreadId
|
||||
Function,+,memmgr_heap_enable_thread_trace,void,FuriThreadId
|
||||
Function,+,memmgr_heap_get_max_free_block,size_t,
|
||||
Function,+,memmgr_heap_get_thread_memory,size_t,FuriThreadId
|
||||
Function,+,memmgr_heap_printf_free_blocks,void,
|
||||
Function,-,memmgr_pool_get_free,size_t,
|
||||
Function,+,memmgr_heap_walk_blocks,void,"BlockWalker, void*"
|
||||
Function,-,memmgr_pool_get_max_block,size_t,
|
||||
Function,+,memmove,void*,"void*, const void*, size_t"
|
||||
Function,-,mempcpy,void*,"void*, const void*, size_t"
|
||||
|
||||
|
@@ -13,6 +13,7 @@
|
||||
"print",
|
||||
"flipper18",
|
||||
"furi",
|
||||
"tlsf",
|
||||
"freertos",
|
||||
"stm32wb",
|
||||
"hwdrivers",
|
||||
@@ -68,4 +69,4 @@
|
||||
"ibutton",
|
||||
"infrared"
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user