hfence_gvma_gaddr in core::arch::riscv64 - Rust
Description: Hypervisor memory management fence for guest physical address

# Function core::arch::riscv64::hfence_gvma_gaddr

source ·

    pub unsafe fn hfence_gvma_gaddr(gaddr: usize)

🔬This is a nightly-only experimental API. (`stdsimd` #27731)
Expand description

Hypervisor memory management fence for guest physical address

Guarantees that any previous stores already visible to the current hart are ordered before all implicit reads by that hart done for G-stage address translation for instructions that follow the HFENCE.GVMA.

This fence specifies a single guest physical address; the physical address should be shifted right by 2 bits.