/linux/arch/mips/kernel/ |
A D | branch.c | 32 long epc = regs->cp0_epc; in __isa_exception_epc() 80 regs->cp0_epc + in __mm_isBranchInstr() 328 epc = regs->cp0_epc; in __MIPS16e_compute_return_epc() 339 regs->cp0_epc += 4; in __MIPS16e_compute_return_epc() 367 regs->cp0_epc = epc; in __MIPS16e_compute_return_epc() 379 regs->cp0_epc = in __MIPS16e_compute_return_epc() 397 regs->cp0_epc += 2; in __MIPS16e_compute_return_epc() 787 regs->cp0_epc += 8; in __compute_return_epc_for_insn() 801 regs->cp0_epc += 8; in __compute_return_epc_for_insn() 811 regs->cp0_epc += 8; in __compute_return_epc_for_insn() [all …]
|
A D | kprobes.c | 179 kcb->kprobe_saved_epc = regs->cp0_epc; in set_current_kprobe() 202 epc = regs->cp0_epc; in evaluate_branch_instruction() 218 kcb->target_epc = regs->cp0_epc; in evaluate_branch_instruction() 239 regs->cp0_epc = (unsigned long)p->addr; in prepare_singlestep() 245 regs->cp0_epc = (unsigned long)&p->ainsn.insn[0]; in prepare_singlestep() 265 regs->cp0_epc = kcb->target_epc; in resume_execution() 268 regs->cp0_epc = orig_epc + 4; in resume_execution() 279 addr = (kprobe_opcode_t *) regs->cp0_epc; in kprobe_handler()
|
A D | traps.c | 155 unsigned long pc = regs->cp0_epc; in show_backtrace() 216 regs.cp0_epc = 0; in show_stack() 221 regs.cp0_epc = task->thread.reg31; in show_stack() 302 (void *) regs->cp0_epc); in __show_regs() 473 regs->cp0_epc = fixup->nextinsn; in do_be() 848 regs->cp0_epc = old_epc; in simulate_fp() 1420 old_epc = regs->cp0_epc; in do_cpu() 1961 old_epc = regs->cp0_epc; in ejtag_exception_handler() 1963 regs->cp0_epc = depc; in ejtag_exception_handler() 1965 depc = regs->cp0_epc; in ejtag_exception_handler() [all …]
|
A D | signal_o32.c | 58 err |= __put_user(regs->cp0_epc, &sc->sc_pc); in setup_sigcontext32() 95 err |= __get_user(regs->cp0_epc, &sc->sc_pc); in restore_sigcontext32() 145 regs->cp0_epc = regs->regs[25] = (unsigned long) ksig->ka.sa.sa_handler; in setup_frame_32() 149 frame, regs->cp0_epc, regs->regs[31]); in setup_frame_32() 231 regs->cp0_epc = regs->regs[25] = (unsigned long) ksig->ka.sa.sa_handler; in setup_rt_frame_32() 235 frame, regs->cp0_epc, regs->regs[31]); in setup_rt_frame_32()
|
A D | uprobes.c | 113 aup->resume_epc = regs->cp0_epc + 4; in arch_uprobe_pre_xol() 117 aup->resume_epc = regs->cp0_epc; in arch_uprobe_pre_xol() 121 regs->cp0_epc = current->utask->xol_vaddr; in arch_uprobe_pre_xol() 131 regs->cp0_epc = aup->resume_epc; in arch_uprobe_post_xol()
|
A D | unaligned.c | 544 regs->cp0_epc = origpc; in emulate_load_store_insn() 589 origpc = regs->cp0_epc; in emulate_load_store_microMIPS() 600 contpc = regs->cp0_epc + 2; in emulate_load_store_microMIPS() 607 contpc = regs->cp0_epc + 4; in emulate_load_store_microMIPS() 919 regs->cp0_epc = origpc; in emulate_load_store_microMIPS() 1162 regs->cp0_epc = contpc; /* advance or branch */ in emulate_load_store_microMIPS() 1171 regs->cp0_epc = origpc; in emulate_load_store_microMIPS() 1207 origpc = regs->cp0_epc; in emulate_load_store_MIPS16e() 1452 regs->cp0_epc = origpc; in emulate_load_store_MIPS16e() 1486 if (regs->cp0_badvaddr == regs->cp0_epc) in do_ade() [all …]
|
A D | kgdb.c | 93 { "pc", GDB_SIZEOF_REG, offsetof(struct pt_regs, cp0_epc) }, 279 regs->cp0_epc = pc; in kgdb_arch_set_pc() 313 if ((trap == 9) && (regs->cp0_epc == (unsigned long)breakinst)) in kgdb_mips_notify() 314 regs->cp0_epc += 4; in kgdb_mips_notify() 362 regs->cp0_epc = address; in kgdb_arch_handle_exception()
|
A D | signal.c | 444 err |= __put_user(regs->cp0_epc, &sc->sc_pc); in setup_sigcontext() 525 err |= __get_user(regs->cp0_epc, &sc->sc_pc); in restore_sigcontext() 737 regs->cp0_epc = regs->regs[25] = (unsigned long) ksig->ka.sa.sa_handler; in setup_frame() 741 frame, regs->cp0_epc, regs->regs[31]); in setup_frame() 784 regs->cp0_epc = regs->regs[25] = (unsigned long) ksig->ka.sa.sa_handler; in setup_rt_frame() 788 frame, regs->cp0_epc, regs->regs[31]); in setup_rt_frame() 837 regs->cp0_epc -= 4; in handle_signal() 872 regs->cp0_epc -= 4; in do_signal() 878 regs->cp0_epc -= 4; in do_signal()
|
A D | mips-r2-to-r6-emul.c | 257 nepc = regs->cp0_epc; in jr_func() 259 regs->cp0_epc -= 4; in jr_func() 260 epc = regs->cp0_epc; in jr_func() 268 cepc = regs->cp0_epc; in jr_func() 286 regs->cp0_epc = nepc; in jr_func() 918 epc = regs->cp0_epc; in mipsr2_decoder() 994 regs->cp0_epc = epc; in mipsr2_decoder() 1000 cpc = regs->cp0_epc; in mipsr2_decoder() 1120 regs->cp0_epc = epc; in mipsr2_decoder() 1126 cpc = regs->cp0_epc; in mipsr2_decoder() [all …]
|
A D | stacktrace.c | 43 unsigned long pc = regs->cp0_epc; in save_context_stack() 88 regs->cp0_epc = tsk->thread.reg31; in save_stack_trace_tsk()
|
A D | signal_n32.c | 131 regs->cp0_epc = regs->regs[25] = (unsigned long) ksig->ka.sa.sa_handler; in setup_rt_frame_n32() 135 frame, regs->cp0_epc, regs->regs[31]); in setup_rt_frame_n32()
|
A D | ptrace.c | 82 __put_user((long)regs->cp0_epc, (__s64 __user *)&data->cp0_epc); in ptrace_getregs() 109 __get_user(regs->cp0_epc, (__s64 __user *)&data->cp0_epc); in ptrace_setregs() 261 regs->cp0_epc = (s32)uregs[i]; in gpr32_set() 322 regs->cp0_epc = uregs[i]; in gpr64_set() 897 REG_OFFSET_NAME(c0_epc, cp0_epc), 1137 tmp = regs->cp0_epc; in arch_ptrace() 1232 regs->cp0_epc = data; in arch_ptrace()
|
A D | ptrace32.c | 125 tmp = regs->cp0_epc; in compat_arch_ptrace() 237 regs->cp0_epc = data; in compat_arch_ptrace()
|
A D | process.c | 67 regs->cp0_epc = pc; in start_thread() 588 pc = regs->cp0_epc; in unwind_stack_by_address() 883 uregs[MIPS32_EF_CP0_EPC] = regs->cp0_epc; in mips_dump_regs32() 905 uregs[MIPS64_EF_CP0_EPC] = regs->cp0_epc; in mips_dump_regs64()
|
A D | perf_event.c | 48 unsigned long pc = regs->cp0_epc; in perf_callchain_kernel()
|
A D | perf_regs.c | 46 v = regs->cp0_epc; in perf_reg_value()
|
/linux/arch/mips/math-emu/ |
A D | dsemul.c | 144 if (regs->cp0_epc < base) in within_emuframe() 146 if (regs->cp0_epc >= (base + PAGE_SIZE)) in within_emuframe() 195 if (msk_isa16_mode(regs->cp0_epc) == (unsigned long)&fr->emul) in dsemul_thread_rollback() 196 regs->cp0_epc = current->thread.bd_emu_branch_pc; in dsemul_thread_rollback() 198 regs->cp0_epc = current->thread.bd_emu_cont_pc; in dsemul_thread_rollback() 215 int isa16 = get_isa16_mode(regs->cp0_epc); in mips_dsemul() 239 v = regs->cp0_epc & ~3; in mips_dsemul() 246 pr_debug("dsemul 0x%08lx cont at 0x%08lx\n", regs->cp0_epc, cont_pc); in mips_dsemul() 290 regs->cp0_epc = fr_uaddr | isa16; in mips_dsemul() 304 xcp->cp0_epc = current->thread.bd_emu_cont_pc; in do_dsemulret() [all …]
|
A D | cp1emu.c | 526 *contpc = regs->cp0_epc + in isBranchInstr() 530 *contpc = regs->cp0_epc + in isBranchInstr() 541 *contpc = regs->cp0_epc + in isBranchInstr() 545 *contpc = regs->cp0_epc + in isBranchInstr() 579 *contpc = regs->cp0_epc + in isBranchInstr() 1245 bcpc = xcp->cp0_epc; in cop1Emulate() 1319 xcp->cp0_epc = bcpc; in cop1Emulate() 1331 xcp->cp0_epc = bcpc; in cop1Emulate() 1384 xcp->cp0_epc = contpc; in cop1Emulate() 2853 oldepc = xcp->cp0_epc; in fpu_emulator_cop1Handler() [all …]
|
/linux/arch/mips/include/asm/ |
A D | branch.h | 63 return regs->cp0_epc; in exception_epc() 65 if (get_isa16_mode(regs->cp0_epc)) in exception_epc() 68 return regs->cp0_epc + 4; in exception_epc() 75 if (get_isa16_mode(regs->cp0_epc)) { in compute_return_epc() 81 regs->cp0_epc += 4; in compute_return_epc() 93 regs->cp0_epc += 4; in MIPS16e_compute_return_epc() 96 regs->cp0_epc += 2; in MIPS16e_compute_return_epc()
|
A D | ptrace.h | 46 unsigned long cp0_epc; member 62 regs->cp0_epc = val; in instruction_pointer_set() 156 #define instruction_pointer(regs) ((regs)->cp0_epc)
|
/linux/arch/mips/mm/ |
A D | fault.c | 54 field, regs->cp0_epc); in __do_page_fault() 125 if (address == regs->cp0_epc && !(vma->vm_flags & VM_EXEC)) { in __do_page_fault() 131 field, regs->cp0_epc); in __do_page_fault() 142 field, regs->cp0_epc); in __do_page_fault() 211 (unsigned long) regs->cp0_epc); in __do_page_fault() 212 print_vma_addr(KERN_CONT " ", regs->cp0_epc); in __do_page_fault() 239 raw_smp_processor_id(), field, address, field, regs->cp0_epc, in __do_page_fault() 271 field, (unsigned long) regs->cp0_epc, in __do_page_fault()
|
A D | extable.c | 19 regs->cp0_epc = fixup->nextinsn; in fixup_exception()
|
/linux/arch/mips/dec/ |
A D | kn01-berr.c | 75 unsigned int __user *pc = (unsigned int __user *)regs->cp0_epc + in dec_kn01_be_backend() 170 regs->cp0_epc, regs->regs[31]); in dec_kn01_be_interrupt()
|
/linux/arch/mips/sgi-ip32/ |
A D | ip32-berr.c | 28 printk("Got %cbe at 0x%lx\n", data ? 'd' : 'i', regs->cp0_epc); in ip32_be_handler()
|
/linux/arch/mips/include/uapi/asm/ |
A D | ptrace.h | 44 __u64 cp0_epc; member
|