esp-idf/components/heap
Guillaume Souchere d4de73cd2c heap: update the calculation of fl index max and use bitfield in control_t
The calculation of fl index max is changed to always be the smallest
number that includes the size of the registered memory.

The control_construct() function now checks for minimum size as the control structure
parameters are calculated.

There is no longer a minimum configuration for fl index max so the tlsf_config
enum is striped down to remove unecessary compile time values.

the tlsf_size() function will fail if no tlsf pointer is passed as parameter since there
is no way to calculate a default tlsf size anymore.

bitfields are now used in control_t when possible which reduces the size of the structure
from 56 bytes to 36 bytes.
2022-10-27 09:36:17 +02:00
..
include heap: remove misleading info about malloc being equivalent to heap_caps_malloc(p, MALLOC_CAP_8BIT) 2022-09-01 14:33:03 +08:00
port bugfix: DCache data memory is dma accessible but not retention dma accessible 2022-08-09 20:56:51 +08:00
test heap: Add test to check that the corruption of free memory is detected 2022-08-26 07:51:29 +02:00
test_multi_heap_host add host test with multiple heap size 2022-09-20 07:55:24 +02:00
CMakeLists.txt G0: Memory layouts are now part of heap components 2021-07-15 11:38:23 +10:00
component.mk G0: Memory layouts are now part of heap components 2021-07-15 11:38:23 +10:00
heap_caps_init.c G0: Memory layouts are now part of heap components 2021-07-15 11:38:23 +10:00
heap_caps.c heap: add a unit test for malloc(0) and slightly optimize heap_caps_malloc_prefer 2022-08-10 11:41:01 +08:00
heap_private.h Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
heap_task_info.c heap: Add task tracking option for heap usage monitoring 2018-02-20 10:32:06 +11:00
heap_tlsf_block_functions.h heap: update the calculation of fl index max and use bitfield in control_t 2022-10-27 09:36:17 +02:00
heap_tlsf_config.h heap: update the calculation of fl index max and use bitfield in control_t 2022-10-27 09:36:17 +02:00
heap_tlsf.c heap: update the calculation of fl index max and use bitfield in control_t 2022-10-27 09:36:17 +02:00
heap_tlsf.h heap: update the calculation of fl index max and use bitfield in control_t 2022-10-27 09:36:17 +02:00
heap_trace_standalone.c heap: Separate standalone and common part of tracing module 2019-04-01 15:56:15 +03:00
Kconfig heap: use hal specific API to get cpu cycles count 2021-06-22 14:14:10 +08:00
linker.lf components: fix ldgen check errors 2021-01-19 11:17:18 +08:00
multi_heap_config.h heap: add tlsf config specific to the host test 2020-11-12 11:07:46 +11:00
multi_heap_internal.h heap: fix unaligned memory bug when poisoning is enabled. 2021-02-01 11:58:42 +08:00
multi_heap_platform.h freertos: Add portTRY_ENTRY_CRITICAL() and deprecate legacy spinlock fucntions 2021-11-22 18:42:10 +08:00
multi_heap_poisoning.c heap: fix unaligned memory bug when poisoning is enabled. 2021-02-01 11:58:42 +08:00
multi_heap.c heap: update the calculation of fl index max and use bitfield in control_t 2022-10-27 09:36:17 +02:00