CPUID for ARMv7 (ARM R5)

Features Supported

  • APIs to get R5F Cluster Id and Core Id.

Features NOT Supported

NA

Important Usage Guidelines

  • Refer to ARMv7-R architecture manual for more details

  • API should be used in priviledge mode only.

Example Usage

Include the below file to access the APIs,

Example to get R5F Cluster Id and Core Id:

API Reference

Functions

void CSL_armR5GetCpuID(CSL_ArmR5CPUInfo *cpuInfo)

Get the cluster group and CPU ID for current R5 Core.

Please NOTE that this function has to be called in privileged mode only

Parameters:

cpuInfo – Pointer to CPU info structure Refer struct CSL_ArmR5CPUInfo

struct CSL_ArmR5CPUInfo
#include <CpuIdP.h>

Structure containing the CPU Info such as CPU ID and Cluster Group ID.

Public Members

uint32_t cpuID

CPU/core ID within cluster, as defined by the SoC’s CSL core ID enumeration

uint32_t grpId

Group Id of the cluster Refer CSL_ArmR5ClusterGroupID