Trait x86_64::structures::paging::mapper::PageTableFrameMapping[][src]

pub unsafe trait PageTableFrameMapping {
    fn frame_to_pointer(&self, frame: PhysFrame) -> *mut PageTable;
}

Provides a virtual address mapping for physical page table frames.

This only works if the physical address space is somehow mapped to the virtual address space, e.g. at an offset.

Safety

This trait is unsafe to implement because the implementer must ensure that frame_to_pointer returns a valid page table pointer for any given physical frame.

Required methods

fn frame_to_pointer(&self, frame: PhysFrame) -> *mut PageTable[src]

Translate the given physical frame to a virtual page table pointer.

Loading content...

Implementors

Loading content...