esp-idf/components/heap
Guillaume Souchere 48b0000e22 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.
2023-02-16 08:48:00 +00:00
..
include heap: use hal specific API to get cpu cycles count 2021-06-21 14:40:07 +05:30
test Heap: fix typos in test and component 2022-04-13 14:23:51 +08:00
test_multi_heap_host add host test with multiple heap size 2023-02-16 08:48:00 +00:00
CMakeLists.txt Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
component.mk heap_tlsf: added implementation of TLSF allocator 2020-10-13 23:52:03 +00:00
heap_caps_init.c global: fix sign-compare warnings 2021-01-12 14:05:08 +08:00
heap_caps.c SPIRAM: 'Abort on allocation failure' should not trigger when there is available SPI ram 2022-08-22 02:45:10 +00: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 2023-02-16 08:48:00 +00:00
heap_tlsf_config.h heap: update the calculation of fl index max and use bitfield in control_t 2023-02-16 08:48:00 +00:00
heap_tlsf.c heap: update the calculation of fl index max and use bitfield in control_t 2023-02-16 08:48:00 +00:00
heap_tlsf.h heap: update the calculation of fl index max and use bitfield in control_t 2023-02-16 08:48:00 +00: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-21 14:40:07 +05:30
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 esp32c3: Apply one-liner/small changes for ESP32-C3 2020-12-01 10:58:50 +11: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 2023-02-16 08:48:00 +00:00