Skip to main content

## hfence_gvma_all

# Function hfence_gvma_all

Source

    pub unsafe fn hfence_gvma_all()

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

Hypervisor memory management fence for all virtual machines and guest physical addresses

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 all guest physical addresses and all virtual machines.