arm-trusted-firmware/include/lib/xlat_tables
Antonio Nino Diaz a0b9bb79a0 xlat v2: Introduce xlat granule size helpers
The function xlat_arch_is_granule_size_supported() can be used to check
if a specific granule size is supported. In Armv8, AArch32 only supports
4 KiB pages. AArch64 supports 4 KiB, 16 KiB or 64 KiB depending on the
implementation, which is detected at runtime.

The function xlat_arch_get_max_supported_granule_size() returns the max
granule size supported by the implementation.

Even though right now they are only used by SPM, they may be useful in
other places in the future. This patch moves the code currently in SPM
to the xlat tables lib so that it can be reused.

Change-Id: If54624a5ecf20b9b9b7f38861b56383a03bbc8a4
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
2018-06-13 09:19:41 +01:00
..
aarch32 xlat lib: Fix some types 2017-07-26 09:28:23 +01:00
aarch64 xlat: Make function to calculate TCR PA bits public 2017-11-08 18:05:14 +00:00
xlat_mmu_helpers.h xlat v2: Introduce xlat granule size helpers 2018-06-13 09:19:41 +01:00
xlat_tables.h include: add U()/ULL() macros for constants 2017-06-14 17:00:30 -07:00
xlat_tables_arch.h xlat: Fix warning in CHECK_VIRT_ADDR_SPACE_SIZE 2018-05-09 11:36:10 +01:00
xlat_tables_defs.h xlat: Set AP[1] to 1 when it is RES1 2018-04-26 12:59:08 +01:00
xlat_tables_v2.h Fix some MISRA defects in SPM code 2018-04-17 15:10:18 +01:00
xlat_tables_v2_helpers.h bl2-el3: Add BL2_EL3 image 2018-01-18 09:42:35 +00:00