pub struct VirtTranslationDetails {
pub pfn: Pfn,
pub offset: u64,
pub page_kind: PageKind,
pub writable: bool,
pub executable: bool,
pub user_accessible: bool,
}Expand description
The details related to a virtual to physical address translation.
If you are wondering why there is no ‘readable’ field, it is because
KernelDumpParser::virt_translate returns an error if one of the PXE is
marked as not present. In other words, if the translation succeeds, the page
is at least readable.
Fields§
§pfn: PfnThe physical address backing the virtual address that was requested.
offset: u64The byte offset in that physical page.
page_kind: PageKindThe kind of physical page.
writable: boolIs the page writable?
executable: boolIs the page executable?
user_accessible: boolIs the page user accessible?
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VirtTranslationDetails
impl RefUnwindSafe for VirtTranslationDetails
impl Send for VirtTranslationDetails
impl Sync for VirtTranslationDetails
impl Unpin for VirtTranslationDetails
impl UnwindSafe for VirtTranslationDetails
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