Home
last modified time | relevance | path

Searched refs:boot_cpu (Results 1 – 7 of 7) sorted by relevance

/xnu-11215/iokit/Kernel/arm/
H A DAppleARMSMP.cpp66 static unsigned int boot_cpu; variable
222 processor_boot(machProcessors[boot_cpu]); in cpu_boot_thread()
227 if (cpu_id != boot_cpu) { in cpu_boot_thread()
241 boot_cpu = topology_info->boot_cpu->cpu_id; in IOCPUInitialize()
315 assert3u(cpu_id, ==, boot_cpu); in PE_cpu_machine_init()
370 if (cpu_id == boot_cpu) { in PE_cpu_machine_quiesce()
402 assert(cpu_id != boot_cpu); in PE_cpu_down()
420 if (cpu_id == boot_cpu && ml_is_quiescing()) { in PE_cpu_power_disable()
510 if (cpu_id != boot_cpu) { in IOCPUSleepKernel()
524 processor_sleep(machProcessors[boot_cpu]); in IOCPUSleepKernel()
[all …]
/xnu-11215/osfmk/i386/
H A Dmachine_routines.c546 boolean_t boot_cpu ) in register_cpu() argument
551 this_cpu_datap = cpu_data_alloc(boot_cpu); in register_cpu()
555 assert((boot_cpu && (target_cpu == 0)) || in register_cpu()
556 (!boot_cpu && (target_cpu != 0))); in register_cpu()
569 if (!boot_cpu) { in register_cpu()
600 boolean_t boot_cpu, in ml_processor_register() argument
613 register_cpu( lapic_id, processor_out, boot_cpu ); in ml_processor_register()
642 if (!boot_cpu) { in ml_processor_register()
H A Dmachine_routines.h231 boolean_t boot_cpu; member
247 boolean_t boot_cpu,
H A Dmp.h104 extern void *console_cpu_alloc(boolean_t boot_cpu);
/xnu-11215/osfmk/arm64/
H A Dmachine_routines.c1174 …if (topology_info.num_cpus >= (cpu_boot_arg - 1) && topology_info.boot_cpu == NULL && !is_boot_cpu… in ml_parse_cpu_topology()
1271 assert(topology_info.boot_cpu == NULL); in ml_parse_cpu_topology()
1272 topology_info.boot_cpu = cpu; in ml_parse_cpu_topology()
1304 assert(topology_info.boot_cpu != NULL); in ml_parse_cpu_topology()
1315 ml_topology_cpu_t *boot_cpu = topology_info.boot_cpu; in ml_parse_cpu_topology() local
1316 …uint64_t tpidr_el0 = ((boot_cpu->cpu_id << MACHDEP_TPIDR_CPUNUM_SHIFT) & MACHDEP_TPIDR_CPUNUM_MASK… in ml_parse_cpu_topology()
1317 ((boot_cpu->cluster_id << MACHDEP_TPIDR_CLUSTERID_SHIFT) & MACHDEP_TPIDR_CLUSTERID_MASK); in ml_parse_cpu_topology()
1318 …assert(((tpidr_el0 & MACHDEP_TPIDR_CPUNUM_MASK) >> MACHDEP_TPIDR_CPUNUM_SHIFT) == boot_cpu->cpu_id… in ml_parse_cpu_topology()
1319 …assert(((tpidr_el0 & MACHDEP_TPIDR_CLUSTERID_MASK) >> MACHDEP_TPIDR_CLUSTERID_SHIFT) == boot_cpu->… in ml_parse_cpu_topology()
1373 return topology_info.boot_cpu->cpu_id; in ml_get_boot_cpu_number()
/xnu-11215/osfmk/arm/
H A Dcpu_topology.h166 ml_topology_cpu_t *boot_cpu; member
H A Dmachine_routines_common.c1351 ml_cpu_get_info_type(ml_cpu_info, ml_get_topology_info()->boot_cpu->cluster_type); in ml_cpu_get_info()