[][src]Struct x86::bits64::paging::PML4Entry

#[repr(transparent)]
pub struct PML4Entry(pub u64);

A PML4 Entry consists of an address and a bunch of flags.

Methods

impl PML4Entry[src]

pub fn new(pml4: PAddr, flags: PML4Flags) -> PML4Entry[src]

Creates a new PML4Entry.

Arguments

  • pdpt - The physical address of the pdpt table.
  • flags- Additional flags for the entry.

pub fn address(self) -> PAddr[src]

Retrieves the physical address in this entry.

pub fn flags(self) -> PML4Flags[src]

pub fn is_present(self) -> bool[src]

Is page present?

pub fn is_writeable(self) -> bool[src]

Read/write; if 0, writes may not be allowed to the 512-GByte region, controlled by this entry (see Section 4.6)

pub fn is_user_mode_allowed(self) -> bool[src]

User/supervisor; if 0, user-mode accesses are not allowed to the 512-GByte region controlled by this entry.

pub fn is_page_write_through(self) -> bool[src]

Page-level write-through; indirectly determines the memory type used to access the page-directory-pointer table referenced by this entry.

pub fn is_page_level_cache_disabled(self) -> bool[src]

Page-level cache disable; indirectly determines the memory type used to access the page-directory-pointer table referenced by this entry.

pub fn is_accessed(self) -> bool[src]

Accessed; indicates whether this entry has been used for linear-address translation.

pub fn is_instruction_fetching_disabled(self) -> bool[src]

If IA32_EFER.NXE = 1, execute-disable. If 1, instruction fetches are not allowed from the 512-GByte region.

Trait Implementations

impl Copy for PML4Entry[src]

impl Clone for PML4Entry[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for PML4Entry[src]

Auto Trait Implementations

impl Send for PML4Entry

impl Sync for PML4Entry

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]