Skip to main content

Module remap

Module remap 

Source
Expand description

VMM Paging (x86_64): remap_page

Authors: MarioS271

Re-exportsยง

use super::helpers::advance_current_pagetable; ๐Ÿ”’
use super::helpers::is_huge_page; ๐Ÿ”’
use super::helpers::is_present; ๐Ÿ”’
use crate::lib::addr::VirtAddr; ๐Ÿ”’
use crate::mm::vmm::VmmError; ๐Ÿ”’
use crate::mm::vmm::VmmResult; ๐Ÿ”’
use x86_64::instructions::tlb; ๐Ÿ”’
use x86_64::structures::paging::page_table::PageTableEntry; ๐Ÿ”’
use x86_64::structures::paging::PageTable; ๐Ÿ”’
use x86_64::structures::paging::PageTableFlags; ๐Ÿ”’
use x86_64::structures::paging::PhysFrame; ๐Ÿ”’

Functionsยง

debug_log ๐Ÿ”’
Debug log the remapping of a page
remap_huge_page ๐Ÿ”’
Wrapper for checking and remapping a huge page to avoid code duplication
remap_pageโš