Lines Matching defs:cpu
327 int cpu;
372 cpu = 0;
377 /* Find our logical cpu number */
378 cpu = lapic_to_cpu[(LAPIC_READ(ID)>>LAPIC_ID_SHIFT) & LAPIC_ID_MASK];
379 DBG("CPU: %d, GSBASE initial value: 0x%llx\n", cpu, rdmsr64(MSR_IA32_GS_BASE));
384 cpu_desc_init64(cpu_datap(cpu));
385 cpu_desc_load64(cpu_datap(cpu));
395 cpu_datap(cpu)->cpu_int_stack_top);
570 cpu_init(); /* Sets cpu_running which starter cpu waits for */
578 * We're in the cpu's interrupt stack with interrupts disabled.