arm-trusted-firmware/include/lib
Antonio Nino Diaz d3d6c6e3e9 Assert correct granularity when mapping a PA
Each translation table level entry can only map a given virtual
address onto physical addresses of the same granularity. For example,
with the current configuration, a level 2 entry maps blocks of 2 MB,
so the physical address must be aligned to 2 MB. If the address is not
aligned, the MMU will just ignore the lower bits.

This patch adds an assertion to make sure that physical addresses are
always aligned to the correct boundary.

Change-Id: I0ab43df71829d45cdbe323301b3053e08ca99c2c
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
2016-12-13 15:35:15 +00:00
..
aarch32 Merge pull request #772 from davidcunado-arm/dc/reset_debug_reg 2016-12-08 12:30:11 +00:00
aarch64 Reset EL2 and EL3 configurable controls 2016-12-01 16:17:39 +00:00
cpus AArch32: Add support for ARM Cortex-A32 MPCore Processor 2016-09-21 16:28:55 +01:00
el3_runtime Add PMF instrumentation points in TF 2016-10-12 15:36:49 +01:00
libfdt Minor libfdt changes to enable TF integration 2016-06-03 14:21:03 +01:00
pmf Add PMF instrumentation points in TF 2016-10-12 15:36:49 +01:00
psci PSCI: Introduce PSCI Library argument structure 2016-09-22 17:07:20 +01:00
stdlib Remove non-standard <sys/cdefs.h> include from uuid.h 2016-10-12 15:37:37 +01:00
bakery_lock.h Fix build error with optimizations disabled (-O0) 2016-04-14 16:24:03 +01:00
cassert.h Remove direct usage of __attribute__((foo)) 2016-01-14 10:55:17 -08:00
mmio.h Add mmio utility functions 2015-08-05 19:55:06 +08:00
runtime_instr.h Add PMF instrumentation points in TF 2016-10-12 15:36:49 +01:00
semihosting.h Remove variables from .data section 2014-05-06 17:55:38 +01:00
smcc.h Introduce PSCI Library Interface 2016-07-19 10:19:01 +01:00
spinlock.h Always use named structs in header files 2014-05-06 13:57:48 +01:00
utils.h Move SIZE_FROM_LOG2_WORDS macro to utils.h 2016-08-09 17:33:57 +01:00
xlat_tables.h Assert correct granularity when mapping a PA 2016-12-13 15:35:15 +00:00