summaryrefslogtreecommitdiffstats
path: root/ArmPlatformPkg/Include/Library/ArmPlatformLib.h
diff options
context:
space:
mode:
Diffstat (limited to 'ArmPlatformPkg/Include/Library/ArmPlatformLib.h')
-rw-r--r--ArmPlatformPkg/Include/Library/ArmPlatformLib.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/ArmPlatformPkg/Include/Library/ArmPlatformLib.h b/ArmPlatformPkg/Include/Library/ArmPlatformLib.h
index 77561a3d05..fe3bc4bb8e 100644
--- a/ArmPlatformPkg/Include/Library/ArmPlatformLib.h
+++ b/ArmPlatformPkg/Include/Library/ArmPlatformLib.h
@@ -41,6 +41,19 @@ typedef struct {
} 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
This function returns the core position from the position 0 in the processor.