arm-trusted-firmware/include
Antonio Nino Diaz 883d1b5d4a Add comments about mismatched TCR_ELx and xlat tables
When the MMU is enabled and the translation tables are mapped, data
read/writes to the translation tables are made using the attributes
specified in the translation tables themselves. However, the MMU
performs table walks with the attributes specified in TCR_ELx. They are
completely independent, so special care has to be taken to make sure
that they are the same.

This has to be done manually because it is not practical to have a test
in the code. Such a test would need to know the virtual memory region
that contains the translation tables and check that for all of the
tables the attributes match the ones in TCR_ELx. As the tables may not
even be mapped at all, this isn't a test that can be made generic.

The flags used by enable_mmu_xxx() have been moved to the same header
where the functions are.

Also, some comments in the linker scripts related to the translation
tables have been fixed.

Change-Id: I1754768bffdae75f53561b1c4a5baf043b45a304
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
2018-02-27 09:55:01 +00:00
..
bl1 FWU: Introduce FWU_SMC_IMAGE_RESET 2017-06-01 14:52:12 +01:00
bl31 Deprecate one EL3 interrupt routing model with EL3 exception handling 2018-02-06 07:58:55 +00:00
bl32 spd: tlkd: support for "NS memory ranges" function ID 2018-01-08 16:00:15 -08:00
common Merge pull request #1173 from etienne-lms/armv7-qemu 2018-02-07 11:57:19 +08:00
drivers drivers:ufs: fix hynix ufs bug with quirk on hi36xx SoC 2018-02-24 09:30:41 +08:00
lib Add comments about mismatched TCR_ELx and xlat tables 2018-02-27 09:55:01 +00:00
plat bl1: add bl1_plat_handle_{pre,post}_image_load() 2018-02-02 00:19:04 +09:00
services Implement support for SMCCC v1.1 2018-01-29 09:58:57 +00:00
tools_share Support Trusted OS firmware extra images in TF tools 2017-08-09 18:06:05 +08:00