sfence_vma_vaddr in core::arch::riscv64 - Rust
Description: Supervisor memory management fence for given virtual address
Keywords: rust, rustlang, rust-lang, sfence_vma_vaddr

# Function core::arch::riscv64::sfence_vma_vaddr

source · [−]

    pub unsafe fn sfence_vma_vaddr(vaddr: usize)

🔬 This is a nightly-only experimental API. (`stdsimd` #48556)
Available on RISC-V RV64 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.