Home
last modified time | relevance | path

Searched refs:s_mmu_ctx (Results 1 – 1 of 1) sorted by relevance

/hal_espressif-latest/components/esp_mm/
Desp_mmu_map.c112 static mmu_ctx_t s_mmu_ctx; variable
233 s_mmu_ctx.num_regions = region_num; in esp_mmu_map_init()
239 … memcpy(&s_mmu_ctx.mem_regions[available_region_idx], &hw_mem_regions[i], sizeof(mem_region_t)); in esp_mmu_map_init()
244 TAILQ_INIT(&s_mmu_ctx.mem_regions[i].mem_block_head); in esp_mmu_map_init()
271 for (int i = 0; i < s_mmu_ctx.num_regions; i++) { in esp_mmu_map_get_max_consecutive_free_block_size()
272 …if (((s_mmu_ctx.mem_regions[i].caps & caps) == caps) && ((s_mmu_ctx.mem_regions[i].targets & targe… in esp_mmu_map_get_max_consecutive_free_block_size()
273 if (s_mmu_ctx.mem_regions[i].max_slot_size > max) { in esp_mmu_map_get_max_consecutive_free_block_size()
274 max = s_mmu_ctx.mem_regions[i].max_slot_size; in esp_mmu_map_get_max_consecutive_free_block_size()
307 …int32_t found_region_id = s_find_available_region(s_mmu_ctx.mem_regions, s_mmu_ctx.num_regions, al… in esp_mmu_map_reserve_block_with_caps()
313 laddr = (uint32_t)s_mmu_ctx.mem_regions[found_region_id].free_head; in esp_mmu_map_reserve_block_with_caps()
[all …]