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

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

A 64-bit page table entry.

Implementations

Creates an unused page table entry.

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.