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

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

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

Implementors