Home
last modified time | relevance | path

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

/trusted-firmware-a-3.6.0-3.5.0/lib/xlat_mpu/
Dxlat_mpu_core.c129 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/
Dxlat_tables_common.c65 (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/
Dxlat_tables_context.c31 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()
Dxlat_tables_core.c600 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 …]
Dxlat_tables_utils.c45 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/
Dnonlpae_tables.c162 (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/
Dgpt_rme.c143 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/
Dxlat_tables_v2.h142 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,
Dxlat_tables.h86 unsigned long long base_pa; member
94 void mmap_add_region(unsigned long long base_pa, uintptr_t base_va,
Dxlat_tables_v2_helpers.h41 .base_pa = (_pa), \
/trusted-firmware-a-3.6.0-3.5.0/services/std_svc/drtm/
Ddrtm_res_address_map.c41 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/
Dqti_common.c126 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/
Dgpt_rme.h24 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/
Dqti_plat.h21 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/
Drdn1edge_plat.c81 rdn1edge_dynamic_mmap[i].base_pa, in bl31_platform_setup()
/trusted-firmware-a-3.6.0-3.5.0/plat/qti/qtiseclib/inc/
Dqtiseclib_cb_interface.h51 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/
Drdv1mc_plat.c113 rdv1mc_dynamic_mmap[i].base_pa, in bl31_platform_setup()
/trusted-firmware-a-3.6.0-3.5.0/plat/arm/board/rdn2/
Drdn2_plat.c119 rdn2mc_dynamic_mmap[i].base_pa, in bl31_platform_setup()
/trusted-firmware-a-3.6.0-3.5.0/plat/qti/qtiseclib/src/
Dqtiseclib_cb_interface.c190 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/
Dqemu_spm.c134 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/
Drmm-el3-comms-spec.rst312 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