Lines Matching defs:cpu
194 unsigned i, cpu;
196 cpu = PCPU_GET(cpuid);
198 tlb_state[cpu].wired = mips_rd_wired();
203 tlb_state[cpu].entry[i].entryhi = mips_rd_entryhi();
204 tlb_state[cpu].entry[i].entrylo0 = mips_rd_entrylo0();
205 tlb_state[cpu].entry[i].entrylo1 = mips_rd_entrylo1();
259 unsigned i, cpu;
266 cpu = ((addr >> 4) % 16) * 10 + (addr % 16);
268 cpu = PCPU_GET(cpuid);
270 if (cpu < 0 || cpu >= mp_ncpus) {
271 db_printf("Invalid CPU %u\n", cpu);
275 if (cpu == PCPU_GET(cpuid))
278 db_printf("Beginning TLB dump for CPU %u...\n", cpu);
280 if (i == tlb_state[cpu].wired) {
288 ehi = tlb_state[cpu].entry[i].entryhi;
289 elo0 = tlb_state[cpu].entry[i].entrylo0;
290 elo1 = tlb_state[cpu].entry[i].entrylo1;