Home
last modified time | relevance | path

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

/optee_os/core/arch/arm/mm/
H A Dcore_mmu_lpae.c648 uint64_t *new_table = NULL; in core_mmu_xlat_table_alloc() local
677 new_table = phys_to_virt(pa, MEM_AREA_SEC_RAM_OVERALL, in core_mmu_xlat_table_alloc()
679 assert(new_table); in core_mmu_xlat_table_alloc()
681 new_table = boot_mem_alloc(XLAT_TABLE_SIZE, in core_mmu_xlat_table_alloc()
692 XLAT_TABLE_SIZE == (vaddr_t)new_table); in core_mmu_xlat_table_alloc()
695 prtn->xlat_tables = new_table; in core_mmu_xlat_table_alloc()
707 new_table = prtn->xlat_tables + in core_mmu_xlat_table_alloc()
715 return new_table; in core_mmu_xlat_table_alloc()
757 uint64_t *new_table = NULL; in core_mmu_entry_copy() local
778 new_table = core_mmu_xlat_table_alloc(prtn); in core_mmu_entry_copy()
[all …]
H A Dcore_mmu_v7.c282 uint32_t *new_table = NULL; in alloc_l2_table() local
326 new_table = (void *)(prtn->last_l2_page + in alloc_l2_table()
343 new_table = prtn->l2_tables[prtn->tables_used]; in alloc_l2_table()
349 return new_table; in alloc_l2_table()
648 uint32_t *new_table; in core_mmu_entry_to_finer_grained() local
677 new_table = alloc_l2_table(get_prtn()); in core_mmu_entry_to_finer_grained()
678 if (!new_table) in core_mmu_entry_to_finer_grained()
681 new_table_desc = SECTION_PT_PT | virt_to_phys(new_table); in core_mmu_entry_to_finer_grained()
690 new_table[i] = desc | pa; in core_mmu_entry_to_finer_grained()
692 memset(new_table, 0, sizeof(l2_xlat_tbl_t)); in core_mmu_entry_to_finer_grained()