/// Maps the temporary page to the given frame in the active table.
/// Returns the start address of the temporary page.
Maps the temporary page to the given frame in the active table.
Returns the start address of the temporary page.
Maps the temporary page to the given frame in the active table . Returns the start address of the temporary page .
pub fn map(&mut self, frame: Frame, active_table: &mut ActivePageTable)
        -> VirtualAddress
    {
        use super::entry::EntryFlags;
        assert!(active_table.translate_page(self.page).is_none(),
                "temporary page is already mapped");
        let result = active_table.map_to(self.page, frame, EntryFlags::WRITABLE);
        result.flush(active_table);
        self.page.start_address()
    }
pub fn map ( & mut self , frame : Frame , active_table : & mut ActivePageTable ) -> VirtualAddress { use super :: entry :: EntryFlags ; assert ! ( active_table translate_page ( self page ) is_none ( ) " " ) ; let result = active_table . map_to ( self . page , frame , EntryFlags :: WRITABLE ) ; result . flush ( active_table ) ; self . page . start_address ( ) }
Maps the temporary page to the given frame in the active table.
Maps the temporary page to the given frame in the active table .
&mut self
frame
Frame
active_table
&mut ActivePageTable