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

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

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

Implementations

impl PDPTEntry[src]

pub fn new(pd: PAddr, flags: PDPTFlags) -> PDPTEntry[src]

Creates a new PDPTEntry.

Arguments

  • pd - The physical address of the page directory.
  • flags- Additional flags for the entry.

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

Retrieves the physical address in this entry.

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

Returns the flags corresponding to this entry.

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 1-GByte region controlled by this entry.

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

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

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

Page-level write-through.

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

Page-level cache disable.

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

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

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

Indirectly determines the memory type used to access the 1-GByte page referenced by this entry. if not PS this is ignored.

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.

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

Page size; if set this entry maps a 1-GByte page; otherwise, this entry references a page directory.

Trait Implementations

impl Clone for PDPTEntry[src]

impl Copy for PDPTEntry[src]

impl Debug for PDPTEntry[src]

Auto Trait Implementations

impl Send for PDPTEntry

impl Sync for PDPTEntry

impl Unpin for PDPTEntry

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.