⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

speculation_barrier

Function speculation_barrier 

Source
pub fn speculation_barrier()
Expand description

Insert a full speculation barrier.

On x86_64, emits LFENCE. On AArch64, DSB SY + ISB. On RISC-V, FENCE. This prevents speculative execution from proceeding past this point.