Home
last modified time | relevance | path

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

12

/arch/mips/kernel/
Dbranch.c30 epc = regs->cp0_epc; in __compute_return_epc()
54 regs->cp0_epc = regs->regs[insn.r_format.rs]; in __compute_return_epc()
72 regs->cp0_epc = epc; in __compute_return_epc()
81 regs->cp0_epc = epc; in __compute_return_epc()
91 regs->cp0_epc = epc; in __compute_return_epc()
101 regs->cp0_epc = epc; in __compute_return_epc()
113 regs->cp0_epc = epc; in __compute_return_epc()
122 regs->regs[31] = regs->cp0_epc + 8; in __compute_return_epc()
128 regs->cp0_epc = epc; in __compute_return_epc()
141 regs->cp0_epc = epc; in __compute_return_epc()
[all …]
Dkgdb.c104 *(ptr++) = regs->cp0_epc; in pt_regs_to_gdb_regs()
133 regs->cp0_epc = *(ptr++); in gdb_regs_to_pt_regs()
179 *(ptr++) = regs->cp0_epc; in sleeping_thread_to_gdb_regs()
204 if ((trap == 9) && (regs->cp0_epc == (unsigned long)breakinst)) in kgdb_mips_notify()
205 regs->cp0_epc += 4; in kgdb_mips_notify()
235 regs->cp0_epc = address; in kgdb_arch_handle_exception()
Dtraps.c129 unsigned long pc = regs->cp0_epc; in show_backtrace()
183 regs.cp0_epc = 0; in show_stack()
188 regs.cp0_epc = task->thread.reg31; in show_stack()
263 printk("epc : %0*lx %pS\n", field, regs->cp0_epc, in __show_regs()
264 (void *) regs->cp0_epc); in __show_regs()
350 show_code((unsigned int __user *) regs->cp0_epc); in show_registers()
426 regs->cp0_epc = fixup->nextinsn; in do_be()
439 field, regs->cp0_epc, field, regs->regs[31]); in do_be()
631 info.si_addr = (void __user *) regs->cp0_epc; in do_ov()
694 info.si_addr = (void __user *) regs->cp0_epc; in do_fpe()
[all …]
Dstacktrace.c41 unsigned long pc = regs->cp0_epc; in save_context_stack()
84 regs->cp0_epc = tsk->thread.reg31; in save_stack_trace_tsk()
Dsignal.c127 err |= __put_user(regs->cp0_epc, &sc->sc_pc); in setup_sigcontext()
202 err |= __get_user(regs->cp0_epc, &sc->sc_pc); in restore_sigcontext()
509 regs->cp0_epc = regs->regs[25] = (unsigned long) ka->sa.sa_handler; in setup_frame()
513 frame, regs->cp0_epc, regs->regs[31]); in setup_frame()
567 regs->cp0_epc = regs->regs[25] = (unsigned long) ka->sa.sa_handler; in setup_rt_frame()
571 frame, regs->cp0_epc, regs->regs[31]); in setup_rt_frame()
606 regs->cp0_epc -= 8; in handle_signal()
673 regs->cp0_epc -= 8; in do_signal()
678 regs->cp0_epc -= 4; in do_signal()
Dprocess.c89 regs->cp0_epc = pc; in start_thread()
188 gp[EF_CP0_EPC] = regs->cp0_epc; in elf_dump_regs()
226 regs.cp0_epc = (unsigned long) kernel_thread_helper; in kernel_thread()
385 pc = regs->cp0_epc; in unwind_stack()
Dptrace.c72 __put_user((long)regs->cp0_epc, data + EF_CP0_EPC - EF_R0); in ptrace_getregs()
99 __get_user(regs->cp0_epc, data + EF_CP0_EPC - EF_R0); in ptrace_setregs()
304 tmp = regs->cp0_epc; in arch_ptrace()
437 regs->cp0_epc = data; in arch_ptrace()
Dsignal_n32.c223 regs->cp0_epc = regs->regs[25] = (unsigned long) ka->sa.sa_handler; in setup_rt_frame_n32()
227 frame, regs->cp0_epc, regs->regs[31]); in setup_rt_frame_n32()
Dptrace32.c112 tmp = regs->cp0_epc; in compat_arch_ptrace()
258 regs->cp0_epc = data; in compat_arch_ptrace()
Dunaligned.c509 if ((regs->cp0_badvaddr == regs->cp0_epc) || (regs->cp0_epc & 0x1)) in do_ade()
Dsignal32.c162 err |= __put_user(regs->cp0_epc, &sc->sc_pc); in setup_sigcontext32()
216 err |= __get_user(regs->cp0_epc, &sc->sc_pc); in restore_sigcontext32()
625 regs->cp0_epc = regs->regs[25] = (unsigned long) ka->sa.sa_handler; in setup_frame_32()
629 frame, regs->cp0_epc, regs->regs[31]); in setup_frame_32()
685 regs->cp0_epc = regs->regs[25] = (unsigned long) ka->sa.sa_handler; in setup_rt_frame_32()
689 frame, regs->cp0_epc, regs->regs[31]); in setup_rt_frame_32()
Dbinfmt_elfo32.c129 grp[EF_CP0_EPC] = (elf_greg_t) regs->cp0_epc; in elf32_core_copy_regs()
Dcpu-bugs64.c175 regs->cp0_epc += 4; in do_daddi_ov()
/arch/mips/math-emu/
Ddsemul.c60 regs->cp0_epc = cpc; in mips_dsemul()
65 printk("dsemul %lx %lx\n", regs->cp0_epc, cpc); in mips_dsemul()
105 regs->cp0_epc = (unsigned long) &fr->emul; in mips_dsemul()
120 (xcp->cp0_epc - sizeof(mips_instruction)); in do_dsemulret()
164 xcp->cp0_epc = epc; in do_dsemulret()
Dcp1emu.c210 if (get_user(ir, (mips_instruction __user *) xcp->cp0_epc)) { in cop1Emulate()
232 emulpc = xcp->cp0_epc + 4; /* Snapshot emulation target */ in cop1Emulate()
237 (void *) (xcp->cp0_epc)); in cop1Emulate()
246 contpc = xcp->cp0_epc; in cop1Emulate()
248 xcp->cp0_epc = emulpc - 4; in cop1Emulate()
250 emulpc = xcp->cp0_epc; in cop1Emulate()
251 contpc = xcp->cp0_epc + 4; in cop1Emulate()
353 (void *) (xcp->cp0_epc), in cop1Emulate()
380 (void *) (xcp->cp0_epc), in cop1Emulate()
425 xcp->cp0_epc += 4; in cop1Emulate()
[all …]
/arch/mips/include/asm/
Dbranch.h21 return regs->cp0_epc; in exception_epc()
23 return regs->cp0_epc + 4; in exception_epc()
31 regs->cp0_epc += 4; in compute_return_epc()
Dptrace.h47 unsigned long cp0_epc; member
140 #define instruction_pointer(regs) ((regs)->cp0_epc)
Dstacktrace.h43 : "=m" (regs->cp0_epc), in prepare_frametrace()
/arch/mips/mm/
Dfault.c47 field, regs->cp0_epc); in do_page_fault()
139 field, (unsigned long) regs->cp0_epc, in do_page_fault()
165 raw_smp_processor_id(), field, address, field, regs->cp0_epc, in do_page_fault()
194 field, (unsigned long) regs->cp0_epc, in do_page_fault()
Dextable.c15 regs->cp0_epc = fixup->nextinsn; in fixup_exception()
/arch/mips/sgi-ip32/
Dip32-berr.c26 printk("Got %cbe at 0x%lx\n", data ? 'd' : 'i', regs->cp0_epc); in ip32_be_handler()
/arch/mips/dec/
Dkn01-berr.c82 unsigned int __user *pc = (unsigned int __user *)regs->cp0_epc + in dec_kn01_be_backend()
177 regs->cp0_epc, regs->regs[31]); in dec_kn01_be_interrupt()
Dkn02xa-berr.c125 regs->cp0_epc, regs->regs[31]); in dec_kn02xa_be_interrupt()
/arch/mips/sgi-ip27/
Dip27-berr.c67 regs->cp0_epc); in ip27_be_handler()
/arch/mips/sgi-ip22/
Dip22-berr.c98 field, regs->cp0_epc, field, regs->regs[31]); in ip22_be_interrupt()

12