Struct x86_64::structures::paging::PageTableEntry[][src]

#[repr(transparent)]
pub struct PageTableEntry { /* fields omitted */ }

A 64-bit page table entry.

Methods

impl PageTableEntry
[src]

Returns whether this entry is zero.

Sets this entry to zero.

Returns the flags of this entry.

Returns the physical address mapped by this entry, might be zero.

Returns the physical frame mapped by this entry.

Returns the following errors:

  • FrameError::FrameNotPresent if the entry doesn't have the PRESENT flag set.
  • FrameError::HugeFrame if the entry has the HUGE_PAGE flag set (for huge pages the addr function must be used)

Map the entry to the specified physical address with the specified flags.

Map the entry to the specified physical frame with the specified flags.

Sets the flags of this entry.

Trait Implementations

impl Clone for PageTableEntry
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for PageTableEntry
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations