# Function core::arch::riscv32::hinval_gvma_gaddr

source · [−]

    pub unsafe fn hinval_gvma_gaddr(gaddr: 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

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; the physical address should be shifted right by 2 bits.