Lines Matching defs:my_cpu
618 unsigned int my_cpu, tcpu;
620 my_cpu = cpu_number();
621 debugger_cpu = my_cpu;
624 PerProcTable[my_cpu].ppe_vaddr->debugger_active++;
628 if(tcpu == my_cpu) continue;
721 unsigned int instr, tcpu, my_cpu;
724 my_cpu = cpu_number(); /* Get our CPU */
727 if((debugger_cpu == my_cpu) && /* Do we already own debugger? */
728 PerProcTable[my_cpu].ppe_vaddr->debugger_active && /* and are we really active? */
736 PerProcTable[my_cpu].ppe_vaddr->debugger_active++; /* Show active on our CPU */
740 if(db_im_stepping == my_cpu) { /* Are we just back from a step? */
747 kprintf("Call_DebuggerC(%d): %08X %08X, debact = %d\n", my_cpu, type, (uint32_t)saved_state, debug_mode); /* (TEST/DEBUG) */
750 my_cpu, PerProcTable[my_cpu].ppe_vaddr->debugger_is_slave, debugger_cpu, saved_state->save_srr0);
762 if (debugger_debug) kprintf("Call_DebuggerC(%d): instr_pp = %08X, instr_ptr = %016llX, instr = %08X\n", my_cpu, instr_pp, instr_ptr, instr); /* (TEST/DEBUG) */
767 !PerProcTable[my_cpu].ppe_vaddr->debugger_is_slave) {
769 if (debugger_debug) kprintf("Call_DebuggerC(%d): lasttrace = %08X\n", my_cpu, lastTrace); /* (TEST/DEBUG) */
771 debugger_cpu = my_cpu; /* Show that we are debugger */
777 if(tcpu == my_cpu) continue; /* Don't diddle ourselves */
784 else if (debugger_cpu != my_cpu) goto debugger_exit; /* We are not debugger, don't continue... */
839 if (debugger_debug) kprintf("Call_DebuggerC(%d): switching debuggers\n", my_cpu); /* (TEST/DEBUG) */
873 if (debugger_debug) kprintf("Call_DebuggerC(%d): exit - inst = %08X, cpu=%d(%d), run=%d\n", my_cpu,
874 instr, my_cpu, debugger_cpu, db_run_mode); /* (TEST/DEBUG) */
880 if(debugger_cpu == my_cpu) { /* Are the debugger processor? */
896 db_im_stepping = my_cpu; /* Remember that I am about to step */
900 if (PerProcTable[my_cpu].ppe_vaddr->debugger_is_slave) PerProcTable[my_cpu].ppe_vaddr->debugger_is_slave--; /* If we were a slove, uncount us */
903 my_cpu, debugger_cpu, db_run_mode,
907 PerProcTable[my_cpu].ppe_vaddr->debugger_active--; /* Say we aren't active anymore */
926 unsigned int my_cpu;
928 my_cpu = cpu_number(); /* Get our CPU number */
931 if (debugger_cpu != (unsigned)-1 && debugger_cpu != my_cpu)
934 if (debugger_cpu == (unsigned)-1 || debugger_cpu == my_cpu)