Showing changes from revision #0 to #1:
Added | Removed | Changed
int HAL_CPUNumber(void)
Entry | |
---|---|
- |
Exit | |
---|---|
- | Number identifying the current CPU core |
This is an internal call for OS use only and should not be used by user software.
Returns a number in the range [0, HAL_CPUCount) which identifies the current core. Typically this will just involve extracting the lower bits from the CP15 MPIDR register, however since core numbering is platform-specific this action must be performed by the HAL.