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
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 thePRESENT
flag set.FrameError::HugeFrame
if the entry has theHUGE_PAGE
flag set (for huge pages theaddr
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.