pub struct HardwareAddressSpace { /* private fields */ }Expand description
Hardware translation state installed while the caller owns its page tables. Software identities, tag generations and mapping epochs belong to the runtime.
Implementations§
Source§impl HardwareAddressSpace
impl HardwareAddressSpace
Sourcepub const fn new(root: PhysAddr, tag: u16) -> Self
pub const fn new(root: PhysAddr, tag: u16) -> Self
Carries a page-table root and hardware tag; tag zero requests a full flush. Creating this value does not access or activate the page tables.
Sourcepub const fn hardware_tag(self) -> u16
pub const fn hardware_tag(self) -> u16
Returns the hardware tag, with zero reserved for the full-flush path.
Trait Implementations§
Source§impl Clone for HardwareAddressSpace
impl Clone for HardwareAddressSpace
Source§fn clone(&self) -> HardwareAddressSpace
fn clone(&self) -> HardwareAddressSpace
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for HardwareAddressSpace
Source§impl Debug for HardwareAddressSpace
impl Debug for HardwareAddressSpace
impl Eq for HardwareAddressSpace
Source§impl PartialEq for HardwareAddressSpace
impl PartialEq for HardwareAddressSpace
impl StructuralPartialEq for HardwareAddressSpace
Auto Trait Implementations§
impl Freeze for HardwareAddressSpace
impl RefUnwindSafe for HardwareAddressSpace
impl Send for HardwareAddressSpace
impl Sync for HardwareAddressSpace
impl Unpin for HardwareAddressSpace
impl UnsafeUnpin for HardwareAddressSpace
impl UnwindSafe for HardwareAddressSpace
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