pub struct TranslationRegisters {
pub cr0: u64,
pub cr4: u64,
pub efer: u64,
pub cr3: u64,
pub rflags: u64,
pub ss: SegmentRegister,
pub encryption_mode: EncryptionMode,
}Expand description
Registers needed to walk the page table.
Fields§
§cr0: u64CR0
cr4: u64CR4
efer: u64EFER
cr3: u64CR3
rflags: u64RFLAGS
ss: SegmentRegisterSS
encryption_mode: EncryptionModeThe way the processor uses to determine if an access is to encrypted memory. This is used to enforce that page tables and executable code are in encrypted memory.
Trait Implementations§
Source§impl Clone for TranslationRegisters
impl Clone for TranslationRegisters
Source§fn clone(&self) -> TranslationRegisters
fn clone(&self) -> TranslationRegisters
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 moreAuto Trait Implementations§
impl Freeze for TranslationRegisters
impl RefUnwindSafe for TranslationRegisters
impl Send for TranslationRegisters
impl Sync for TranslationRegisters
impl Unpin for TranslationRegisters
impl UnwindSafe for TranslationRegisters
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