/trusted-firmware-a-3.6.0-3.5.0/lib/xlat_mpu/ |
D | xlat_mpu_core.c | 129 write_prbar_el2(mm->base_pa & PRBAR_PRLAR_ADDR_MASK); in mpu_map_region() 130 write_prlar_el2((mm->base_pa + mm->size - 1UL) in mpu_map_region() 160 unsigned long long base_pa = mm->base_pa; in mmap_add_region_check() local 164 unsigned long long end_pa = base_pa + size - 1U; in mmap_add_region_check() 167 if (base_pa != base_va) { in mmap_add_region_check() 170 if ((base_pa % 64ULL) != 0ULL) { in mmap_add_region_check() 174 if ((base_pa > end_pa) || (base_va > end_va)) { in mmap_add_region_check() 215 if ((mm_cursor->base_va - mm_cursor->base_pa) in mmap_add_region_check() 216 != (base_va - base_pa)) { in mmap_add_region_check() 231 mm_cursor->base_pa + mm_cursor->size - 1U; in mmap_add_region_check() [all …]
|
/trusted-firmware-a-3.6.0-3.5.0/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 …]
|
/trusted-firmware-a-3.6.0-3.5.0/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 | 600 table_idx_pa = mm->base_pa + table_idx_va - mm->base_va; in xlat_tables_map_region() 681 unsigned long long base_pa = mm->base_pa; in mmap_add_region_check() local 686 unsigned long long end_pa = base_pa + size - 1U; in mmap_add_region_check() 689 if (!IS_PAGE_ALIGNED(base_pa) || !IS_PAGE_ALIGNED(base_va) || in mmap_add_region_check() 700 if ((base_pa > end_pa) || (base_va > end_va)) in mmap_add_region_check() 743 if ((mm_cursor->base_va - mm_cursor->base_pa) != in mmap_add_region_check() 744 (base_va - base_pa)) in mmap_add_region_check() 759 mm_cursor->base_pa + mm_cursor->size - 1U; in mmap_add_region_check() 761 bool separated_pa = (end_pa < mm_cursor->base_pa) || in mmap_add_region_check() 762 (base_pa > mm_cursor_end_pa); in mmap_add_region_check() [all …]
|
D | xlat_tables_utils.c | 45 mm->base_va, mm->base_pa, mm->size, mm->attr, in xlat_mmap_print()
|
/trusted-firmware-a-3.6.0-3.5.0/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 …]
|
/trusted-firmware-a-3.6.0-3.5.0/lib/gpt_rme/ |
D | gpt_rme.c | 143 pas_regions[i].base_pa, pas_regions[i].size)) { in gpt_does_previous_pas_exist_here() 179 if ((ULONG_MAX - pas_regions[idx].base_pa) < in gpt_validate_pas_mappings() 186 if (((pas_regions[idx].base_pa + pas_regions[idx].size) > in gpt_validate_pas_mappings() 199 if (gpt_check_pas_overlap(pas_regions[idx].base_pa, in gpt_validate_pas_mappings() 201 pas_regions[i].base_pa, in gpt_validate_pas_mappings() 215 for (unsigned int i = GPT_L0_IDX(pas_regions[idx].base_pa); in gpt_validate_pas_mappings() 216 i <= GPT_L0_IDX(pas_regions[idx].base_pa + pas_regions[idx].size - 1); in gpt_validate_pas_mappings() 237 if (!GPT_IS_L0_ALIGNED(pas_regions[idx].base_pa) || in gpt_validate_pas_mappings() 251 if (!GPT_IS_L1_ALIGNED(gpt_config.p, pas_regions[idx].base_pa) || in gpt_validate_pas_mappings() 259 pas_l1_cnt = (GPT_L0_IDX(pas_regions[idx].base_pa + in gpt_validate_pas_mappings() [all …]
|
/trusted-firmware-a-3.6.0-3.5.0/include/lib/xlat_tables/ |
D | xlat_tables_v2.h | 142 unsigned long long base_pa; member 266 void mmap_add_region(unsigned long long base_pa, uintptr_t base_va, 283 void mmap_add_region_alloc_va(unsigned long long base_pa, uintptr_t *base_va, 306 int mmap_add_dynamic_region(unsigned long long base_pa, uintptr_t base_va, 320 int mmap_add_dynamic_region_alloc_va(unsigned long long base_pa,
|
D | xlat_tables.h | 86 unsigned long long base_pa; member 94 void mmap_add_region(unsigned long long base_pa, uintptr_t base_va,
|
D | xlat_tables_v2_helpers.h | 41 .base_pa = (_pa), \
|
/trusted-firmware-a-3.6.0-3.5.0/services/std_svc/drtm/ |
D | drtm_res_address_map.c | 41 for (i = 0U; mmap[i].base_pa != 0UL; i++) { in drtm_build_address_map() 43 map->region[i].region_address = mmap[i].base_pa; in drtm_build_address_map()
|
/trusted-firmware-a-3.6.0-3.5.0/plat/qti/common/src/ |
D | qti_common.c | 126 int qti_mmap_add_dynamic_region(uintptr_t base_pa, size_t size, in qti_mmap_add_dynamic_region() argument 132 qti_align_mem_region(base_pa, size, &aligned_pa, &aligned_size); in qti_mmap_add_dynamic_region() 134 if (qti_is_overlap_atf_rg(base_pa, size)) { in qti_mmap_add_dynamic_region()
|
/trusted-firmware-a-3.6.0-3.5.0/include/lib/gpt_rme/ |
D | gpt_rme.h | 24 uintptr_t base_pa; /* Base address for PAS. */ member 80 .base_pa = (_pa), \ 92 .base_pa = (_pa), \
|
/trusted-firmware-a-3.6.0-3.5.0/plat/qti/common/inc/ |
D | qti_plat.h | 21 int qti_mmap_add_dynamic_region(uintptr_t base_pa, size_t size,
|
/trusted-firmware-a-3.6.0-3.5.0/plat/arm/board/rdn1edge/ |
D | rdn1edge_plat.c | 81 rdn1edge_dynamic_mmap[i].base_pa, in bl31_platform_setup()
|
/trusted-firmware-a-3.6.0-3.5.0/plat/qti/qtiseclib/inc/ |
D | qtiseclib_cb_interface.h | 51 int qtiseclib_cb_mmap_add_dynamic_region(unsigned long long base_pa,
|
/trusted-firmware-a-3.6.0-3.5.0/plat/arm/board/rdv1mc/ |
D | rdv1mc_plat.c | 113 rdv1mc_dynamic_mmap[i].base_pa, in bl31_platform_setup()
|
/trusted-firmware-a-3.6.0-3.5.0/plat/arm/board/rdn2/ |
D | rdn2_plat.c | 119 rdn2mc_dynamic_mmap[i].base_pa, in bl31_platform_setup()
|
/trusted-firmware-a-3.6.0-3.5.0/plat/qti/qtiseclib/src/ |
D | qtiseclib_cb_interface.c | 190 int qtiseclib_cb_mmap_add_dynamic_region(unsigned long long base_pa, in qtiseclib_cb_mmap_add_dynamic_region() argument 203 return qti_mmap_add_dynamic_region(base_pa, size, l_attr); in qtiseclib_cb_mmap_add_dynamic_region()
|
/trusted-firmware-a-3.6.0-3.5.0/plat/qemu/common/ |
D | qemu_spm.c | 134 plat_qemu_secure_partition_mmap[0].base_pa = ns_buf_base; in plat_get_secure_partition_mmap()
|
/trusted-firmware-a-3.6.0-3.5.0/docs/components/ |
D | rmm-el3-comms-spec.rst | 312 base_pa,x1,[63:0],Address,PA of the start of the granule to be delegated 355 base_pa,x1,[63:0],Address,PA of the start of the granule to be undelegated
|