/external/arm-trusted-firmware/lib/xlat_tables/ |
D | xlat_tables_common.c | 65 (void *)mm->base_va, mm->base_pa, in print_mmap() 73 void mmap_add_region(unsigned long long base_pa, uintptr_t base_va, in mmap_add_region() argument 78 unsigned long long end_pa = base_pa + size - 1U; in mmap_add_region() 81 assert(IS_PAGE_ALIGNED(base_pa)); in mmap_add_region() 88 assert(base_pa < end_pa); /* Check for overflows */ in mmap_add_region() 93 assert((base_pa + (unsigned long long)size - 1ULL) <= in mmap_add_region() 117 assert((mm->base_va - mm->base_pa) == in mmap_add_region() 118 (base_va - base_pa)); in mmap_add_region() 128 mm->base_pa + mm->size - 1; in mmap_add_region() 130 bool separated_pa = (end_pa < mm->base_pa) || in mmap_add_region() [all …]
|
/external/arm-trusted-firmware/lib/xlat_tables/aarch32/ |
D | nonlpae_tables.c | 162 (void *)mm->base_va, mm->base_pa, in print_mmap() 175 mmap_add_region(mm_cursor->base_pa, mm_cursor->base_va, in mmap_add() 181 void mmap_add_region(unsigned long long base_pa, uintptr_t base_va, in mmap_add_region() argument 186 unsigned long long end_pa = base_pa + size - 1U; in mmap_add_region() 189 assert(IS_PAGE_ALIGNED(base_pa)); in mmap_add_region() 197 assert(base_pa < end_pa); /* Check for overflows */ in mmap_add_region() 202 assert((base_pa + (unsigned long long)size - 1ULL) <= in mmap_add_region() 226 assert((mm->base_va - mm->base_pa) == in mmap_add_region() 227 (base_va - base_pa)); in mmap_add_region() 237 mm->base_pa + mm->size - 1; in mmap_add_region() [all …]
|
/external/arm-trusted-firmware/lib/xlat_tables_v2/ |
D | xlat_tables_context.c | 31 void mmap_add_region(unsigned long long base_pa, uintptr_t base_va, size_t size, in mmap_add_region() argument 34 mmap_region_t mm = MAP_REGION(base_pa, base_va, size, attr); in mmap_add_region() 44 void mmap_add_region_alloc_va(unsigned long long base_pa, uintptr_t *base_va, in mmap_add_region_alloc_va() argument 47 mmap_region_t mm = MAP_REGION_ALLOC_VA(base_pa, size, attr); in mmap_add_region_alloc_va() 65 int mmap_add_dynamic_region(unsigned long long base_pa, uintptr_t base_va, in mmap_add_dynamic_region() argument 68 mmap_region_t mm = MAP_REGION(base_pa, base_va, size, attr); in mmap_add_dynamic_region() 73 int mmap_add_dynamic_region_alloc_va(unsigned long long base_pa, in mmap_add_dynamic_region_alloc_va() argument 77 mmap_region_t mm = MAP_REGION_ALLOC_VA(base_pa, size, attr); in mmap_add_dynamic_region_alloc_va()
|
D | xlat_tables_core.c | 597 table_idx_pa = mm->base_pa + table_idx_va - mm->base_va; in xlat_tables_map_region() 678 unsigned long long base_pa = mm->base_pa; in mmap_add_region_check() local 683 unsigned long long end_pa = base_pa + size - 1U; in mmap_add_region_check() 686 if (!IS_PAGE_ALIGNED(base_pa) || !IS_PAGE_ALIGNED(base_va) || in mmap_add_region_check() 697 if ((base_pa > end_pa) || (base_va > end_va)) in mmap_add_region_check() 740 if ((mm_cursor->base_va - mm_cursor->base_pa) != in mmap_add_region_check() 741 (base_va - base_pa)) in mmap_add_region_check() 756 mm_cursor->base_pa + mm_cursor->size - 1U; in mmap_add_region_check() 758 bool separated_pa = (end_pa < mm_cursor->base_pa) || in mmap_add_region_check() 759 (base_pa > mm_cursor_end_pa); in mmap_add_region_check() [all …]
|
D | xlat_tables_utils.c | 44 mm->base_va, mm->base_pa, mm->size, mm->attr, in xlat_mmap_print()
|
/external/arm-trusted-firmware/include/lib/xlat_tables/ |
D | xlat_tables_v2.h | 135 unsigned long long base_pa; member 252 void mmap_add_region(unsigned long long base_pa, uintptr_t base_va, 269 void mmap_add_region_alloc_va(unsigned long long base_pa, uintptr_t *base_va, 292 int mmap_add_dynamic_region(unsigned long long base_pa, uintptr_t base_va, 306 int mmap_add_dynamic_region_alloc_va(unsigned long long base_pa,
|
D | xlat_tables.h | 79 unsigned long long base_pa; member 87 void mmap_add_region(unsigned long long base_pa, uintptr_t base_va,
|
D | xlat_tables_v2_helpers.h | 41 .base_pa = (_pa), \
|
/external/arm-trusted-firmware/plat/qti/common/src/ |
D | qti_common.c | 130 int qti_mmap_add_dynamic_region(uintptr_t base_pa, size_t size, in qti_mmap_add_dynamic_region() argument 136 qti_align_mem_region(base_pa, size, &aligned_pa, &aligned_size); in qti_mmap_add_dynamic_region() 138 if (qti_is_overlap_atf_rg(base_pa, size)) { in qti_mmap_add_dynamic_region()
|
/external/arm-trusted-firmware/plat/qti/common/inc/ |
D | qti_plat.h | 21 int qti_mmap_add_dynamic_region(uintptr_t base_pa, size_t size,
|
/external/arm-trusted-firmware/plat/qti/qtiseclib/src/ |
D | qtiseclib_cb_interface.c | 186 int qtiseclib_cb_mmap_add_dynamic_region(unsigned long long base_pa, in qtiseclib_cb_mmap_add_dynamic_region() argument 199 return qti_mmap_add_dynamic_region(base_pa, size, l_attr); in qtiseclib_cb_mmap_add_dynamic_region()
|
/external/arm-trusted-firmware/plat/arm/board/rdn1edge/ |
D | rdn1edge_plat.c | 80 rdn1edge_dynamic_mmap[i].base_pa, in bl31_platform_setup()
|
/external/arm-trusted-firmware/plat/qti/qtiseclib/inc/ |
D | qtiseclib_cb_interface.h | 51 int qtiseclib_cb_mmap_add_dynamic_region(unsigned long long base_pa,
|
/external/arm-trusted-firmware/plat/arm/board/rdv1mc/ |
D | rdv1mc_plat.c | 113 rdv1mc_dynamic_mmap[i].base_pa, in bl31_platform_setup()
|
/external/arm-trusted-firmware/plat/qemu/common/ |
D | qemu_spm.c | 127 plat_qemu_secure_partition_mmap[0].base_pa = ns_buf_base; in plat_get_secure_partition_mmap()
|