arm-trusted-firmware/include/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 Merge pull request #772 from davidcunado-arm/dc/reset_debug_reg 2016-12-08 12:30:11 +00:00
aarch64 Add PLAT_xxx_ADDR_SPACE_SIZE definitions 2016-12-13 15:35:15 +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