Home
last modified time | relevance | path

Searched refs:cp0_epc (Results 1 – 25 of 48) sorted by relevance

12

/kernel/linux/linux-5.10/arch/mips/kernel/
Dbranch.c32 long epc = regs->cp0_epc; in __isa_exception_epc()
80 regs->cp0_epc + in __mm_isBranchInstr()
92 regs->regs[31] = regs->cp0_epc + in __mm_isBranchInstr()
98 *contpc = regs->cp0_epc + in __mm_isBranchInstr()
102 *contpc = regs->cp0_epc + in __mm_isBranchInstr()
108 regs->regs[31] = regs->cp0_epc + in __mm_isBranchInstr()
114 *contpc = regs->cp0_epc + in __mm_isBranchInstr()
118 *contpc = regs->cp0_epc + in __mm_isBranchInstr()
124 *contpc = regs->cp0_epc + in __mm_isBranchInstr()
128 *contpc = regs->cp0_epc + in __mm_isBranchInstr()
[all …]
Dkprobes.c178 kcb->kprobe_saved_epc = regs->cp0_epc; in set_current_kprobe()
201 epc = regs->cp0_epc; in evaluate_branch_instruction()
217 kcb->target_epc = regs->cp0_epc; in evaluate_branch_instruction()
238 regs->cp0_epc = (unsigned long)p->addr; in prepare_singlestep()
246 regs->cp0_epc = (unsigned long)&p->ainsn.insn[0]; in prepare_singlestep()
266 regs->cp0_epc = kcb->target_epc; in resume_execution()
269 regs->cp0_epc = orig_epc + 4; in resume_execution()
280 addr = (kprobe_opcode_t *) regs->cp0_epc; in kprobe_handler()
Duprobes.c113 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()
Dtraps.c148 unsigned long pc = regs->cp0_epc; in show_backtrace()
210 regs.cp0_epc = 0; in show_stack()
215 regs.cp0_epc = task->thread.reg31; in show_stack()
287 printk("epc : %0*lx %pS\n", field, regs->cp0_epc, in __show_regs()
288 (void *) regs->cp0_epc); in __show_regs()
378 show_code((unsigned int __user *) regs->cp0_epc); in show_registers()
464 regs->cp0_epc = fixup->nextinsn; in do_be()
477 field, regs->cp0_epc, field, regs->regs[31]); in do_be()
750 force_sig_fault(SIGFPE, FPE_INTOVF, (void __user *)regs->cp0_epc); in do_ov()
841 regs->cp0_epc = old_epc; in simulate_fp()
[all …]
Dsignal_o32.c58 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()
Dkgdb.c94 { "pc", GDB_SIZEOF_REG, offsetof(struct pt_regs, cp0_epc) },
292 regs->cp0_epc = pc; in kgdb_arch_set_pc()
333 if ((trap == 9) && (regs->cp0_epc == (unsigned long)breakinst)) in kgdb_mips_notify()
334 regs->cp0_epc += 4; in kgdb_mips_notify()
383 regs->cp0_epc = address; in kgdb_arch_handle_exception()
Dunaligned.c586 regs->cp0_epc = origpc; in emulate_load_store_insn()
630 origpc = regs->cp0_epc; in emulate_load_store_microMIPS()
638 pc16 = (unsigned short __user *)msk_isa16_mode(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()
1247 origpc = regs->cp0_epc; in emulate_load_store_MIPS16e()
1492 regs->cp0_epc = origpc; in emulate_load_store_MIPS16e()
[all …]
Dsignal.c444 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()
Dstacktrace.c43 unsigned long pc = regs->cp0_epc; in save_context_stack()
88 regs->cp0_epc = tsk->thread.reg31; in save_stack_trace_tsk()
Dmips-r2-to-r6-emul.c257 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()
1051 regs->cp0_epc = epc; in mipsr2_decoder()
1055 cpc = regs->cp0_epc; in mipsr2_decoder()
[all …]
Dsignal_n32.c131 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()
Dptrace.c82 __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()
Dperf_event.c48 unsigned long pc = regs->cp0_epc; in perf_callchain_kernel()
Dptrace32.c125 tmp = regs->cp0_epc; in compat_arch_ptrace()
237 regs->cp0_epc = data; in compat_arch_ptrace()
/kernel/linux/linux-5.10/arch/mips/math-emu/
Ddsemul.c144 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()
197 else if (msk_isa16_mode(regs->cp0_epc) == (unsigned long)&fr->badinst) 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()
[all …]
Dcp1emu.c439 regs->cp0_epc + dec_insn.pc_inc + in isBranchInstr()
459 regs->regs[31] = regs->cp0_epc + in isBranchInstr()
469 *contpc = regs->cp0_epc + in isBranchInstr()
473 *contpc = regs->cp0_epc + in isBranchInstr()
483 regs->regs[31] = regs->cp0_epc + in isBranchInstr()
493 *contpc = regs->cp0_epc + in isBranchInstr()
497 *contpc = regs->cp0_epc + in isBranchInstr()
507 regs->regs[31] = regs->cp0_epc + in isBranchInstr()
512 *contpc = regs->cp0_epc + dec_insn.pc_inc; in isBranchInstr()
526 *contpc = regs->cp0_epc + in isBranchInstr()
[all …]
/kernel/linux/linux-5.10/arch/mips/include/asm/
Dbranch.h63 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()
Dptrace.h46 unsigned long cp0_epc; member
62 regs->cp0_epc = val; in instruction_pointer_set()
156 #define instruction_pointer(regs) ((regs)->cp0_epc)
Dstacktrace.h84 : "=m" (regs->cp0_epc) in prepare_frametrace()
/kernel/linux/linux-5.10/arch/mips/mm/
Dfault.c54 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()
208 (unsigned long) regs->cp0_epc); in __do_page_fault()
209 print_vma_addr(KERN_CONT " ", regs->cp0_epc); in __do_page_fault()
236 raw_smp_processor_id(), field, address, field, regs->cp0_epc, in __do_page_fault()
268 field, (unsigned long) regs->cp0_epc, in __do_page_fault()
Dextable.c19 regs->cp0_epc = fixup->nextinsn; in fixup_exception()
/kernel/linux/linux-5.10/arch/mips/dec/
Dkn01-berr.c75 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()
/kernel/linux/linux-5.10/arch/mips/sgi-ip32/
Dip32-berr.c28 printk("Got %cbe at 0x%lx\n", data ? 'd' : 'i', regs->cp0_epc); in ip32_be_handler()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-mips/asm/
Dptrace.h37 __u64 cp0_epc; member
/kernel/linux/linux-5.10/arch/mips/include/uapi/asm/
Dptrace.h44 __u64 cp0_epc; member

12