Enum x86_64::structures::paging::mapper::MappedFrame
source · pub enum MappedFrame {
Size4KiB(PhysFrame<Size4KiB>),
Size2MiB(PhysFrame<Size2MiB>),
Size1GiB(PhysFrame<Size1GiB>),
}
Expand description
Represents a physical frame mapped in a page table.
Variants§
Size4KiB(PhysFrame<Size4KiB>)
The virtual address is mapped to a 4KiB frame.
Size2MiB(PhysFrame<Size2MiB>)
The virtual address is mapped to a “large” 2MiB frame.
Size1GiB(PhysFrame<Size1GiB>)
The virtual address is mapped to a “huge” 1GiB frame.
Implementations§
source§impl MappedFrame
impl MappedFrame
sourcepub const fn start_address(&self) -> PhysAddr
pub const fn start_address(&self) -> PhysAddr
Returns the start address of the frame.