ArmPlatformPkg/ArmVExpressDxe: Identify the current platform
Add a function to ArmVExpressDxe to identify the current platform we are running on. This includes ARM32 and AArch64 models and hardware. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16931 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
committed by
oliviermartin
parent
df320b1084
commit
dff720276a
@@ -40,6 +40,19 @@ 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
|
||||
|
||||
|
Reference in New Issue
Block a user