Function 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.