Function x86::tlb::flush [] [src]

pub unsafe fn flush(addr: usize)

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.