Module tlb

Source
Expand description

Functions to flush the translation lookaside buffer (TLB).

Structs§

AsidOutOfRangeError
An error returned when trying to use an invalid ASID.
Invlpgb
Used to broadcast flushes to all logical processors.
InvlpgbFlushBuilder
A builder struct to construct the parameters for the invlpgb instruction.
Pcid
Structure of a PCID. A PCID has to be <= 4096 for x86_64.
PcidTooBig
A passed u16 was not a valid PCID.

Enums§

InvPcidCommand
The Invalidate PCID Command to execute.

Functions§

flush
Invalidate the given address in the TLB using the invlpg instruction.
flush_all
Invalidate the TLB completely by reloading the CR3 register.
flush_pcid
Invalidate the given address in the TLB using the invpcid instruction.