Lines Matching refs:utrap
130 struct kvm_cpu_trap utrap = { 0 }; in truly_illegal_insn() local
133 utrap.sepc = vcpu->arch.guest_context.sepc; in truly_illegal_insn()
134 utrap.scause = EXC_INST_ILLEGAL; in truly_illegal_insn()
135 utrap.stval = insn; in truly_illegal_insn()
136 kvm_riscv_vcpu_trap_redirect(vcpu, &utrap); in truly_illegal_insn()
164 struct kvm_cpu_trap utrap = { 0 }; in virtual_inst_fault() local
172 &utrap); in virtual_inst_fault()
173 if (utrap.scause) { in virtual_inst_fault()
174 utrap.sepc = ct->sepc; in virtual_inst_fault()
175 kvm_riscv_vcpu_trap_redirect(vcpu, &utrap); in virtual_inst_fault()
197 struct kvm_cpu_trap utrap = { 0 }; in emulate_load() local
214 &utrap); in emulate_load()
215 if (utrap.scause) { in emulate_load()
217 utrap.sepc = ct->sepc; in emulate_load()
218 kvm_riscv_vcpu_trap_redirect(vcpu, &utrap); in emulate_load()
310 struct kvm_cpu_trap utrap = { 0 }; in emulate_store() local
327 &utrap); in emulate_store()
328 if (utrap.scause) { in emulate_store()
330 utrap.sepc = ct->sepc; in emulate_store()
331 kvm_riscv_vcpu_trap_redirect(vcpu, &utrap); in emulate_store()