# Function core::arch::riscv32::sfence_vma_vaddr

source · [−]

    pub unsafe fn sfence_vma_vaddr(vaddr: usize)

🔬 This is a nightly-only experimental API. (`stdsimd` #48556)
This is supported on `target_arch="riscv32"` only.
Expand description

Supervisor memory management fence for given virtual address

The fence orders only reads and writes made to leaf page table entries corresponding to the virtual address in parameter `vaddr`, for all address spaces. The fence also invalidates all address-translation cache entries that contain leaf page table entries corresponding to the virtual address in parameter `vaddr`, for all address spaces.