arm-trusted-firmware/include/bl31
Andrew Thoelke 6c0b45d1ce Correctly dimension the PSCI aff_map_node array
The array of affinity nodes is currently allocated for 32 entries
with the PSCI_NUM_AFFS value defined in psci.h. This is not enough
for large systems, and will substantially over allocate the array
for small systems.

This patch introduces an optional platform definition
PLATFORM_NUM_AFFS to platform_def.h. If defined this value is
used for PSCI_NUM_AFFS, otherwise a value of two times the number
of CPU cores is used.

The FVP port defines PLATFORM_NUM_AFFS to be 10 which saves
nearly 1.5KB of memory.

Fixes ARM-software/tf-issues#192

Change-Id: I68e30ac950de88cfbd02982ba882a18fb69c1445
2014-06-23 14:56:12 +01:00
..
services Correctly dimension the PSCI aff_map_node array 2014-06-23 14:56:12 +01:00
bl31.h Further renames of platform porting functions 2014-05-27 16:17:21 +01:00
context.h Move CPU context pointers into cpu_data 2014-06-16 21:34:47 +01:00
context_mgmt.h Initialise CPU contexts from entry_point_info 2014-06-23 14:55:44 +01:00
cpu_data.h Move CPU context pointers into cpu_data 2014-06-16 21:34:47 +01:00
interrupt_mgmt.h Remove extern keyword from function declarations 2014-05-23 12:15:54 +01:00
runtime_svc.h Remove early_exceptions from BL3-1 2014-06-17 11:20:00 +01:00