hinval_gvma_vmid in core::arch::riscv64 - Rust
Description: Invalidate hypervisor translation cache for given virtual machine

Skip to main content

## hinval_gvma_vmid

# Function hinval_gvma_vmid

Source

    pub unsafe fn hinval_gvma_vmid(vmid: usize)

🔬This is a nightly-only experimental API. (`riscv_ext_intrinsics` #114544)
Available on RISC-V RV64 only.
Expand description

Invalidate hypervisor translation cache for given 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 virtual machine by virtual machine identifier (VMID).