Lines Matching defs:cpu
145 static zx_status_t platform_start_cpu(uint cluster, uint cpu) {
149 uint32_t ret = psci_cpu_on(cluster, cpu, kernel_entry_paddr);
150 dprintf(INFO, "Trying to start cpu %u:%u returned: %d\n", cluster, cpu, (int)ret);
159 for (uint cpu = 0; cpu < cpu_cluster_cpus[cluster]; cpu++) {
160 if (cluster != 0 || cpu != 0) {
161 // create a stack for the cpu we're about to start
162 zx_status_t status = arm64_create_secondary_stack(cluster, cpu);
165 // start the cpu
166 status = platform_start_cpu(cluster, cpu);
172 zx_status_t status = arm64_free_secondary_stack(cluster, cpu);
177 // the cpu booted