Function core::source ·
arch:: riscv32:: hfence_gvma
pub unsafe fn hfence_gvma(gaddr: usize, vmid: usize)
🔬This is a nightly-only experimental API. (
Available on RISC-V RV32 only.
Hypervisor memory management fence for guest physical address and virtual machine
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, shifted right by 2 bits, and a single virtual machine by virtual machine identifier (VMID).