Home
last modified time | relevance | path

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

/linux/arch/riscv/kvm/
H A Dvcpu_sbi.c426 struct kvm_vcpu_sbi_return sbi_ret = { in kvm_riscv_vcpu_sbi_ecall() local
440 ret = sbi_ext->handler(vcpu, run, &sbi_ret); in kvm_riscv_vcpu_sbi_ecall()
457 if (sbi_ret.utrap->scause) { in kvm_riscv_vcpu_sbi_ecall()
460 sbi_ret.utrap->sepc = cp->sepc; in kvm_riscv_vcpu_sbi_ecall()
461 kvm_riscv_vcpu_trap_redirect(vcpu, sbi_ret.utrap); in kvm_riscv_vcpu_sbi_ecall()
467 if (sbi_ret.uexit) { in kvm_riscv_vcpu_sbi_ecall()
471 cp->a0 = sbi_ret.err_val; in kvm_riscv_vcpu_sbi_ecall()
479 cp->a1 = sbi_ret.out_val; in kvm_riscv_vcpu_sbi_ecall()