arm-trusted-firmware/include/plat/arm/common
Roberto Vargas 638b034cc3 ARM platforms: Demonstrate mem_protect from el3_runtime
Previously mem_protect used to be only supported from BL2. This is not
helpful in the case when ARM TF-A BL2 is not used. This patch demonstrates
mem_protect from el3_runtime firmware on ARM Platforms specifically
when RESET_TO_BL31 or RESET_TO_SP_MIN flag is set as BL2 may be absent
in these cases. The Non secure DRAM is dynamically mapped into EL3 mmap
tables temporarily and then the protected regions are then cleared. This
avoids the need to map the non secure DRAM permanently to BL31/sp_min.

The stack size is also increased, because DYNAMIC_XLAT_TABLES require
a bigger stack.

Change-Id: Ia44c594192ed5c5adc596c0cff2c7cc18c001fde
Signed-off-by: Roberto Vargas <roberto.vargas@arm.com>
2018-05-01 15:25:25 +01:00
..
aarch64 Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
arm_common.ld.S Replace magic numbers in linkerscripts by PAGE_SIZE 2017-11-29 12:09:52 +00:00
arm_config.h FVP: Support Base FVP RevC 2017-08-02 14:10:35 +01:00
arm_def.h Update ULL() macro and instances of ull to comply with MISRA 2018-02-27 17:05:51 +00:00
arm_dyn_cfg_helpers.h ARM Platforms: Load HW_CONFIG in BL2 2018-02-26 16:31:11 +00:00
arm_sip_svc.h Merge pull request #927 from jeenu-arm/state-switch 2017-05-11 16:04:52 +01:00
arm_spm_def.h SPM: Move S-EL1/S-EL0 xlat tables to TZC DRAM 2017-12-06 14:12:41 +00:00
arm_xlat_tables.h Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
plat_arm.h ARM platforms: Demonstrate mem_protect from el3_runtime 2018-05-01 15:25:25 +01:00