sinval_vma_vaddr in core::arch::riscv64 - Rust
Description: Invalidate supervisor translation cache for given virtual address

Skip to main content

## sinval_vma_vaddr

# Function sinval_vma_vaddr

Source

    pub unsafe fn sinval_vma_vaddr(vaddr: usize)

🔬This is a nightly-only experimental API. (`riscv_ext_intrinsics` #114544)
Available on (RISC-V RV32 or RISC-V RV64) and (RISC-V RV64) only.
Expand description

Invalidate supervisor translation cache for given virtual address

This instruction invalidates any address-translation cache entries that an `SFENCE.VMA` instruction with the same values of `vaddr` and `asid` would invalidate.