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>
\r
#include <ArmPlatform.h>\r
\r
\r
#include <ArmPlatform.h>\r
\r
+/**\r
+ Return the core per cluster. The method may differ per core type\r
+\r
+ This function might be called from assembler before any stack is set.\r
+\r
+ @return Return the core count per cluster\r
+\r
+**/\r
+UINTN\r
+ArmGetCpuCountPerCluster (\r
+ VOID\r
+ );\r
+\r
ARM_CORE_INFO mVersatileExpressMpCoreInfoTable[] = {\r
{\r
// Cluster 0, Core 0\r
ARM_CORE_INFO mVersatileExpressMpCoreInfoTable[] = {\r
{\r
// Cluster 0, Core 0\r
UINT64 NumberOfBytes;\r
} ARM_SYSTEM_MEMORY_REGION_DESCRIPTOR;\r
\r
UINT64 NumberOfBytes;\r
} ARM_SYSTEM_MEMORY_REGION_DESCRIPTOR;\r
\r
-/**\r
- Return the core per cluster. The method may differ per core type\r
-\r
- This function might be called from assembler before any stack is set.\r
-\r
- @return Return the core count per cluster\r
-\r
-**/\r
-UINTN\r
-ArmGetCpuCountPerCluster (\r
- VOID\r
- );\r
-\r
/**\r
Return the core position from the value of its MpId register\r
\r
/**\r
Return the core position from the value of its MpId register\r
\r