Searched refs:utrap (Results 1 – 3 of 3) sorted by relevance
159 struct kvm_cpu_trap utrap = { 0 }; in truly_illegal_insn() local162 utrap.sepc = vcpu->arch.guest_context.sepc; in truly_illegal_insn()163 utrap.scause = EXC_INST_ILLEGAL; in truly_illegal_insn()164 utrap.stval = insn; in truly_illegal_insn()165 utrap.htval = 0; in truly_illegal_insn()166 utrap.htinst = 0; in truly_illegal_insn()167 kvm_riscv_vcpu_trap_redirect(vcpu, &utrap); in truly_illegal_insn()175 struct kvm_cpu_trap utrap = { 0 }; in truly_virtual_insn() local178 utrap.sepc = vcpu->arch.guest_context.sepc; in truly_virtual_insn()179 utrap.scause = EXC_VIRTUAL_INST_FAULT; in truly_virtual_insn()[all …]
25 struct kvm_cpu_trap *utrap = retdata->utrap; in kvm_sbi_ext_v01_handler() local50 hmask = kvm_riscv_vcpu_unpriv_read(vcpu, false, cp->a0, utrap); in kvm_sbi_ext_v01_handler()53 if (utrap->scause) in kvm_sbi_ext_v01_handler()72 hmask = kvm_riscv_vcpu_unpriv_read(vcpu, false, cp->a0, utrap); in kvm_sbi_ext_v01_handler()75 if (utrap->scause) in kvm_sbi_ext_v01_handler()
32 struct kvm_cpu_trap *utrap; member