/linux-2.4.37.9/arch/mips/kernel/ |
D | branch.c | 30 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() 110 regs->regs[31] = regs->cp0_epc + 8; in __compute_return_epc() 116 regs->cp0_epc = epc; in __compute_return_epc() 129 regs->cp0_epc = epc; in __compute_return_epc() 139 regs->cp0_epc = epc; in __compute_return_epc() [all …]
|
D | gdb-stub.c | 493 regs->cp0_epc, regs->cp0_status, regs->cp0_cause); 520 targ = regs->cp0_epc; in single_step() 582 if (is_cond && targ != (regs->cp0_epc + 8)) { in single_step() 583 step_bp[i].addr = regs->cp0_epc + 8; in single_step() 584 step_bp[i++].val = *(unsigned *)(regs->cp0_epc + 8); in single_step() 585 *(unsigned *)(regs->cp0_epc + 8) = BP; in single_step() 591 step_bp[0].addr = regs->cp0_epc + 4; in single_step() 592 step_bp[0].val = *(unsigned *)(regs->cp0_epc + 4); in single_step() 593 *(unsigned *)(regs->cp0_epc + 4) = BP; in single_step() 672 if (regs->cp0_epc == (unsigned long)async_breakinst) { in handle_exception() [all …]
|
D | traps.c | 239 printk("epc : %08lx %s\n", regs->cp0_epc, print_tainted()); in show_regs() 252 show_code((unsigned int *) regs->cp0_epc); in show_registers() 370 regs->cp0_epc); in do_be() 371 regs->cp0_epc = new_epc; in do_be() 384 regs->cp0_epc, regs->regs[31]); in do_be() 393 epc = (unsigned int *) regs->cp0_epc + in get_insn_opcode() 540 info.si_addr = (void *)regs->cp0_epc; in do_ov() 622 info.si_addr = (void *)regs->cp0_epc; in do_bp() 657 info.si_addr = (void *)regs->cp0_epc; in do_tr() 832 old_epc = regs->cp0_epc; in ejtag_exception_handler() [all …]
|
D | unaligned.c | 474 new_epc = fixup_exception(dpf_reg, fixup, regs->cp0_epc); in emulate_load_store_insn() 476 current->comm, regs->cp0_epc, new_epc); in emulate_load_store_insn() 477 regs->cp0_epc = new_epc; in emulate_load_store_insn() 521 if ((regs->cp0_badvaddr == regs->cp0_epc) || (regs->cp0_epc & 0x1)) in do_ade()
|
D | signal.c | 189 err |= __get_user(regs->cp0_epc, &sc->sc_pc); in restore_sigcontext() 323 reg = regs->cp0_epc; err |= __put_user(reg, &sc->sc_pc); in setup_sigcontext() 431 regs->cp0_epc = regs->regs[25] = (unsigned long) ka->sa.sa_handler; in setup_frame() 436 frame, regs->cp0_epc, frame->sf_code); in setup_frame() 499 regs->cp0_epc = regs->regs[25] = (unsigned long) ka->sa.sa_handler; in setup_rt_frame() 504 frame, regs->cp0_epc, frame->rs_code); in setup_rt_frame() 547 regs->cp0_epc -= 8; in syscall_restart() 674 regs->cp0_epc -= 8; in do_signal()
|
D | irixsig.c | 102 __put_user((u64) regs->cp0_epc, &ctx->pc); in setup_irix_frame() 119 regs->regs[25] = regs->cp0_epc = (unsigned long) ka->sa_restorer; in setup_irix_frame() 169 regs->cp0_epc -= 8; in syscall_restart() 290 regs->cp0_epc -= 8; in do_irix_signal() 324 __get_user(regs->cp0_epc, &context->pc); in irix_sigreturn() 796 __put_user(regs->cp0_epc, &ctx->regs[35]); in irix_getcontext() 843 regs->cp0_epc = ctx->regs[35]; in irix_setcontext()
|
D | ptrace.c | 130 tmp = regs->cp0_epc; in sys_ptrace() 214 regs->cp0_epc = data; in sys_ptrace()
|
/linux-2.4.37.9/arch/mips64/kernel/ |
D | branch.c | 28 epc = regs->cp0_epc; in __compute_return_epc() 55 regs->cp0_epc = regs->regs[insn.r_format.rs]; in __compute_return_epc() 73 regs->cp0_epc = epc; in __compute_return_epc() 82 regs->cp0_epc = epc; in __compute_return_epc() 92 regs->cp0_epc = epc; in __compute_return_epc() 102 regs->cp0_epc = epc; in __compute_return_epc() 111 regs->regs[31] = regs->cp0_epc + 8; in __compute_return_epc() 117 regs->cp0_epc = epc; in __compute_return_epc() 130 regs->cp0_epc = epc; in __compute_return_epc() 140 regs->cp0_epc = epc; in __compute_return_epc() [all …]
|
D | gdb-stub.c | 513 regs->cp0_epc, regs->cp0_status, regs->cp0_cause); 540 targ = regs->cp0_epc; in single_step() 602 if (is_cond && targ != (regs->cp0_epc + 8)) { in single_step() 603 step_bp[i].addr = regs->cp0_epc + 8; in single_step() 604 step_bp[i++].val = *(unsigned *)(regs->cp0_epc + 8); in single_step() 605 *(unsigned *)(regs->cp0_epc + 8) = BP; in single_step() 611 step_bp[0].addr = regs->cp0_epc + 4; in single_step() 612 step_bp[0].val = *(unsigned *)(regs->cp0_epc + 4); in single_step() 613 *(unsigned *)(regs->cp0_epc + 4) = BP; in single_step() 692 if (regs->cp0_epc == (unsigned long)async_breakinst) { in handle_exception() [all …]
|
D | unaligned.c | 474 new_epc = fixup_exception(dpf_reg, fixup, regs->cp0_epc); in emulate_load_store_insn() 476 current->comm, regs->cp0_epc, new_epc); in emulate_load_store_insn() 477 regs->cp0_epc = new_epc; in emulate_load_store_insn() 521 if ((regs->cp0_badvaddr == regs->cp0_epc) || (regs->cp0_epc & 0x1)) in do_ade()
|
D | traps.c | 234 regs->cp0_epc, print_tainted(), regs->cp0_badvaddr); in show_regs() 262 show_code((unsigned int *) regs->cp0_epc); in show_registers() 380 regs->cp0_epc); in do_be() 381 regs->cp0_epc = new_epc; in do_be() 394 regs->cp0_epc, regs->regs[31]); in do_be() 403 epc = (unsigned int *) regs->cp0_epc + in get_insn_opcode() 550 info.si_addr = (void *)regs->cp0_epc; in do_ov() 632 info.si_addr = (void *)regs->cp0_epc; in do_bp() 667 info.si_addr = (void *)regs->cp0_epc; in do_tr()
|
D | signal.c | 122 err |= __get_user(regs->cp0_epc, &sc->sc_pc); in restore_sigcontext() 208 err |= __put_user(regs->cp0_epc, &sc->sc_pc); in setup_sigcontext() 327 regs->cp0_epc = regs->regs[25] = (unsigned long) ka->sa.sa_handler; in setup_rt_frame() 332 frame, regs->cp0_epc, regs->regs[31]); in setup_rt_frame() 380 regs->cp0_epc -= 8; in syscall_restart() 509 regs->cp0_epc -= 8; in do_signal()
|
D | ptrace.c | 132 tmp = regs->cp0_epc; in sys32_ptrace() 213 regs->cp0_epc = data; in sys32_ptrace() 367 tmp = regs->cp0_epc; in sys_ptrace() 434 regs->cp0_epc = data; in sys_ptrace()
|
D | signal_n32.c | 202 regs->cp0_epc = regs->regs[25] = (unsigned long) ka->sa.sa_handler; in setup_rt_frame_n32() 207 frame, regs->cp0_epc, regs->regs[31]); in setup_rt_frame_n32()
|
D | signal32.c | 338 err |= __get_user(regs->cp0_epc, &sc->sc_pc); in restore_sigcontext32() 518 err |= __put_user(regs->cp0_epc, &sc->sc_pc); in setup_sigcontext32() 624 regs->cp0_epc = regs->regs[25] = (unsigned long) ka->sa.sa_handler; in setup_frame() 629 frame, regs->cp0_epc, frame->sf_code); in setup_frame() 697 regs->cp0_epc = regs->regs[25] = (unsigned long) ka->sa.sa_handler; in setup_rt_frame() 702 frame, regs->cp0_epc, frame->rs_code); in setup_rt_frame() 747 regs->cp0_epc -= 8; in syscall_restart() 867 regs->cp0_epc -= 8; in do_signal32()
|
/linux-2.4.37.9/arch/mips64/mm/ |
D | fault.c | 44 regs.cp0_epc); in dodebug() 57 regs.cp0_epc); in dodebug2() 109 current->comm, current->pid, address, write, regs->cp0_epc); in do_page_fault() 195 (unsigned long) regs->cp0_epc, in do_page_fault() 213 new_epc = fixup_exception(dpf_reg, fixup, regs->cp0_epc); in do_page_fault() 216 tsk->comm, regs->cp0_epc, new_epc); in do_page_fault() 217 regs->cp0_epc = new_epc; in do_page_fault() 230 smp_processor_id(), address, regs->cp0_epc, regs->regs[31]); in do_page_fault()
|
/linux-2.4.37.9/arch/mips/math-emu/ |
D | dsemul.c | 66 regs->cp0_epc = cpc; in mips_dsemul() 71 printk("dsemul %lx %lx\n", regs->cp0_epc, cpc); in mips_dsemul() 111 regs->cp0_epc = VA_TO_REG & fr->emul; in mips_dsemul() 125 fr = (struct emuframe *) (xcp->cp0_epc - sizeof(mips_instruction)); in do_dsemulret() 170 xcp->cp0_epc = epc; in do_dsemulret()
|
D | cp1emu.c | 203 if (get_user(ir, (mips_instruction *) xcp->cp0_epc)) { in cop1Emulate() 225 emulpc = REG_TO_VA(xcp->cp0_epc + 4); /* Snapshot emulation target */ in cop1Emulate() 230 REG_TO_VA(xcp->cp0_epc)); in cop1Emulate() 239 contpc = REG_TO_VA xcp->cp0_epc; in cop1Emulate() 241 xcp->cp0_epc = VA_TO_REG emulpc - 4; in cop1Emulate() 244 emulpc = REG_TO_VA xcp->cp0_epc; in cop1Emulate() 245 contpc = REG_TO_VA(xcp->cp0_epc + 4); in cop1Emulate() 375 REG_TO_VA(xcp->cp0_epc), in cop1Emulate() 402 REG_TO_VA(xcp->cp0_epc), in cop1Emulate() 448 xcp->cp0_epc += 4; in cop1Emulate() [all …]
|
/linux-2.4.37.9/arch/mips/mm/ |
D | fault.c | 107 address, write, regs->cp0_epc); in do_page_fault() 173 (unsigned long) regs->cp0_epc, in do_page_fault() 191 new_epc = fixup_exception(dpf_reg, fixup, regs->cp0_epc); in do_page_fault() 194 tsk->comm, regs->cp0_epc, new_epc); in do_page_fault() 195 regs->cp0_epc = new_epc; in do_page_fault() 205 address, regs->cp0_epc, regs->regs[31]); in do_page_fault()
|
/linux-2.4.37.9/include/asm-mips/ |
D | branch.h | 21 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()
|
D | ptrace.h | 44 unsigned long cp0_epc; member 100 #define instruction_pointer(regs) ((regs)->cp0_epc)
|
/linux-2.4.37.9/include/asm-mips64/ |
D | branch.h | 21 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()
|
D | ptrace.h | 41 unsigned long cp0_epc; member 102 #define instruction_pointer(regs) ((regs)->cp0_epc)
|
/linux-2.4.37.9/arch/mips/jmr3927/rbhma3100/ |
D | irq.c | 287 regs->cp0_cause, regs->cp0_epc, regs->regs[31]); in jmr3927_spurious() 496 if ((regs->cp0_epc & 0xfff) == 0xffc && in tx_branch_likely_bug_fixup() 497 KSEGX(regs->cp0_epc) != KSEG0 && in tx_branch_likely_bug_fixup() 498 KSEGX(regs->cp0_epc) != KSEG1) { in tx_branch_likely_bug_fixup() 499 unsigned int insn = *(unsigned int*)(regs->cp0_epc - 4); in tx_branch_likely_bug_fixup() 506 regs->cp0_epc -= 4; in tx_branch_likely_bug_fixup()
|
/linux-2.4.37.9/arch/mips/sgi-ip27/ |
D | ip27-berr.c | 65 regs->cp0_epc); in ip27_be_handler()
|