Home
last modified time | relevance | path

Searched refs:epc (Results 1 – 17 of 17) sorted by relevance

/arch/mips/kernel/
Dbranch.c30 long epc = regs->cp0_epc; in __isa_exception_epc() local
33 if (__get_user(inst, (u16 __user *) msk_isa16_mode(epc))) { in __isa_exception_epc()
36 return epc; in __isa_exception_epc()
43 epc += 4; in __isa_exception_epc()
45 epc += 2; in __isa_exception_epc()
47 epc += 2; in __isa_exception_epc()
49 epc += 4; in __isa_exception_epc()
51 return epc; in __isa_exception_epc()
324 long epc; in __MIPS16e_compute_return_epc() local
326 epc = regs->cp0_epc; in __MIPS16e_compute_return_epc()
[all …]
Dmips-r2-to-r6-emul.c250 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 …]
Dtraps.c980 unsigned long epc = msk_isa16_mode(exception_epc(regs)); in do_bp() local
994 if (__get_user(instr[0], (u16 __user *)epc)) in do_bp()
1005 if (__get_user(instr[1], (u16 __user *)(epc + 2))) in do_bp()
1011 if (__get_user(opcode, (unsigned int __user *)epc)) in do_bp()
1076 unsigned long epc = msk_isa16_mode(exception_epc(regs)); in do_tr() local
1085 if (__get_user(instr[0], (u16 __user *)(epc + 0)) || in do_tr()
1086 __get_user(instr[1], (u16 __user *)(epc + 2))) in do_tr()
1093 if (__get_user(opcode, (u32 __user *)epc)) in do_tr()
1114 unsigned int __user *epc = (unsigned int __user *)exception_epc(regs); in do_ri() local
1127 likely(get_user(opcode, epc) >= 0)) { in do_ri()
[all …]
Dkprobes.c198 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/csky/kernel/
Datomic.S17 mfcr a3, epc
49 mtcr a3, epc
64 mfcr a0, epc
Dentry.S260 mfcr a0, epc
262 mtcr a0, epc
/arch/mips/kvm/
Demulate.c47 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 …]
Dtrace.h317 __field(unsigned long, epc)
325 __entry->epc = kvm_read_c0_guest_epc(vcpu->arch.cop0);
333 __entry->epc,
/arch/ia64/kernel/
Dgate.lds.S59 .text : { *(.text) *(.text.*) } :epc
85 epc PT_LOAD FILEHDR PHDRS FLAGS(1); /* PF_X */
Dgate.S326 epc // B causes split-issue
/arch/mips/include/asm/sn/
Dnmi.h74 unsigned long epc; member
/arch/mips/sgi-ip27/
Dip27-nmi.c86 pr_emerg("epc : %016lx %pS\n", nr->epc, (void *)nr->epc); in nmi_cpu_eframe_save()
/arch/csky/abiv1/inc/abi/
Dentry.h45 mfcr lr, epc
86 mtcr a0, epc
/arch/csky/abiv2/inc/abi/
Dentry.h29 mfcr lr, epc
72 mtcr a0, epc
/arch/mips/include/uapi/asm/
Dkvm.h206 __u64 epc; member
/arch/mips/include/asm/
Dkvm_host.h710 __BUILD_KVM_RW_HW(epc, l, MIPS_CP0_EXC_PC, 0)
963 unsigned long epc = msk_isa16_mode(vcpu->pc); in kvm_is_ifetch_fault() local
966 if (epc == badvaddr) in kvm_is_ifetch_fault()
974 if ((cause & CAUSEF_BD) && badvaddr - epc <= 4) in kvm_is_ifetch_fault()
/arch/xtensa/kernel/
Dvectors.S631 rsr a0, epc\level