mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 12:35:28 +00:00
fix(heap): Fix bugs in heap task tracking
Update task tracking feature to fix bugs introduced when decoupling task tracking from heap poisoning. Closes https://github.com/espressif/esp-idf/issues/12498 Closes https://github.com/espressif/esp-idf/issues/12493
This commit is contained in:
@@ -179,6 +179,17 @@ typedef struct {
|
||||
*/
|
||||
void multi_heap_get_info(multi_heap_handle_t heap, multi_heap_info_t *info);
|
||||
|
||||
/**
|
||||
* @brief Perform an aligned allocation from the provided offset
|
||||
*
|
||||
* @param heap The heap in which to perform the allocation
|
||||
* @param size The size of the allocation
|
||||
* @param alignment How the memory must be aligned
|
||||
* @param offset The offset at which the alignment should start
|
||||
* @return void* The ptr to the allocated memory
|
||||
*/
|
||||
void *multi_heap_aligned_alloc_offs(multi_heap_handle_t heap, size_t size, size_t alignment, size_t offset);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user