audk/ArmPlatformPkg/Library
oliviermartin d05ca26cb8 ArmPlatformPkg/ArmPlatformLib: Added ArmPlatformGetPrimaryCoreMpId()
ArmPlatformGetPrimaryCoreMpId returns the MPID of the primary core.
The primary core might not be known at build time (eg: the platform allows
the boot CPU to be changed through board config).

This function is used during the secondary core stack initialization to know
the position of the secondary core in the SoC.
A secondary core that is at the position N, with N greater than the primary
core position, will be at the position N-1 in the list of secondary stacks
(the primary core has its own separate bigger stack).

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Acked-by: Ryan Harkin <ryan.harkin@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14345 6f19259b-4bc3-4df7-8a09-765794883524
2013-05-10 12:44:30 +00:00
..
ArmPlatformGlobalVariableLib ARM Packages: Fixed line endings 2013-01-25 11:28:06 +00:00
ArmPlatformLibNull ArmPlatformPkg/ArmPlatformLib: Added ArmPlatformGetPrimaryCoreMpId() 2013-05-10 12:44:30 +00:00
ArmPlatformSecLibNull ArmPlatformPkg/ArmPlatformLib: Added support for ArmPlatformIsPrimaryCore() 2013-05-10 12:41:27 +00:00
ArmPlatformStackLib ArmPlatformPkg: Moved ARMv7 specific files to a 'Arm' subdirectory 2013-03-12 00:54:02 +00:00
ArmTrustedMonitorLibNull ArmPlatformPkg: Moved ARMv7 specific files to a 'Arm' subdirectory 2013-03-12 00:54:02 +00:00
DebugSecExtraActionLib ArmPlatformPkg/ArmPlatformLib: Added support for ArmPlatformIsPrimaryCore() 2013-05-10 12:41:27 +00:00
EblCmdLib ArmPlatformPkg: Moved ARMv7 specific files to a 'Arm' subdirectory 2013-03-12 00:54:02 +00:00
L2X0CacheLibNull ArmPkg: Move ARM Platform drivers from ArmPkg/Drivers/ to ArmPlatformPkg/Drivers/ (2) 2011-07-01 15:40:16 +00:00
PL011SerialPortLib EmbeddedPkg: Introduced a separate SerialPortExtLib library 2013-03-12 00:40:11 +00:00
PL031RealTimeClockLib ArmPlatformPkg/PL031RealTimeClockLib: Set PL031_{TimeZone,Daylight} UEFI variables as local 2013-01-28 11:59:37 +00:00
PeiServicesTablePointerLib ArmPlatformPkg: Introduce ArmPlatformGlobalVariableLib 2011-09-22 23:11:03 +00:00
PrePiHobListPointerLib ArmPlatformPkg: Introduce ArmPlatformGlobalVariableLib 2011-09-22 23:11:03 +00:00
SP804TimerLib ARM Packages: Fixed line endings 2013-01-25 11:28:06 +00:00