|
khypervisor
v1
|

Go to the source code of this file.
Functions | |
| uint32_t | smp_processor_id (void) |
| uint32_t smp_processor_id | ( | void | ) |
Definition at line 5 of file smp.c.
{
/* Cortex-A15,
* MPIDR[1:0] - CPUID - 0,1, 2, or 3
* MPIDR[7:2] - Reserved, Read as zero
*/
uint32_t id = read_mpidr() & 0x0FF;
return id;
}
1.7.6.1