ArmPlatformPkg: remove ArmGetCpuCountPerCluster () from ArmPlatformLib

The only user of ArmPlatformLib's ArmGetCpuCountPerCluster () is itself
an ArmPlatformLib implementation, i.e., ArmVExpressLibRTSM.

Given that we'd prefer to get rid of ArmPlatformLib entirely, let's
remove ArmGetCpuCountPerCluster () from the API as a first step.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
This commit is contained in:
Ard Biesheuvel 2017-11-13 13:43:37 +00:00
parent a64d587294
commit 4cebe0453f
2 changed files with 13 additions and 13 deletions

View File

@ -21,6 +21,19 @@
#include <ArmPlatform.h>
/**
Return the core per cluster. The method may differ per core type
This function might be called from assembler before any stack is set.
@return Return the core count per cluster
**/
UINTN
ArmGetCpuCountPerCluster (
VOID
);
ARM_CORE_INFO mVersatileExpressMpCoreInfoTable[] = {
{
// Cluster 0, Core 0

View File

@ -40,19 +40,6 @@ typedef struct {
UINT64 NumberOfBytes;
} ARM_SYSTEM_MEMORY_REGION_DESCRIPTOR;
/**
Return the core per cluster. The method may differ per core type
This function might be called from assembler before any stack is set.
@return Return the core count per cluster
**/
UINTN
ArmGetCpuCountPerCluster (
VOID
);
/**
Return the core position from the value of its MpId register