mirror of https://github.com/acidanthera/audk.git
ArmPlatformPkg/ArmPlatformLib.h: Introduced ArmPlatformGetCorePosition()
The MP ID Register is not enough to know the position of the core in the SoC. We could have SoC with multi cluster of CPUs that do not contain the same number of CPUs. This function should return the position of the CPU in the SoC. Signed-off-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13770 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
695df8ba90
commit
0657689b29
|
@ -41,6 +41,11 @@ typedef struct {
|
|||
UINT64 NumberOfBytes;
|
||||
} ARM_SYSTEM_MEMORY_REGION_DESCRIPTOR;
|
||||
|
||||
UINTN
|
||||
ArmPlatformGetCorePosition (
|
||||
IN UINTN MpId
|
||||
);
|
||||
|
||||
/**
|
||||
Return the current Boot Mode
|
||||
|
||||
|
|
|
@ -124,3 +124,12 @@ ArmPlatformGetPlatformPpiList (
|
|||
*PpiListSize = 0;
|
||||
*PpiList = NULL;
|
||||
}
|
||||
|
||||
UINTN
|
||||
ArmPlatformGetCorePosition (
|
||||
IN UINTN MpId
|
||||
)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue