arm-trusted-firmware/lib
Antonio Nino Diaz 0029624fe2 Add PLAT_xxx_ADDR_SPACE_SIZE definitions
Added the definitions `PLAT_PHY_ADDR_SPACE_SIZE` and
`PLAT_VIRT_ADDR_SPACE_SIZE` which specify respectively the physical
and virtual address space size a platform can use.

`ADDR_SPACE_SIZE` is now deprecated. To maintain compatibility, if any
of the previous defines aren't present, the value of `ADDR_SPACE_SIZE`
will be used instead.

For AArch64, register ID_AA64MMFR0_EL1 is checked to calculate the
max PA supported by the hardware and to verify that the previously
mentioned definition is valid. For AArch32, a 40 bit physical
address space is considered.

Added asserts to check for overflows.

Porting guide updated.

Change-Id: Ie8ce1da5967993f0c94dbd4eb9841fc03d5ef8d6
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 Add PLAT_xxx_ADDR_SPACE_SIZE definitions 2016-12-13 15:35:15 +00:00