Home
last modified time | relevance | path

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

/rk3399_ARM-atf/plat/arm/common/
H 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()
/rk3399_ARM-atf/services/std_svc/drtm/
H A Ddrtm_res_address_map.c48 const mmap_region_t *mmap = plat_get_addr_mmap(); in drtm_build_address_map() local
56 for (i = 0U; mmap[i].base_pa != 0UL; i++) { in drtm_build_address_map()
58 map->region[i].region_address = mmap[i].base_pa; in drtm_build_address_map()
64 mmap[i].size / PAGE_SIZE_4KB); in drtm_build_address_map()
67 switch (MT_TYPE(mmap[i].attr)) { in drtm_build_address_map()
/rk3399_ARM-atf/plat/socionext/synquacer/
H 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()
/rk3399_ARM-atf/lib/xlat_tables/
H 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()
/rk3399_ARM-atf/lib/xlat_tables/aarch32/
H 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()
/rk3399_ARM-atf/lib/xlat_tables_v2/
H A Dxlat_tables_core.c717 if (ctx->mmap[ctx->mmap_num - 1].size != 0U) { in mmap_add_region_check()
722 for (const mmap_region_t *mm_cursor = ctx->mmap; in mmap_add_region_check()
788 mmap_region_t *mm_cursor = ctx->mmap, *mm_destination; in mmap_add_region_ctx()
789 const mmap_region_t *mm_end = ctx->mmap + ctx->mmap_num; in mmap_add_region_ctx()
847 mm_last = ctx->mmap; in mmap_add_region_ctx()
971 mmap_region_t *mm_cursor = ctx->mmap; in mmap_add_dynamic_region_ctx()
1106 mmap_region_t *mm = ctx->mmap; in mmap_remove_dynamic_region_ctx()
1152 mm = ctx->mmap; in mmap_remove_dynamic_region_ctx()
1162 mm = ctx->mmap; in mmap_remove_dynamic_region_ctx()
1174 uintptr_t va_max, struct mmap_region *mmap, in xlat_setup_dynamic_ctx() argument
[all …]
H A Dxlat_tables_private.h72 void xlat_mmap_print(const mmap_region_t *mmap);
H A Dxlat_tables_utils.c27 void xlat_mmap_print(__unused const mmap_region_t *mmap) in xlat_mmap_print() argument
39 void xlat_mmap_print(const mmap_region_t *mmap) in xlat_mmap_print() argument
42 const mmap_region_t *mm = mmap; in xlat_mmap_print()
/rk3399_ARM-atf/include/lib/xlat_tables/
H A Dxlat_tables_v2_helpers.h64 struct mmap_region *mmap; member
161 .mmap = _ctx_name##_mmap, \
H A Dxlat_tables_v2.h256 uintptr_t va_max, struct mmap_region *mmap,
/rk3399_ARM-atf/plat/socionext/synquacer/include/
H A Dsq_common.h45 const struct mmap_region *mmap);
/rk3399_ARM-atf/docs/components/
H A Dxlat-tables-lib-v2-design.rst53 `mmap` regions
67 The user usually provides a list of such mmap regions to map and lets the
132 * The maximum number of `mmap` regions to map.
160 - number of `mmap` regions: ``MAX_MMAP_REGIONS``;
174 When dynamic memory mapping is enabled, the library categorises mmap regions as
239 #. Initialize translation tables based on the list of mmap regions (using one of
314 From mmap regions to translation tables
322 The mmap regions list is a conceptual way to represent the memory layout. At
327 mmap regions list. Adding a static or dynamic region at this point through one
329 they only get registered in the internal mmap region list. It is only when the
[all …]
H A Dsecure-partition-manager-mm.rst166 - ``plat_get_secure_partition_mmap()`` returns an array of mmap regions that
/rk3399_ARM-atf/docs/security_advisories/
H 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)))
/rk3399_ARM-atf/tools/stm32image/
H 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()
/rk3399_ARM-atf/docs/
H A Dchange-log.md93 …- add hooks for mmap and early setup ([4efae6a](https://review.trustedfirmware.org/plugins/gitiles…
134 …- increase bl2 mmap tables for handoff ([25688b8](https://review.trustedfirmware.org/plugins/gitil…
367 …- add hooks for mmap and early setup ([72b9f52](https://review.trustedfirmware.org/plugins/gitiles…
1462 …- increase bl2 mmap len for handoff ([24f7830](https://review.trustedfirmware.org/plugins/gitiles/…
4222 …- increase the mmap region num ([047d7d1](https://review.trustedfirmware.org/plugins/gitiles/TF-A/…
5209 …- dynamic mmap region for dtb ([7ca7fb1](https://review.trustedfirmware.org/plugins/gitiles/TF-A/t…
5836 …- loop / crash if mmap of region fails ([8c353e0](https://review.trustedfirmware.org/plugins/gitil…
6352 …- add hooks for mmap and early setup ([7013400](https://review.trustedfirmware.org/plugins/gitiles…
7098 …- add mmap entry for CPU idle SRAM ([32071c0](https://review.trustedfirmware.org/plugins/gitiles/T…