core::arch::riscv32

Function sfence_vma_vaddr

source
pub unsafe fn sfence_vma_vaddr(vaddr: usize)
🔬This is a nightly-only experimental API. (riscv_ext_intrinsics #114544)
Available on RISC-V RV32 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.