Function x86::tlb::flush

source · []
pub unsafe fn flush(addr: usize)
Expand description

Invalidate the given address in the TLB using the invlpg instruction.

Safety

This function is unsafe as it causes a general protection fault (GP) if the current privilege level is not 0.