mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-01 18:50:34 +03:00
fix(cache): fixed cache sync ops concurrent call issue
Closes https://github.com/espressif/esp-idf/issues/18023
This commit is contained in:
@@ -159,6 +159,16 @@ esp_err_t esp_cache_aligned_calloc(size_t n, size_t size, uint32_t heap_caps, vo
|
||||
__attribute__((deprecated("Use 'heap_caps_calloc' with MALLOC_CAP_CACHE_ALIGNED caps instead")))
|
||||
esp_err_t esp_cache_aligned_calloc_prefer(size_t n, size_t size, void **out_ptr, size_t *actual_size, size_t flag_nums, ...);
|
||||
|
||||
/**
|
||||
* @brief Enter critical section for cache sync operations
|
||||
*/
|
||||
void esp_cache_sync_ops_enter_critical_section(void);
|
||||
|
||||
/**
|
||||
* @brief Exit critical section for cache sync operations
|
||||
*/
|
||||
void esp_cache_sync_ops_exit_critical_section(void);
|
||||
|
||||
/**
|
||||
* @brief Get Cache alignment requirement for data
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user