Home
last modified time | relevance | path

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

/openbmc/linux/arch/riscv/kvm/
H A Dvcpu_exit.c66 unsigned long flags, val, tmp, old_stvec, old_hstatus; in kvm_riscv_vcpu_unpriv_read() local
71 old_stvec = csr_swap(CSR_STVEC, (ulong)&__kvm_riscv_unpriv_trap); in kvm_riscv_vcpu_unpriv_read()
121 csr_write(CSR_STVEC, old_stvec); in kvm_riscv_vcpu_unpriv_read()