pub enum TlbFlushOp {
All,
Address(Vaddr),
Range(Range<Vaddr>),
}Expand description
The operation to flush TLB entries.
Variants§
All
Flush all TLB entries except for the global entries.
Address(Vaddr)
Flush the TLB entry for the specified virtual address.
Range(Range<Vaddr>)
Flush the TLB entries for the specified virtual address range.
Implementations§
Source§impl TlbFlushOp
impl TlbFlushOp
Sourcepub fn perform_on_current(&self)
pub fn perform_on_current(&self)
Performs the TLB flush operation on the current CPU.
Trait Implementations§
Source§impl Clone for TlbFlushOp
impl Clone for TlbFlushOp
Source§fn clone(&self) -> TlbFlushOp
fn clone(&self) -> TlbFlushOp
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TlbFlushOp
impl Debug for TlbFlushOp
Source§impl PartialEq for TlbFlushOp
impl PartialEq for TlbFlushOp
impl Eq for TlbFlushOp
impl StructuralPartialEq for TlbFlushOp
Auto Trait Implementations§
impl Freeze for TlbFlushOp
impl RefUnwindSafe for TlbFlushOp
impl Send for TlbFlushOp
impl Sync for TlbFlushOp
impl Unpin for TlbFlushOp
impl UnwindSafe for TlbFlushOp
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more