/src/sys/arch/vax/include/ |
userret.h | 46 void * const ras_pc = ras_lookup(p, (void *) tf->tf_pc); 48 tf->tf_pc = (vaddr_t) ras_pc; 57 addupc_task(l, tf->tf_pc,
|
db_machdep.h | 51 #define PC_REGS(regs) (*(db_addr_t *)&(regs)->tf_pc) 58 #define FIXUP_PC_AFTER_BREAK(regs) ((regs)->tf_pc -= BKPT_SIZE)
|
trap.h | 101 long tf_pc; /* User pc */ member in struct:trapframe
|
/src/sys/arch/riscv/include/ |
db_machdep.h | 54 #define PC_REGS(tf) ((tf)->tf_pc) 57 if (db_get_value((tf)->tf_pc, sizeof(uint32_t), false) == BKPT_INST) \ 58 (tf)->tf_pc += BKPT_SIZE; \ 63 if ((tf)->tf_pc == (register_t)cpu_Debugger_insn) \ 64 (tf)->tf_pc = (register_t)cpu_Debugger_ret; \
|
/src/sys/arch/or1k/include/ |
frame.h | 42 __register_t tf_pc; member in struct:trapframe
|
/src/sys/arch/vax/vax/ |
trap.c | 118 tf->tf_trap, tf->tf_code, tf->tf_pc, tf->tf_psl); 129 (u_int)tf->tf_pc, (u_int)tf->tf_psl); 134 mfpr(PR_KSP), (u_int)tf->tf_pc, pcb, 172 && tf->tf_pc >= (uintptr_t) cas32_ras_start 173 && tf->tf_pc < (uintptr_t) cas32_ras_end) { 174 tf->tf_pc = (uintptr_t) cas32_ras_start; 184 tf->tf_trap, tf->tf_code, tf->tf_pc, tf->tf_psl); 189 tf->tf_pc, tf->tf_code); 223 tf->tf_pc = (unsigned)onfault; 237 tf->tf_ap, tf->tf_fp, tf->tf_sp, tf->tf_pc); [all...] |
syscall.c | 74 syscallnames[tf->tf_code], tf->tf_pc, tf->tf_psl,tf->tf_sp, 102 "tf %p\n", syscallnames[tf->tf_code], tf->tf_pc, tf->tf_psl, 117 tf->tf_pc -= (tf->tf_code > 63 ? 4 : 2);
|
/src/sys/arch/sparc/sparc/ |
syscall.c | 112 tf->tf_pc = tf->tf_global[5]; 114 tf->tf_pc = tf->tf_global[2]; 116 tf->tf_pc = tf->tf_global[7]; 118 tf->tf_pc = tf->tf_npc; 205 * System calls. `pc' is just a copy of tf->tf_pc. 239 opc = tf->tf_pc; 244 tf->tf_npc = tf->tf_pc + 4; 266 tf->tf_pc = opc; 280 tf->tf_pc = onpc; 281 tf->tf_npc = tf->tf_pc + 4 [all...] |
/src/sys/arch/sparc64/sparc64/ |
syscall.c | 130 tf->tf_pc = tf->tf_global[5]; 132 tf->tf_pc = tf->tf_global[7]; 134 tf->tf_pc = tf->tf_global[2]; 136 tf->tf_pc = tf->tf_npc; 249 * System calls. `pc' is just a copy of tf->tf_pc. 298 opc = tf->tf_pc; 303 tf->tf_npc = tf->tf_pc + 4; 339 tf->tf_pc = opc; 354 tf->tf_pc = onpc; 355 tf->tf_npc = tf->tf_pc + 4 [all...] |
process_machdep.c | 123 regs->r_pc = tf->tf_pc; 135 regp->r_pc = tf->tf_pc; 156 tf->tf_pc = regs->r_pc; 170 tf->tf_pc = regp->r_pc; 196 l->l_md.md_tf->tf_pc = (vaddr_t)addr;
|
/src/sys/arch/sparc/include/ |
reg.h | 55 int tf_pc; /* return pc */ member in struct:trapframe
|
db_machdep.h | 61 #define PC_REGS(regs) ((regs)->db_tf.tf_pc) 64 (regs)->db_tf.tf_pc = n; \
|
/src/sys/arch/arm/arm32/ |
fault.c | 182 tf->tf_r12, tf->tf_usr_sp, tf->tf_usr_lr, tf->tf_pc, 208 tf->tf_pc, *((uint16 *)(tf->tf_pc & ~1)), 209 *((uint16 *)((tf->tf_pc + 2) & ~1))); 214 printf("pc = 0x%08x, opcode 0x%08x, insn = ", tf->tf_pc, 215 *((u_int *)tf->tf_pc)); 217 disassemble(tf->tf_pc); 267 (uintptr_t)tf, (uintptr_t)tf->tf_pc, 0, 0); 317 if (__predict_false(!user && (tf->tf_pc & 3) != 0)) { 323 if (__predict_false((tf->tf_pc & 3) != 0)) [all...] |
kgdb_machdep.c | 111 gdb_regs[KGDB_REGNUM_R0 + 15] = regs->tf_pc; 137 regs->tf_pc = gdb_regs[KGDB_REGNUM_R0 + 15];
|
/src/sys/arch/arm/include/ |
frame.h | 73 register_t tf_pc; member in struct:trapframe 80 #define tf_r15 tf_pc
|
/src/sys/arch/m68k/m68k/ |
kgdb_m68k.c | 134 gdb_regs[GDB_PC] = regs->tf_pc; 145 regs->tf_pc = gdb_regs[GDB_PC];
|
/src/sys/arch/sparc64/include/ |
reg.h | 85 int tf_pc; /* return pc */ member in struct:trapframe32 102 int64_t tf_pc; /* return pc */ member in struct:trapframe64
|
/src/sys/arch/arm/arm/ |
syscall.c | 112 if (__predict_false(((tf->tf_pc - INSN_SIZE) & 3) != 0)) { 118 ksi.ksi_addr = (uint32_t *)(intptr_t) (tf->tf_pc-INSN_SIZE); 138 insn = read_insn(tf->tf_pc - INSN_SIZE, true); 161 tf->tf_pc -= INSN_SIZE; 213 ksi.ksi_addr = (void *)(tf->tf_pc - THUMB_INSN_SIZE); 216 ksi.ksi_addr = (void *)(tf->tf_pc - INSN_SIZE); 265 tf->tf_pc -= THUMB_INSN_SIZE; 268 tf->tf_pc -= INSN_SIZE;
|
undefined.c | 154 tf->tf_pc += INSN_SIZE; 168 tf->tf_pc += INSN_SIZE; 225 frame->tf_pc += INSN_SIZE; 271 frame->tf_pc += INSN_SIZE; 317 tf->tf_pc -= INSN_SIZE; 318 if (dtrace_trapper(tf->tf_pc, tf) == 0) 320 tf->tf_pc += INSN_SIZE; /* Reset for the rest code */ 329 tf->tf_pc -= THUMB_INSN_SIZE; 333 tf->tf_pc -= INSN_SIZE; 336 fault_pc = tf->tf_pc; [all...] |
process_machdep.c | 160 regs->r_pc = tf->tf_pc; 198 tf->tf_pc = regs->r_pc; 231 tf->tf_pc = (int)addr;
|
/src/sys/arch/riscv/riscv/ |
syscall.c | 206 tf->tf_pc += 239 tf->tf_a0, tf->tf_a1, tf->tf_pc); 243 tf->tf_pc -= 253 tf->tf_pc -= INSN_SIZE * 2; // jump to cerror. 259 printf(" return error=%d to %#" PRIxREGISTER "\n", error, tf->tf_pc);
|
core_machdep.c | 86 cpustate.tf.tf_pc = tf->tf_pc;
|
/src/sys/arch/aarch64/include/ |
frame.h | 45 #define tf_pc tf_regs.r_pc macro
|
/src/sys/arch/m68k/include/ |
db_machdep.h | 58 #define PC_REGS(regs) ((regs)->tf_pc) 65 #define FIXUP_PC_AFTER_BREAK(regs) ((regs)->tf_pc -= BKPT_SIZE)
|
/src/sys/arch/aarch64/aarch64/ |
trap.c | 262 " esr=%08x", eclass_trapname(eclass), tf->tf_pc, tf->tf_sp, 384 if (ufetch_32((uint32_t *)tf->tf_pc, &insn)) { 405 tf->tf_pc += 4; 447 do_trapsignal(l, SIGBUS, BUS_ADRALN, (void *)tf->tf_pc, esr); 458 do_trapsignal(l, SIGTRAP, TRAP_BRKPT, (void *)tf->tf_pc, esr); 464 do_trapsignal(l, SIGTRAP, TRAP_TRACE, (void *)tf->tf_pc, esr); 492 eclass_trapname(eclass), tf->tf_esr, tf->tf_pc, 493 strdisasm(tf->tf_pc, tf->tf_spsr)); 497 do_trapsignal(l, SIGILL, ILL_ILLTRP, (void *)tf->tf_pc, esr); 728 (void *)tf->tf_pc, 0) [all...] |