| /rk3399_ARM-atf/plat/mediatek/lib/mtk_init/ |
| H A D | mtk_mmap_init.c | 24 static void print_mmap(const mmap_region_t *regions) in print_mmap() argument 26 while (regions->size != 0U) { in print_mmap() 28 regions->base_va, in print_mmap() 29 regions->base_va + regions->size, in print_mmap() 30 regions->attr); in print_mmap() 31 regions++; in print_mmap() 38 const mmap_region_t *regions = bl_regions; in mtk_xlat_init() local 40 print_mmap(regions); in mtk_xlat_init() 46 regions = iter->mmap_ptr; in mtk_xlat_init() 49 print_mmap(regions); in mtk_xlat_init() [all …]
|
| /rk3399_ARM-atf/plat/common/ |
| H A D | plat_bl_common.c | 139 const mmap_region_t *regions = bl_regions; in setup_page_tables() local 141 while (regions->size != 0U) { in setup_page_tables() 143 regions->base_va, in setup_page_tables() 144 regions->base_va + regions->size, in setup_page_tables() 145 regions->attr); in setup_page_tables() 146 regions++; in setup_page_tables()
|
| /rk3399_ARM-atf/plat/rpi/rpi3/ |
| H A D | rpi3_bl31_setup.c | 161 int i, regions, rc; in rpi3_dtb_add_mem_rsv() local 171 regions = fdt_num_mem_rsv(dtb); in rpi3_dtb_add_mem_rsv() 173 VERBOSE("rpi3: Found %d mem reserve region(s)\n", regions); in rpi3_dtb_add_mem_rsv() 176 if (regions < 1) in rpi3_dtb_add_mem_rsv() 184 for (i = 0; i < regions; i++) { in rpi3_dtb_add_mem_rsv() 201 if (i == regions) { in rpi3_dtb_add_mem_rsv()
|
| /rk3399_ARM-atf/docs/components/ |
| H A D | xlat-tables-lib-v2-design.rst | 14 provided by the platform port as a list of memory regions; 19 #. Support for dynamic mapping and unmapping of regions, even while the MMU is 20 on. This can be used to temporarily map some memory regions and unmap them 26 #. Support for changing memory attributes of memory regions at run-time. 53 `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. 134 Should account for both static and dynamic regions, if applicable. 160 - number of `mmap` regions: ``MAX_MMAP_REGIONS``; 168 Static and dynamic memory regions [all …]
|
| H A D | granule-protection-tables-design.rst | 78 desired PAS regions is passed into the library which validates the mappings, 96 Defining PAS regions 175 are then added to the L1 PAS regions to be initialized in the next step and 214 * ``GPCCR_L0GPTSZ_30BITS`` (1GB regions, 0x40000000 bytes) 215 * ``GPCCR_L0GPTSZ_34BITS`` (16GB regions, 0x400000000 bytes) 216 * ``GPCCR_L0GPTSZ_36BITS`` (64GB regions, 0x1000000000 bytes) 217 * ``GPCCR_L0GPTSZ_39BITS`` (512GB regions, 0x8000000000 bytes)
|
| H A D | secure-partition-manager-mm.rst | 51 - Memory and device regions in the system address map. 166 - ``plat_get_secure_partition_mmap()`` returns an array of mmap regions that 167 describe the memory regions that the SPM needs to allocate for a Secure 401 The platform port of a Secure Partition specifies to the SPM a list of regions 405 1. Device regions are mapped with nGnRE attributes and Execute Never 408 2. Code memory regions are mapped with RO data and Executable instruction access 411 3. Read Only data memory regions are mapped with RO data and Execute Never 414 4. Read Write data memory regions are mapped with RW data and Execute Never 418 regions then all memory regions will be marked with Code memory region 421 6. The ``UXN`` and ``PXN`` bits are set for regions that are not executable by [all …]
|
| H A D | ffa-manifest-binding.rst | 108 - value type: "memory-regions" node 109 - Specific "memory-regions" nodes that describe the RX/TX buffers expected 237 - Must be the string "arm,ffa-manifest-memory-regions". 301 - Must be the string "arm,ffa-manifest-device-regions".
|
| H A D | numa-per-cpu.rst | 73 per-CPU memory regions. 193 Platform-defined regions that hold remote per-CPU sections must have
|
| H A D | realm-management-extension.rst | 29 memory regions as Root or Realm respectively.
|
| /rk3399_ARM-atf/lib/utils/ |
| H A D | mem_region.c | 56 void clear_map_dyn_mem_regions(struct mem_region *regions, in clear_map_dyn_mem_regions() argument 66 assert(regions != NULL); in clear_map_dyn_mem_regions() 71 begin = regions[i].base; in clear_map_dyn_mem_regions() 72 size = regions[i].nbytes; in clear_map_dyn_mem_regions()
|
| /rk3399_ARM-atf/services/std_svc/drtm/ |
| H A D | drtm_dma_prot.c | 249 drtm_mem_region_t regions[1]; in drtm_dma_prot_serialise_table() member 253 .num_regions = sizeof(((struct descr_table_1 *)NULL)->regions) / in drtm_dma_prot_serialise_table() 254 sizeof(((struct descr_table_1 *)NULL)->regions[0]) in drtm_dma_prot_serialise_table() 256 .regions = { in drtm_dma_prot_serialise_table()
|
| /rk3399_ARM-atf/fdts/ |
| H A D | stmm_template.dts | 24 device-regions { 25 compatible = "arm,ffa-manifest-device-regions"; 28 * System registers, rtc, uart and etc regions for access from S-EL0. 77 memory-regions { 78 compatible = "arm,ffa-manifest-memory-regions";
|
| H A D | n1sdp-multi-chip.dts | 96 #redistributor-regions = <2>;
|
| /rk3399_ARM-atf/plat/arm/board/neoverse_rd/platform/rdn2/fdts/ |
| H A D | rdn2_stmm_sel0_manifest.dts | 44 device-regions { 45 compatible = "arm,ffa-manifest-device-regions"; 94 memory-regions { 95 compatible = "arm,ffa-manifest-memory-regions"; 105 /* StMM will remap the regions during runtime. */
|
| /rk3399_ARM-atf/plat/rpi/rpi4/ |
| H A D | rpi4_setup.c | 27 int regions = fdt_num_mem_rsv(dtb); in remove_spintable_memreserve() local 30 for (i = 0; i < regions; i++) { in remove_spintable_memreserve()
|
| /rk3399_ARM-atf/tools/sptool/ |
| H A D | hob.py | 326 def generate_pei_mmram_memory_reserve_guid(regions): argument 330 data = [len(regions)] 331 for desc_format_str, mmram_desc in regions: 356 regions = [] 360 regions.append(generate_stmm_region_descriptor(load_address, img_size)) 396 regions.append(mmram_desc) 398 mmram_reserve_hob = generate_pei_mmram_memory_reserve_guid(regions)
|
| /rk3399_ARM-atf/plat/arm/board/fvp/fdts/ |
| H A D | optee_sp_manifest.dts | 42 device-regions { 43 compatible = "arm,ffa-manifest-device-regions";
|
| /rk3399_ARM-atf/include/lib/ |
| H A D | utils.h | 37 void clear_map_dyn_mem_regions(struct mem_region *regions,
|
| /rk3399_ARM-atf/docs/security_advisories/ |
| H A D | security-advisory-tfv-3.rst | 47 permissions separately to data access permissions. All RO normal memory regions 66 - The xlat\_tables library ensures that all Read-Write (RW) memory regions are
|
| H A D | security-advisory-tfv-1.rst | 154 regions mapped in by ARM platforms. Here, ``mem_size`` may be the
|
| /rk3399_ARM-atf/docs/tools/ |
| H A D | memory-layout-tool.rst | 39 main memory regions in an ELF file (i.e. text, bss, rodata) but can be modified
|
| /rk3399_ARM-atf/docs/ |
| H A D | porting-guide.rst | 460 regions even when the MMU is enabled. If not defined, only static 470 image, ``MAX_XLAT_TABLES`` must be defined to accommodate the dynamic regions 475 Defines the maximum number of regions that are allocated by the translation 478 defined in the ``mmap_region_t`` structure. The platform defines the regions 482 required regions for each BL stage. If ``PLAT_XLAT_TABLES_DYNAMIC`` flag is 484 the dynamic regions as well. 617 - Configure the platforms TrustZone Controller (TZC) with appropriate regions 905 which describes the regions of normal memory, memory mapped I/O 966 containing the maximum number of protected regions and bitmap with the types 978 This function returns the maximum size of DMA protected regions table in
|
| H A D | change-log.md | 353 …- add mmu regions for am62l soc ([8853eba](https://review.trustedfirmware.org/plugins/gitiles/TF-A… 1598 …- dynamically map GIC regions ([5680f81](https://review.trustedfirmware.org/plugins/gitiles/TF-A/t… 1603 …- increase the number of MMU regions ([0089258](https://review.trustedfirmware.org/plugins/gitiles… 1995 …- exclude extend memory map TZC regions ([06cec93](https://review.trustedfirmware.org/plugins/giti… 2303 …- add missing DLME data regions for min size requirement ([a65fa57](https://review.trustedfirmware… 2617 …- add DRAM memory regions that linux kernel can share ([18ec9bd](https://review.trustedfirmware.or… 3937 …- add support to map S-EL0 SP device regions ([727ab1c](https://review.trustedfirmware.org/plugins… 3938 …- add support to map S-EL0 SP memory regions ([83c3da7](https://review.trustedfirmware.org/plugins… 4182 …- missing device regions in spmc manifest ([5e47112](https://review.trustedfirmware.org/plugins/gi… 4324 …- add device-regions used in tf-a-tests ([45716e3](https://review.trustedfirmware.org/plugins/giti… [all …]
|
| /rk3399_ARM-atf/docs/threat_model/firmware_threat_model/ |
| H A D | threat_model_el3_spm.rst | 601 | | regions to allow lender to proceed. |
|
| H A D | threat_model.rst | 458 | | and sizes identifying memory regions, are | 531 | | regions. |
|