Home
last modified time | relevance | path

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

123

/arch/mips/kernel/
Dbranch.c30 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.c190 kcb->kprobe_saved_epc = regs->cp0_epc; in set_current_kprobe()
213 epc = regs->cp0_epc; in evaluate_branch_instruction()
229 kcb->target_epc = regs->cp0_epc; in evaluate_branch_instruction()
250 regs->cp0_epc = (unsigned long)p->addr; in prepare_singlestep()
258 regs->cp0_epc = (unsigned long)&p->ainsn.insn[0]; in prepare_singlestep()
278 regs->cp0_epc = kcb->target_epc; in resume_execution()
281 regs->cp0_epc = orig_epc + 4; in resume_execution()
292 addr = (kprobe_opcode_t *) regs->cp0_epc; in kprobe_handler()
482 regs->cp0_epc = (unsigned long)(jp->entry); in setjmp_pre_handler()
504 if (regs->cp0_epc >= (unsigned long)jprobe_return && in longjmp_break_handler()
[all …]
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()
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()
229 regs->cp0_epc = regs->regs[25] = (unsigned long) ksig->ka.sa.sa_handler; in setup_rt_frame_32()
233 frame, regs->cp0_epc, regs->regs[31]); in setup_rt_frame_32()
Dtraps.c146 unsigned long pc = regs->cp0_epc; in show_backtrace()
208 regs.cp0_epc = 0; in show_stack()
213 regs.cp0_epc = task->thread.reg31; in show_stack()
288 printk("epc : %0*lx %pS\n", field, regs->cp0_epc, in __show_regs()
289 (void *) regs->cp0_epc); in __show_regs()
379 show_code((unsigned int __user *) regs->cp0_epc); in show_registers()
465 regs->cp0_epc = fixup->nextinsn; in do_be()
478 field, regs->cp0_epc, field, regs->regs[31]); in do_be()
706 .si_addr = (void __user *)regs->cp0_epc, in do_ov()
806 regs->cp0_epc = old_epc; in simulate_fp()
[all …]
Dstacktrace.c42 unsigned long pc = regs->cp0_epc; in save_context_stack()
87 regs->cp0_epc = tsk->thread.reg31; in save_stack_trace_tsk()
Dkgdb.c94 { "pc", GDB_SIZEOF_REG, offsetof(struct pt_regs, cp0_epc) },
299 regs->cp0_epc = pc; in kgdb_arch_set_pc()
340 if ((trap == 9) && (regs->cp0_epc == (unsigned long)breakinst)) in kgdb_mips_notify()
341 regs->cp0_epc += 4; in kgdb_mips_notify()
390 regs->cp0_epc = address; in kgdb_arch_handle_exception()
Dsignal_n32.c142 regs->cp0_epc = regs->regs[25] = (unsigned long) ksig->ka.sa.sa_handler; in setup_rt_frame_n32()
146 frame, regs->cp0_epc, regs->regs[31]); in setup_rt_frame_n32()
Dsignal.c415 err |= __put_user(regs->cp0_epc, &sc->sc_pc); in setup_sigcontext()
496 err |= __get_user(regs->cp0_epc, &sc->sc_pc); in restore_sigcontext()
698 regs->cp0_epc = regs->regs[25] = (unsigned long) ksig->ka.sa.sa_handler; in setup_frame()
702 frame, regs->cp0_epc, regs->regs[31]); in setup_frame()
745 regs->cp0_epc = regs->regs[25] = (unsigned long) ksig->ka.sa.sa_handler; in setup_rt_frame()
749 frame, regs->cp0_epc, regs->regs[31]); in setup_rt_frame()
798 regs->cp0_epc -= 4; in handle_signal()
831 regs->cp0_epc -= 4; in do_signal()
837 regs->cp0_epc -= 4; in do_signal()
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 …]
/arch/mips/include/asm/
Dbranch.h60 return regs->cp0_epc; in exception_epc()
62 if (get_isa16_mode(regs->cp0_epc)) in exception_epc()
65 return regs->cp0_epc + 4; in exception_epc()
72 if (get_isa16_mode(regs->cp0_epc)) { in compute_return_epc()
78 regs->cp0_epc += 4; in compute_return_epc()
90 regs->cp0_epc += 4; in MIPS16e_compute_return_epc()
93 regs->cp0_epc += 2; in MIPS16e_compute_return_epc()
Dptrace.h46 unsigned long cp0_epc; member
67 regs->cp0_epc = val; in instruction_pointer_set()
161 #define instruction_pointer(regs) ((regs)->cp0_epc)
/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.c451 regs->cp0_epc + dec_insn.pc_inc + in isBranchInstr()
471 regs->regs[31] = regs->cp0_epc + in isBranchInstr()
480 *contpc = regs->cp0_epc + in isBranchInstr()
484 *contpc = regs->cp0_epc + in isBranchInstr()
494 regs->regs[31] = regs->cp0_epc + in isBranchInstr()
503 *contpc = regs->cp0_epc + in isBranchInstr()
507 *contpc = regs->cp0_epc + in isBranchInstr()
516 regs->regs[31] = regs->cp0_epc + in isBranchInstr()
521 *contpc = regs->cp0_epc + dec_insn.pc_inc; in isBranchInstr()
534 *contpc = regs->cp0_epc + in isBranchInstr()
[all …]
/arch/score/mm/
Dextable.c34 fixup = search_exception_tables(regs->cp0_epc); in fixup_exception()
36 regs->cp0_epc = fixup->fixup; in fixup_exception()
/arch/mips/mm/
Dfault.c54 field, regs->cp0_epc); in __do_page_fault()
123 if (address == regs->cp0_epc && !(vma->vm_flags & VM_EXEC)) { in __do_page_fault()
129 field, regs->cp0_epc); in __do_page_fault()
140 field, regs->cp0_epc); in __do_page_fault()
217 (unsigned long) regs->cp0_epc); in __do_page_fault()
218 print_vma_addr(KERN_CONT " ", regs->cp0_epc); in __do_page_fault()
249 raw_smp_processor_id(), field, address, field, regs->cp0_epc, in __do_page_fault()
281 field, (unsigned long) regs->cp0_epc, in __do_page_fault()
Dextable.c19 regs->cp0_epc = fixup->nextinsn; in fixup_exception()
/arch/score/kernel/
Dtraps.c144 regs->cp0_ema, regs->cp0_epc, print_tainted(), regs->cp0_psr, in show_regs()
155 show_code((unsigned int *) regs->cp0_epc); in show_registers()
181 regs->cp0_ema, regs->cp0_epc); in do_adelinsn()
189 fixup = search_exception_tables(regs->cp0_epc); in do_adedata()
191 regs->cp0_epc = fixup->fixup; in do_adedata()
195 regs->cp0_ema, regs->cp0_epc); in do_adedata()
233 info.si_addr = (void *)regs->cp0_epc; in do_ov()
246 unsigned long epc = regs->cp0_epc; in do_ri()
Dsignal.c49 reg = regs->cp0_epc; err |= __put_user(reg, &sc->sc_pc); in setup_sigcontext()
83 err |= __get_user(regs->cp0_epc, &sc->sc_pc); in restore_sigcontext()
213 regs->cp0_epc = (unsigned long) ksig->ka.sa.sa_handler; in setup_rt_frame()
236 regs->cp0_epc -= 8; in handle_signal()
274 regs->cp0_epc -= 8; in do_signal()
281 regs->cp0_epc -= 8; in do_signal()
Dprocess.c57 regs->cp0_epc = pc; in start_thread()
112 return task_pt_regs(task)->cp0_epc; in get_wchan()
/arch/score/include/asm/
Duser.h15 unsigned long cp0_epc; member
Dptrace.h15 #define instruction_pointer(regs) ((unsigned long)(regs)->cp0_epc)
/arch/mips/sgi-ip32/
Dip32-berr.c28 printk("Got %cbe at 0x%lx\n", data ? 'd' : 'i', regs->cp0_epc); in ip32_be_handler()
/arch/mips/dec/
Dkn01-berr.c79 unsigned int __user *pc = (unsigned int __user *)regs->cp0_epc + in dec_kn01_be_backend()
174 regs->cp0_epc, regs->regs[31]); in dec_kn01_be_interrupt()
/arch/score/include/uapi/asm/
Dptrace.h58 unsigned long cp0_epc; member

123