Function riscv::asm::sfence_vma
source · pub unsafe fn sfence_vma(asid: usize, addr: usize)Expand description
SFENCE.VMA instruction wrapper
Synchronizes updates to in-memory memory-management data structures with current execution.
Instruction execution causes implicit reads and writes to these data structures; however, these implicit references
are ordinarily not ordered with respect to loads and stores in the instruction stream.
Executing an SFENCE.VMA instruction guarantees that any stores in the instruction stream prior to the
SFENCE.VMA are ordered before all implicit references subsequent to the SFENCE.VMA.