Searched refs:sbi_ret (Results 1 – 1 of 1) sorted by relevance
365 struct kvm_vcpu_sbi_return sbi_ret = { in kvm_riscv_vcpu_sbi_ecall() local379 ret = sbi_ext->handler(vcpu, run, &sbi_ret); in kvm_riscv_vcpu_sbi_ecall()396 if (sbi_ret.utrap->scause) { in kvm_riscv_vcpu_sbi_ecall()399 sbi_ret.utrap->sepc = cp->sepc; in kvm_riscv_vcpu_sbi_ecall()400 kvm_riscv_vcpu_trap_redirect(vcpu, sbi_ret.utrap); in kvm_riscv_vcpu_sbi_ecall()406 if (sbi_ret.uexit) { in kvm_riscv_vcpu_sbi_ecall()410 cp->a0 = sbi_ret.err_val; in kvm_riscv_vcpu_sbi_ecall()418 cp->a1 = sbi_ret.out_val; in kvm_riscv_vcpu_sbi_ecall()