Home
last modified time | relevance | path

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

/trusted-firmware-a/lib/xlat_tables/
A Dxlat_tables_common.c108 ((base_va >= mm->base_va) && (end_va <= mm_end_va)) || in mmap_add_region()
109 ((mm->base_va >= base_va) && (mm_end_va <= end_va)); in mmap_add_region()
119 assert((base_va != mm->base_va) || (size != mm->size)); in mmap_add_region()
144 while ((mm->base_va < base_va) && (mm->size != 0U)) in mmap_add_region()
158 while ((mm->base_va == base_va) && (mm->size > size)) in mmap_add_region()
168 mm->base_va = base_va; in mmap_add_region()
305 if (mm->base_va > (base_va + size - 1U)) in mmap_region_attr()
308 if ((mm->base_va + mm->size - 1U) < base_va) in mmap_region_attr()
314 if ((mm->base_va > base_va) || in mmap_region_attr()
355 if (mm->base_va > (base_va + level_size - 1U)) { in init_xlation_table_inner()
[all …]
A Dxlat_tables_private.h37 void init_xlation_table(uintptr_t base_va, uint64_t *table,
/trusted-firmware-a/lib/xlat_tables/aarch32/
A Dnonlpae_tables.c218 ((mm->base_va >= base_va) && (mm_end_va <= end_va)); in mmap_add_region()
253 while ((mm->base_va < base_va) && (mm->size != 0U)) { in mmap_add_region()
268 while ((mm->base_va == base_va) && (mm->size > size)) { in mmap_add_region()
279 mm->base_va = base_va; in mmap_add_region()
371 if (mm->base_va > (base_va + size - 1U)) { in mmap_region_attr()
375 if ((mm->base_va + mm->size - 1U) < base_va) { in mmap_region_attr()
383 if ((mm->base_va > base_va) || in mmap_region_attr()
413 if (mm->base_va + mm->size <= base_va) { in init_xlation_table_inner()
425 if (mm->base_va >= base_va + level_size) { in init_xlation_table_inner()
428 } else if ((mm->base_va <= base_va) && in init_xlation_table_inner()
[all …]
/trusted-firmware-a/lib/xlat_tables_v2/
A Dxlat_tables_context.c34 mmap_region_t mm = MAP_REGION(base_pa, base_va, size, attr); in mmap_add_region()
51 *base_va = mm.base_va; in mmap_add_region_alloc_va()
57 assert(mm->base_va == 0U); in mmap_add_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()
74 uintptr_t *base_va, size_t size, in mmap_add_dynamic_region_alloc_va() argument
81 *base_va = mm.base_va; in mmap_add_dynamic_region_alloc_va()
87 int mmap_remove_dynamic_region(uintptr_t base_va, size_t size) in mmap_remove_dynamic_region() argument
90 base_va, size); in mmap_remove_dynamic_region()
113 int xlat_get_mem_attributes(uintptr_t base_va, uint32_t *attr) in xlat_get_mem_attributes() argument
[all …]
A Dxlat_tables_core.c682 uintptr_t base_va = mm->base_va; in mmap_add_region_check() local
725 ((base_va >= mm_cursor->base_va) && in mmap_add_region_check()
727 ((mm_cursor->base_va >= base_va) && in mmap_add_region_check()
744 (base_va - base_pa)) in mmap_add_region_check()
747 if ((base_va == mm_cursor->base_va) && in mmap_add_region_check()
764 (base_va > mm_cursor_end_va); in mmap_add_region_check()
921 mm->base_va = round_up(mm->base_va, XLAT_BLOCK_SIZE(level)); in mmap_alloc_va_align_ctx()
928 mm->base_va = ctx->max_va + 1UL; in mmap_add_region_alloc_va_ctx()
1020 if (mm->base_va >= end_va) in mmap_add_dynamic_region_ctx()
1029 .base_va = mm->base_va, in mmap_add_dynamic_region_ctx()
[all …]
A Dxlat_tables_utils.c365 entry = find_xlat_table_entry(base_va, in xlat_get_mem_attributes_internal()
458 if (!IS_PAGE_ALIGNED(base_va)) { in xlat_change_mem_attributes_ctx()
460 __func__, base_va); in xlat_change_mem_attributes_ctx()
484 pages_count, base_va); in xlat_change_mem_attributes_ctx()
486 uintptr_t base_va_original = base_va; in xlat_change_mem_attributes_ctx()
496 entry = find_xlat_table_entry(base_va, in xlat_change_mem_attributes_ctx()
515 base_va); in xlat_change_mem_attributes_ctx()
528 base_va); in xlat_change_mem_attributes_ctx()
533 base_va += PAGE_SIZE; in xlat_change_mem_attributes_ctx()
537 base_va = base_va_original; in xlat_change_mem_attributes_ctx()
[all …]
/trusted-firmware-a/lib/xlat_mpu/
A Dxlat_mpu_core.c161 uintptr_t base_va = mm->base_va; in mmap_add_region_check() local
165 uintptr_t end_va = base_va + size - 1U; in mmap_add_region_check()
167 if (base_pa != base_va) { in mmap_add_region_check()
174 if ((base_pa > end_pa) || (base_va > end_va)) { in mmap_add_region_check()
189 mm_cursor->base_va + mm_cursor->size - 1U; in mmap_add_region_check()
196 ((base_va >= mm_cursor->base_va) && in mmap_add_region_check()
198 ((mm_cursor->base_va >= base_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()
219 if ((base_va == mm_cursor->base_va) && in mmap_add_region_check()
[all …]
A Dxlat_mpu_context.c56 int xlat_get_mem_attributes(uintptr_t base_va, uint32_t *attr) in xlat_get_mem_attributes() argument
58 return xlat_get_mem_attributes_ctx(&tf_xlat_ctx, base_va, attr); in xlat_get_mem_attributes()
/trusted-firmware-a/include/lib/xlat_tables/
A Dxlat_tables_v2.h143 uintptr_t base_va; 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,
321 uintptr_t *base_va,
335 int mmap_remove_dynamic_region(uintptr_t base_va, size_t size);
337 uintptr_t base_va,
382 int xlat_change_mem_attributes_ctx(const xlat_ctx_t *ctx, uintptr_t base_va,
384 int xlat_change_mem_attributes(uintptr_t base_va, size_t size, uint32_t attr);
411 int xlat_get_mem_attributes_ctx(const xlat_ctx_t *ctx, uintptr_t base_va,
[all …]
A Dxlat_tables.h87 uintptr_t base_va; member
94 void mmap_add_region(unsigned long long base_pa, uintptr_t base_va,
A Dxlat_tables_v2_helpers.h42 .base_va = (_va), \
/trusted-firmware-a/services/std_svc/spm_mm/
A Dspm_mm_xlat.c113 uintptr_t base_va) in spm_memory_attributes_get_smc_handler() argument
120 base_va, &attributes); in spm_memory_attributes_get_smc_handler()
139 uintptr_t base_va = (uintptr_t) page_address; in spm_memory_attributes_set_smc_handler() local
143 INFO(" Start address : 0x%lx\n", base_va); in spm_memory_attributes_set_smc_handler()
150 base_va, size, in spm_memory_attributes_set_smc_handler()
A Dspm_mm_private.h63 uintptr_t base_va);
/trusted-firmware-a/plat/qti/common/src/
A Dqti_common.c147 int qti_mmap_remove_dynamic_region(uintptr_t base_va, size_t size) in qti_mmap_remove_dynamic_region() argument
149 qti_align_mem_region(base_va, size, &base_va, &size); in qti_mmap_remove_dynamic_region()
150 return mmap_remove_dynamic_region(base_va, size); in qti_mmap_remove_dynamic_region()
/trusted-firmware-a/plat/common/
A Dplat_bl_common.c120 regions->base_va, in setup_page_tables()
121 regions->base_va + regions->size, in setup_page_tables()
/trusted-firmware-a/plat/qti/common/inc/
A Dqti_plat.h23 int qti_mmap_remove_dynamic_region(uintptr_t base_va, size_t size);
/trusted-firmware-a/plat/arm/board/rdn1edge/
A Drdn1edge_plat.c81 rdn1edge_dynamic_mmap[i].base_va, in bl31_platform_setup()
/trusted-firmware-a/plat/qti/qtiseclib/inc/
A Dqtiseclib_cb_interface.h50 int qtiseclib_cb_mmap_remove_dynamic_region(uintptr_t base_va, size_t size);
/trusted-firmware-a/plat/arm/board/rdv1mc/
A Drdv1mc_plat.c114 rdv1mc_dynamic_mmap[i].base_va, in bl31_platform_setup()
/trusted-firmware-a/plat/qti/qtiseclib/src/
A Dqtiseclib_cb_interface.c206 int qtiseclib_cb_mmap_remove_dynamic_region(uintptr_t base_va, size_t size) in qtiseclib_cb_mmap_remove_dynamic_region() argument
208 return qti_mmap_remove_dynamic_region(base_va, size); in qtiseclib_cb_mmap_remove_dynamic_region()
/trusted-firmware-a/plat/qemu/common/
A Dqemu_spm.c135 plat_qemu_secure_partition_mmap[0].base_va = ns_buf_base; in plat_get_secure_partition_mmap()

Completed in 20 milliseconds