Lines Matching defs:cpu
108 lapic_cpu_map(int apic_id, int cpu)
110 cpu_to_lapic[cpu] = apic_id;
111 lapic_to_cpu[apic_id] = cpu;
115 * Retrieve the local apic ID a cpu.
122 ml_get_apicid(uint32_t cpu)
124 if(cpu >= (uint32_t)MAX_CPUS)
125 return 0xFFFFFFFF; /* Return -1 if cpu too big */
128 return (uint32_t)cpu_to_lapic[cpu];
204 kprintf("Boot cpu local APIC id 0x%x\n", cpu_to_lapic[0]);
370 * Re-initialize cpu features info and re-check.
416 /* Bypass the APIC completely and update cpu features */