/openbmc/linux/arch/mips/kernel/ |
H 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 …]
|
H A D | kprobes.c | 185 kcb->kprobe_saved_epc = regs->cp0_epc; in set_current_kprobe() 208 epc = regs->cp0_epc; in evaluate_branch_instruction() 224 kcb->target_epc = regs->cp0_epc; in evaluate_branch_instruction() 245 regs->cp0_epc = (unsigned long)p->addr; in prepare_singlestep() 251 regs->cp0_epc = (unsigned long)&p->ainsn.insn[0]; in prepare_singlestep() 271 regs->cp0_epc = kcb->target_epc; in resume_execution() 274 regs->cp0_epc = orig_epc + 4; in resume_execution() 286 addr = (kprobe_opcode_t *) regs->cp0_epc; in kprobe_handler()
|
H 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()
|
H 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()
|
H 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 …]
|
H 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()
|
H A D | unaligned.c | 585 regs->cp0_epc = origpc; in emulate_load_store_insn() 630 origpc = regs->cp0_epc; in emulate_load_store_microMIPS() 641 contpc = regs->cp0_epc + 2; in emulate_load_store_microMIPS() 648 contpc = regs->cp0_epc + 4; in emulate_load_store_microMIPS() 960 regs->cp0_epc = origpc; in emulate_load_store_microMIPS() 1203 regs->cp0_epc = contpc; /* advance or branch */ in emulate_load_store_microMIPS() 1212 regs->cp0_epc = origpc; in emulate_load_store_microMIPS() 1248 origpc = regs->cp0_epc; in emulate_load_store_MIPS16e() 1493 regs->cp0_epc = origpc; in emulate_load_store_MIPS16e() 1544 if (regs->cp0_badvaddr == regs->cp0_epc) in do_ade() [all …]
|
H 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()
|
H A D | signal.c | 443 err |= __put_user(regs->cp0_epc, &sc->sc_pc); in setup_sigcontext() 524 err |= __get_user(regs->cp0_epc, &sc->sc_pc); in restore_sigcontext() 743 regs->cp0_epc = regs->regs[25] = (unsigned long) ksig->ka.sa.sa_handler; in setup_frame() 747 frame, regs->cp0_epc, regs->regs[31]); in setup_frame() 792 regs->cp0_epc = regs->regs[25] = (unsigned long) ksig->ka.sa.sa_handler; in setup_rt_frame() 796 frame, regs->cp0_epc, regs->regs[31]); in setup_rt_frame() 845 regs->cp0_epc -= 4; in handle_signal() 880 regs->cp0_epc -= 4; in do_signal() 886 regs->cp0_epc -= 4; in do_signal()
|
H 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 …]
|
H A D | signal_n32.c | 130 regs->cp0_epc = regs->regs[25] = (unsigned long) ksig->ka.sa.sa_handler; in setup_rt_frame_n32() 134 frame, regs->cp0_epc, regs->regs[31]); in setup_rt_frame_n32()
|
H A D | ptrace.c | 88 __put_user((long)regs->cp0_epc, (__s64 __user *)&data->cp0_epc); in ptrace_getregs() 115 __get_user(regs->cp0_epc, (__s64 __user *)&data->cp0_epc); in ptrace_setregs() 267 regs->cp0_epc = (s32)uregs[i]; in gpr32_set() 328 regs->cp0_epc = uregs[i]; in gpr64_set() 904 REG_OFFSET_NAME(c0_epc, cp0_epc), 1144 tmp = regs->cp0_epc; in arch_ptrace() 1239 regs->cp0_epc = data; in arch_ptrace()
|
H A D | perf_event.c | 48 unsigned long pc = regs->cp0_epc; in perf_callchain_kernel()
|
/openbmc/linux/arch/mips/math-emu/ |
H A D | dsemul.c | 141 if (regs->cp0_epc < base) in within_emuframe() 143 if (regs->cp0_epc >= (base + PAGE_SIZE)) in within_emuframe() 192 if (msk_isa16_mode(regs->cp0_epc) == (unsigned long)&fr->emul) in dsemul_thread_rollback() 193 regs->cp0_epc = current->thread.bd_emu_branch_pc; in dsemul_thread_rollback() 195 regs->cp0_epc = current->thread.bd_emu_cont_pc; in dsemul_thread_rollback() 212 int isa16 = get_isa16_mode(regs->cp0_epc); in mips_dsemul() 236 v = regs->cp0_epc & ~3; in mips_dsemul() 243 pr_debug("dsemul 0x%08lx cont at 0x%08lx\n", regs->cp0_epc, cont_pc); in mips_dsemul() 287 regs->cp0_epc = fr_uaddr | isa16; in mips_dsemul() 301 xcp->cp0_epc = current->thread.bd_emu_cont_pc; in do_dsemulret() [all …]
|
H 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 …]
|
/openbmc/linux/arch/mips/include/asm/ |
H 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()
|
H A D | ptrace.h | 46 unsigned long cp0_epc; member 62 regs->cp0_epc = val; in instruction_pointer_set() 157 #define instruction_pointer(regs) ((regs)->cp0_epc)
|
/openbmc/linux/arch/mips/mm/ |
H A D | fault.c | 54 field, regs->cp0_epc); in __do_page_fault() 117 if (address == regs->cp0_epc && !(vma->vm_flags & VM_EXEC)) { in __do_page_fault() 123 field, regs->cp0_epc); in __do_page_fault() 134 field, regs->cp0_epc); in __do_page_fault() 206 (unsigned long) regs->cp0_epc); in __do_page_fault() 207 print_vma_addr(KERN_CONT " ", regs->cp0_epc); in __do_page_fault() 234 raw_smp_processor_id(), field, address, field, regs->cp0_epc, in __do_page_fault() 266 field, (unsigned long) regs->cp0_epc, in __do_page_fault()
|
H A D | extable.c | 19 regs->cp0_epc = fixup->nextinsn; in fixup_exception()
|
/openbmc/u-boot/arch/mips/include/asm/ |
H A D | ptrace.h | 38 unsigned long cp0_epc; member 59 regs->cp0_epc = val; in instruction_pointer_set() 89 #define instruction_pointer(regs) ((regs)->cp0_epc)
|
/openbmc/u-boot/arch/mips/lib/ |
H A D | traps.c | 51 printf("epc : %0*lx (text %0*lx)\n", field, regs->cp0_epc, in show_regs() 52 field, regs->cp0_epc - gd->reloc_off); in show_regs()
|
/openbmc/linux/arch/mips/dec/ |
H 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()
|
/openbmc/linux/arch/mips/sgi-ip32/ |
H A D | ip32-berr.c | 28 printk("Got %cbe at 0x%lx\n", data ? 'd' : 'i', regs->cp0_epc); in ip32_be_handler()
|
/openbmc/qemu/linux-user/mips64/ |
H A D | target_syscall.h | 17 target_ulong cp0_epc; member
|
/openbmc/qemu/linux-user/mips/ |
H A D | target_syscall.h | 20 abi_ulong cp0_epc; member
|