mirror of https://github.com/acidanthera/audk.git
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:
parent
a64d587294
commit
4cebe0453f
|
@ -21,6 +21,19 @@
|
||||||
|
|
||||||
#include <ArmPlatform.h>
|
#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[] = {
|
ARM_CORE_INFO mVersatileExpressMpCoreInfoTable[] = {
|
||||||
{
|
{
|
||||||
// Cluster 0, Core 0
|
// Cluster 0, Core 0
|
||||||
|
|
|
@ -40,19 +40,6 @@ typedef struct {
|
||||||
UINT64 NumberOfBytes;
|
UINT64 NumberOfBytes;
|
||||||
} ARM_SYSTEM_MEMORY_REGION_DESCRIPTOR;
|
} 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
|
Return the core position from the value of its MpId register
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue