/arm-trusted-firmware-2.8.0/plat/arm/common/ |
A D | arm_bl1_fwu.c | 56 bl1_mem_info_t *mmap; in bl1_plat_mem_check() local 71 mmap = fwu_addr_map_secure; in bl1_plat_mem_check() 73 mmap = fwu_addr_map_non_secure; in bl1_plat_mem_check() 75 while (mmap[index].mem_size) { in bl1_plat_mem_check() 76 if ((mem_base >= mmap[index].mem_base) && in bl1_plat_mem_check() 78 <= (mmap[index].mem_base + in bl1_plat_mem_check() 79 mmap[index].mem_size))) in bl1_plat_mem_check()
|
/arm-trusted-firmware-2.8.0/services/std_svc/drtm/ |
A D | drtm_res_address_map.c | 33 const mmap_region_t *mmap = plat_get_addr_mmap(); in drtm_build_address_map() local 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() 49 mmap[i].size / PAGE_SIZE_4KB); in drtm_build_address_map() 52 switch (MT_TYPE(mmap[i].attr)) { in drtm_build_address_map()
|
/arm-trusted-firmware-2.8.0/plat/socionext/synquacer/ |
A D | sq_xlat_setup.c | 16 const struct mmap_region *mmap) in sq_mmap_setup() argument 52 if (mmap) in sq_mmap_setup() 53 mmap_add(mmap); in sq_mmap_setup()
|
/arm-trusted-firmware-2.8.0/lib/xlat_tables/ |
A D | xlat_tables_common.c | 55 static mmap_region_t mmap[MAX_MMAP_REGIONS + 1]; variable 62 mmap_region_t *mm = mmap; in print_mmap() 76 mmap_region_t *mm = mmap; in mmap_add_region() 77 const mmap_region_t *mm_last = mm + ARRAY_SIZE(mmap) - 1U; in mmap_add_region() 99 for (mm = mmap; mm->size; ++mm) { in mmap_add_region() 139 mm = mmap; /* Restore pointer to the start of the array */ in mmap_add_region() 414 init_xlation_table_inner(mmap, base_va, table, level); in init_xlation_table()
|
/arm-trusted-firmware-2.8.0/lib/xlat_mpu/ |
A D | xlat_mpu_core.c | 181 if (ctx->mmap[ctx->mmap_num - 1].size != 0U) { in mmap_add_region_check() 185 for (const mmap_region_t *mm_cursor = ctx->mmap; in mmap_add_region_check() 249 mmap_region_t *mm_cursor = ctx->mmap, *mm_destination; in mmap_add_region_ctx() 250 const mmap_region_t *mm_end = ctx->mmap + ctx->mmap_num; in mmap_add_region_ctx() 274 mm_last = ctx->mmap; in mmap_add_region_ctx() 329 mmap_region_t *mm = ctx->mmap; in init_xlat_tables_ctx()
|
A D | xlat_mpu_utils.c | 25 void xlat_mmap_print(__unused const mmap_region_t *mmap) in xlat_mmap_print() argument
|
A D | xlat_mpu_private.h | 71 void xlat_mmap_print(const mmap_region_t *mmap);
|
/arm-trusted-firmware-2.8.0/lib/xlat_tables/aarch32/ |
A D | nonlpae_tables.c | 150 static mmap_region_t mmap[MAX_MMAP_REGIONS + 1]; variable 155 mmap_region_t *mm = mmap; in print_mmap() 184 mmap_region_t *mm = mmap; in mmap_add_region() 185 const mmap_region_t *mm_last = mm + ARRAY_SIZE(mmap) - 1U; in mmap_add_region() 208 for (mm = mmap; mm->size; ++mm) { in mmap_add_region() 248 mm = mmap; /* Restore pointer to the start of the array */ in mmap_add_region() 498 init_xlation_table_inner(mmap, 0, (uint32_t *)mmu_l1_base, 1); in init_xlat_tables()
|
/arm-trusted-firmware-2.8.0/lib/xlat_tables_v2/ |
A D | xlat_tables_core.c | 710 if (ctx->mmap[ctx->mmap_num - 1].size != 0U) in mmap_add_region_check() 714 for (const mmap_region_t *mm_cursor = ctx->mmap; in mmap_add_region_check() 776 mmap_region_t *mm_cursor = ctx->mmap, *mm_destination; in mmap_add_region_ctx() 834 mm_last = ctx->mmap; in mmap_add_region_ctx() 954 mmap_region_t *mm_cursor = ctx->mmap; in mmap_add_dynamic_region_ctx() 1089 mmap_region_t *mm = ctx->mmap; in mmap_remove_dynamic_region_ctx() 1135 mm = ctx->mmap; in mmap_remove_dynamic_region_ctx() 1145 mm = ctx->mmap; in mmap_remove_dynamic_region_ctx() 1157 uintptr_t va_max, struct mmap_region *mmap, in xlat_setup_dynamic_ctx() argument 1167 ctx->mmap = mmap; in xlat_setup_dynamic_ctx() [all …]
|
A D | xlat_tables_private.h | 72 void xlat_mmap_print(const mmap_region_t *mmap);
|
A D | xlat_tables_utils.c | 26 void xlat_mmap_print(__unused const mmap_region_t *mmap) in xlat_mmap_print() argument 38 void xlat_mmap_print(const mmap_region_t *mmap) in xlat_mmap_print() argument 41 const mmap_region_t *mm = mmap; in xlat_mmap_print()
|
/arm-trusted-firmware-2.8.0/include/lib/xlat_tables/ |
A D | xlat_tables_v2_helpers.h | 64 struct mmap_region *mmap; member 161 .mmap = _ctx_name##_mmap, \
|
A D | xlat_tables_v2.h | 256 uintptr_t va_max, struct mmap_region *mmap,
|
/arm-trusted-firmware-2.8.0/plat/socionext/synquacer/include/ |
A D | sq_common.h | 45 const struct mmap_region *mmap);
|
/arm-trusted-firmware-2.8.0/docs/security_advisories/ |
A D | security-advisory-tfv-1.rst | 142 while (mmap[index].mem_size) { 143 if ((mem_base >= mmap[index].mem_base) && 145 <= (mmap[index].mem_base + 146 mmap[index].mem_size)))
|
/arm-trusted-firmware-2.8.0/docs/components/ |
A D | xlat-tables-lib-v2-design.rst | 59 `mmap` regions 73 The user usually provides a list of such mmap regions to map and lets the 148 * The maximum number of `mmap` regions to map. 176 - number of `mmap` regions: ``MAX_MMAP_REGIONS``; 190 When dynamic memory mapping is enabled, the library categorises mmap regions as 331 From mmap regions to translation tables 339 The mmap regions list is a conceptual way to represent the memory layout. At 344 mmap regions list. Adding a static or dynamic region at this point through one 348 in memory based on the list of mmap regions registered so far. This is an 386 The mmap regions are sorted in a way that simplifies the code that maps [all …]
|
A D | realm-management-extension.rst | 207 -C cluster0.gicv3.cpuintf-mmap-access-level=2 \ 225 -C cluster1.gicv3.cpuintf-mmap-access-level=2 \
|
A D | secure-partition-manager-mm.rst | 173 - ``plat_get_secure_partition_mmap()`` returns an array of mmap regions that
|
/arm-trusted-firmware-2.8.0/tools/stm32image/ |
A D | stm32image.c | 218 ptr = mmap(NULL, sbuf.st_size, PROT_READ, MAP_SHARED, src_fd, 0); in stm32image_create_header_file() 263 ptr = mmap(0, sbuf.st_size, PROT_READ | PROT_WRITE, MAP_SHARED, in stm32image_create_header_file()
|
/arm-trusted-firmware-2.8.0/docs/ |
A D | change-log.md | 580 …- add mmap entry for CPU idle SRAM ([32071c0](https://review.trustedfirmware.org/plugins/gitiles/T…
|