Home
last modified time | relevance | path

Searched refs:mmap (Results 1 – 20 of 20) sorted by relevance

/arm-trusted-firmware-2.8.0/plat/arm/common/
A Darm_bl1_fwu.c56 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 Ddrtm_res_address_map.c33 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 Dsq_xlat_setup.c16 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 Dxlat_tables_common.c55 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 Dxlat_mpu_core.c181 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 Dxlat_mpu_utils.c25 void xlat_mmap_print(__unused const mmap_region_t *mmap) in xlat_mmap_print() argument
A Dxlat_mpu_private.h71 void xlat_mmap_print(const mmap_region_t *mmap);
/arm-trusted-firmware-2.8.0/lib/xlat_tables/aarch32/
A Dnonlpae_tables.c150 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 Dxlat_tables_core.c710 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 Dxlat_tables_private.h72 void xlat_mmap_print(const mmap_region_t *mmap);
A Dxlat_tables_utils.c26 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 Dxlat_tables_v2_helpers.h64 struct mmap_region *mmap; member
161 .mmap = _ctx_name##_mmap, \
A Dxlat_tables_v2.h256 uintptr_t va_max, struct mmap_region *mmap,
/arm-trusted-firmware-2.8.0/plat/socionext/synquacer/include/
A Dsq_common.h45 const struct mmap_region *mmap);
/arm-trusted-firmware-2.8.0/docs/security_advisories/
A Dsecurity-advisory-tfv-1.rst142 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 Dxlat-tables-lib-v2-design.rst59 `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 Drealm-management-extension.rst207 -C cluster0.gicv3.cpuintf-mmap-access-level=2 \
225 -C cluster1.gicv3.cpuintf-mmap-access-level=2 \
A Dsecure-partition-manager-mm.rst173 - ``plat_get_secure_partition_mmap()`` returns an array of mmap regions that
/arm-trusted-firmware-2.8.0/tools/stm32image/
A Dstm32image.c218 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 Dchange-log.md580 …- add mmap entry for CPU idle SRAM ([32071c0](https://review.trustedfirmware.org/plugins/gitiles/T…

Completed in 35 milliseconds