h6. [[Hardware Abstraction Layer]] h6(. [[HAL entry points from RISC OS]] h6((. » HAL_CPUNumber h2. HAL_CPUNumber h5. (HAL entry #57) <pre> int HAL_CPUNumber(void) </pre> |_<. Entry | | |- | | |_<. Exit | | |- |Number identifying the current CPU core | h4. Use 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. h4. See also * [[HAL_CPUCount]] h6. Information source: Kernel.Docs.SMP.HAL in CVS