Function core::arch::riscv64::hfence_vvma_all

source ·
pub unsafe fn hfence_vvma_all()
🔬This is a nightly-only experimental API. (stdsimd #27731)
Expand description

Hypervisor memory management fence for all guest address spaces and guest virtual addresses

Guarantees that any previous stores already visible to the current hart are ordered before all implicit reads by that hart done for VS-stage address translation for instructions that:

  • are subsequent to the HFENCE.VVMA, and
  • execute when hgatp.VMID has the same setting as it did when HFENCE.VVMA executed.

This fence applies to any guest address spaces and guest virtual addresses.