arm-trusted-firmware/services/std_svc/spm
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
..
aarch64 SPM: Introduce Secure Partition Manager 2017-11-08 18:05:14 +00:00
sp_setup.c xlat v2: Introduce xlat granule size helpers 2018-06-13 09:19:41 +01:00
sp_xlat.c SPM: Shorten names of types and functions 2018-05-23 13:50:18 +01:00
spm.mk SPM: Move xlat-related functions to separate file 2018-05-23 13:50:18 +01:00
spm_main.c SPM: Extract code out of the SMC handler 2018-05-23 13:50:18 +01:00
spm_private.h SPM: Replace SP init flag by generic state enum 2018-05-23 13:50:18 +01:00
spm_shim_private.h Clean usage of void pointers to access symbols 2018-03-27 13:20:27 +01:00