Home
last modified time | relevance | path

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

/Zephyr-latest/arch/xtensa/core/
Dptables.c230 uint32_t l1_pos = XTENSA_MMU_L1_POS(page); in map_memory_range() local
232 if (is_pte_illegal(xtensa_kernel_ptables[l1_pos])) { in map_memory_range()
240 xtensa_kernel_ptables[l1_pos] = in map_memory_range()
245 table = (uint32_t *)(xtensa_kernel_ptables[l1_pos] & XTENSA_MMU_PTE_PPN_MASK); in map_memory_range()
369 uint32_t l1_pos = XTENSA_MMU_L1_POS((uint32_t)vaddr); in l2_page_table_map() local
373 sys_cache_data_invd_range((void *)&l1_table[l1_pos], sizeof(l1_table[0])); in l2_page_table_map()
375 if (is_pte_illegal(l1_table[l1_pos])) { in l2_page_table_map()
384 l1_table[l1_pos] = XTENSA_MMU_PTE((uint32_t)table, XTENSA_MMU_KERNEL_RING, in l2_page_table_map()
387 sys_cache_data_flush_range((void *)&l1_table[l1_pos], sizeof(l1_table[0])); in l2_page_table_map()
390 table = (uint32_t *)(l1_table[l1_pos] & XTENSA_MMU_PTE_PPN_MASK); in l2_page_table_map()
[all …]