Function core::arch::riscv32::hinval_gvma
source · pub unsafe fn hinval_gvma(gaddr: usize, vmid: usize)
🔬This is a nightly-only experimental API. (
stdsimd
#48556)Available on RISC-V RV32 only.
Expand description
Invalidate hypervisor translation cache for guest physical address and virtual machine
This instruction invalidates any address-translation cache entries that an
HFENCE.GVMA
instruction with the same values of gaddr
and vmid
would invalidate.
This fence specifies a single guest physical address, shifted right by 2 bits, and a single virtual machine by virtual machine identifier (VMID).