arm-trusted-firmware/include/lib
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
..
aarch32 AMU: Implement context save/restore for aarch32 2018-01-31 14:08:22 +00:00
aarch64 Merge pull request #1197 from dp-arm/dp/amu 2018-01-12 09:02:24 +00:00
cpus Merge pull request #1228 from dp-arm/dp/cve_2017_5715 2018-01-25 00:06:50 +00:00
el3_runtime Optimize/cleanup BPIALL workaround 2018-01-29 09:58:57 +00:00
extensions AMU: Implement context save/restore for aarch32 2018-01-31 14:08:22 +00:00
libfdt libfdt: Replace v1.4.1 by v1.4.2 2017-01-16 17:26:04 +00:00
pmf Fix order of #includes 2017-07-12 14:45:31 +01:00
psci Update PSCI version to 1.1 2017-10-13 12:39:08 +01:00
stdlib Fix stdlib defines for AArch32 2017-06-09 14:47:52 +01:00
xlat_tables Add comments about mismatched TCR_ELx and xlat tables 2018-02-27 09:55:01 +00:00
zlib zlib: add gunzip() support 2018-02-02 00:18:54 +09:00
bakery_lock.h Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
cassert.h Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
coreboot.h Add platform-independent coreboot support library 2018-01-19 15:21:12 -08:00
mmio.h Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
optee_utils.h Add Trusted OS extra image parsing support for ARM standard platforms 2017-08-09 18:06:05 +08:00
runtime_instr.h Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
semihosting.h Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
smcc.h Redefine SMC_UNK as -1 instead of 0xFFFFFFFF 2018-02-15 15:04:34 +00:00
spinlock.h Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
utils.h utils: rename struct mem_region_t to struct mem_region 2018-01-16 23:27:00 +09:00
utils_def.h Merge pull request #1235 from jwerner-chromium/JW_udelay 2018-01-30 08:59:35 +00:00