/arch/mips/kernel/ |
D | branch.c | 32 long epc = regs->cp0_epc; in __isa_exception_epc() local 35 if (__get_user(inst, (u16 __user *) msk_isa16_mode(epc))) { in __isa_exception_epc() 38 return epc; in __isa_exception_epc() 45 epc += 4; in __isa_exception_epc() 47 epc += 2; in __isa_exception_epc() 49 epc += 2; in __isa_exception_epc() 51 epc += 4; in __isa_exception_epc() 53 return epc; in __isa_exception_epc() 326 long epc; in __MIPS16e_compute_return_epc() local 328 epc = regs->cp0_epc; in __MIPS16e_compute_return_epc() [all …]
|
D | mips-r2-to-r6-emul.c | 250 unsigned long cepc, epc, nepc; in jr_func() local 260 epc = regs->cp0_epc; in jr_func() 287 err = mips_dsemul(regs, nir, epc, cepc); in jr_func() 911 unsigned long cpc, epc, nepc, r31, res, rs, rt; in mipsr2_decoder() local 918 epc = regs->cp0_epc; in mipsr2_decoder() 925 inst, epc, pass); in mipsr2_decoder() 994 regs->cp0_epc = epc; in mipsr2_decoder() 1001 nepc = epc + 4; in mipsr2_decoder() 1037 err = mips_dsemul(regs, nir, epc, cpc); in mipsr2_decoder() 1051 regs->cp0_epc = epc; in mipsr2_decoder() [all …]
|
D | traps.c | 1022 unsigned long epc = msk_isa16_mode(exception_epc(regs)); in do_bp() local 1036 if (__get_user(instr[0], (u16 __user *)epc)) in do_bp() 1047 if (__get_user(instr[1], (u16 __user *)(epc + 2))) in do_bp() 1053 if (__get_user(opcode, (unsigned int __user *)epc)) in do_bp() 1118 unsigned long epc = msk_isa16_mode(exception_epc(regs)); in do_tr() local 1127 if (__get_user(instr[0], (u16 __user *)(epc + 0)) || in do_tr() 1128 __get_user(instr[1], (u16 __user *)(epc + 2))) in do_tr() 1135 if (__get_user(opcode, (u32 __user *)epc)) in do_tr() 1156 unsigned int __user *epc = (unsigned int __user *)exception_epc(regs); in do_ri() local 1169 likely(get_user(opcode, epc) >= 0)) { in do_ri() [all …]
|
D | kprobes.c | 198 long epc; in evaluate_branch_instruction() local 201 epc = regs->cp0_epc; in evaluate_branch_instruction() 202 if (epc & 3) in evaluate_branch_instruction()
|
/arch/riscv/kernel/ |
D | traps_misaligned.c | 243 unsigned long epc = regs->epc; in handle_misaligned_load() local 244 unsigned long insn = get_insn(epc); in handle_misaligned_load() 248 regs->epc = 0; in handle_misaligned_load() 306 regs->epc = epc; in handle_misaligned_load() 318 regs->epc = epc + INSN_LEN(insn); in handle_misaligned_load() 326 unsigned long epc = regs->epc; in handle_misaligned_store() local 327 unsigned long insn = get_insn(epc); in handle_misaligned_store() 331 regs->epc = 0; in handle_misaligned_store() 358 regs->epc = epc; in handle_misaligned_store() 365 regs->epc = epc + INSN_LEN(insn); in handle_misaligned_store()
|
D | traps.c | 97 do_trap_error(regs, signo, code, regs->epc, "Oops - " str); \ 123 do_trap_error(regs, SIGBUS, BUS_ADRALN, regs->epc, in do_trap_load_misaligned() 131 do_trap_error(regs, SIGBUS, BUS_ADRALN, regs->epc, in do_trap_store_misaligned() 157 force_sig_fault(SIGTRAP, TRAP_BRKPT, (void __user *)regs->epc); in do_trap_break() 163 else if (report_bug(regs->epc, regs) == BUG_TRAP_TYPE_WARN) in do_trap_break() 164 regs->epc += get_break_insn_length(regs->epc); in do_trap_break()
|
D | signal.c | 135 frame, (void *)regs->epc, (void *)regs->sp); in SYSCALL_DEFINE0() 226 regs->epc = (unsigned long)ksig->ka.sa.sa_handler; in setup_rt_frame() 235 (void *)regs->epc, (void *)regs->ra, frame); in setup_rt_frame() 265 regs->epc -= 0x4; in handle_signal() 297 regs->epc -= 0x4; in do_signal() 302 regs->epc -= 0x4; in do_signal()
|
D | kgdb.c | 60 unsigned long pc = regs->epc; in get_step_address() 220 {DBG_REG_EPC, GDB_SIZEOF_REG, offsetof(struct pt_regs, epc)}, 273 regs->epc = pc; in kgdb_arch_set_pc() 295 regs->epc = addr; in kgdb_arch_update_addr() 345 type = kgdb_riscv_kgdbbreak(regs->epc); in kgdb_riscv_notify() 356 regs->epc += 4; in kgdb_riscv_notify()
|
D | process.c | 47 regs->epc, regs->ra, regs->sp); in show_regs() 85 regs->epc = pc; in start_thread()
|
D | perf_callchain.c | 71 perf_callchain_store(entry, regs->epc); in perf_callchain_user()
|
D | stacktrace.c | 60 if (regs && (regs->epc == pc) && (frame->fp & 0x7)) { in walk_stackframe()
|
/arch/riscv/mm/ |
D | extable.c | 18 fixup = search_exception_tables(regs->epc); in fixup_exception() 20 regs->epc = fixup->fixup; in fixup_exception()
|
/arch/riscv/include/asm/ |
D | ptrace.h | 15 unsigned long epc; member 67 return regs->epc; in instruction_pointer() 72 regs->epc = val; in instruction_pointer_set()
|
D | processor.h | 47 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->epc)
|
/arch/csky/kernel/ |
D | atomic.S | 17 mfcr a3, epc 49 mtcr a3, epc 64 mfcr a0, epc
|
D | entry.S | 318 mfcr a0, epc 320 mtcr a0, epc
|
/arch/mips/kvm/ |
D | emulate.c | 47 long epc = instpc; in kvm_compute_return_epc() local 51 if (epc & 3) { in kvm_compute_return_epc() 57 err = kvm_get_badinstrp((u32 *)epc, vcpu, &insn.word); in kvm_compute_return_epc() 66 arch->gprs[insn.r_format.rd] = epc + 8; in kvm_compute_return_epc() 86 epc = epc + 4 + (insn.i_format.simmediate << 2); in kvm_compute_return_epc() 88 epc += 8; in kvm_compute_return_epc() 89 nextpc = epc; in kvm_compute_return_epc() 95 epc = epc + 4 + (insn.i_format.simmediate << 2); in kvm_compute_return_epc() 97 epc += 8; in kvm_compute_return_epc() 98 nextpc = epc; in kvm_compute_return_epc() [all …]
|
D | trace.h | 317 __field(unsigned long, epc) 325 __entry->epc = kvm_read_c0_guest_epc(vcpu->arch.cop0); 333 __entry->epc,
|
/arch/ia64/kernel/ |
D | gate.lds.S | 59 .text : { *(.text) *(.text.*) } :epc 85 epc PT_LOAD FILEHDR PHDRS FLAGS(1); /* PF_X */
|
/arch/mips/include/asm/sn/ |
D | nmi.h | 74 unsigned long epc; member
|
/arch/mips/sgi-ip27/ |
D | ip27-nmi.c | 87 pr_emerg("epc : %016lx %pS\n", nr->epc, (void *)nr->epc); in nmi_cpu_eframe_save()
|
/arch/csky/abiv1/inc/abi/ |
D | entry.h | 45 mfcr lr, epc 85 mtcr a0, epc
|
/arch/mips/include/uapi/asm/ |
D | kvm.h | 206 __u64 epc; member
|
/arch/csky/abiv2/inc/abi/ |
D | entry.h | 29 mfcr lr, epc 71 mtcr a0, epc
|
/arch/mips/include/asm/ |
D | kvm_host.h | 737 __BUILD_KVM_RW_HW(epc, l, MIPS_CP0_EXC_PC, 0) 993 unsigned long epc = msk_isa16_mode(vcpu->pc); in kvm_is_ifetch_fault() local 996 if (epc == badvaddr) in kvm_is_ifetch_fault() 1004 if ((cause & CAUSEF_BD) && badvaddr - epc <= 4) in kvm_is_ifetch_fault()
|