arm-trusted-firmware/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 AArch32: Add `memcpy4` function in assembly 2016-09-28 14:03:47 +01:00
aarch64 Refactor the xlat_tables library code 2016-04-13 12:06:23 +01:00
cpus AArch32: Add support for ARM Cortex-A32 MPCore Processor 2016-09-21 16:28:55 +01:00
el3_runtime Reset EL2 and EL3 configurable controls 2016-12-01 16:17:39 +00:00
libfdt Minor libfdt changes to enable TF integration 2016-06-03 14:21:03 +01:00
locks Fix normal memory bakery lock implementation 2016-11-21 17:10:26 +00:00
pmf Add Performance Measurement Framework(PMF) 2016-06-16 08:31:42 +01:00
psci Define and use no_ret macro where no return is expected 2016-12-05 14:55:35 +00:00
semihosting AArch32: Common changes needed for BL1/BL2 2016-09-21 16:27:15 +01:00
stdlib Move stdlib header files to include/lib/stdlib 2016-06-03 14:20:48 +01:00
xlat_tables Assert correct granularity when mapping a PA 2016-12-13 15:35:15 +00:00