Lines Matching refs:CPU
94 kprintf("Booting on CPU %u\n", CPU());
96 cpus[CPU()].state = CPUSTATE_BOOTED;
97 cpus[CPU()].frame = NULL;
121 kprintf("AP %d booted!\n", CPU());
122 cpus[CPU()].state = CPUSTATE_BOOTED;
130 cpus[CPU()].state = state;
153 if (frame->done[CPU()] == 1)
156 frame->status[CPU()] = (frame->cb)(frame->arg);
157 frame->done[CPU()] = 1;
180 cpus[CPU()].frame = (CrossCallFrame *)&frame;
186 // Run on the local CPU
187 frame.status[CPU()] = cb(arg);
188 frame.done[CPU()] = 1;
196 cpus[CPU()].frame = NULL;
207 //kprintf("CPU %d Ack\n", CPU());
239 kprintf("CPU %d: %s\n", c, CPUStateToString[cpus[c].state]);
249 kprintf("CPU %d\n", CPU());
252 REGISTER_DBGCMD(cpu, "Current CPU number", Debug_CPU);