fn new_pt(&mut self) -> Option<paging::PDEntry> {
        let kcb = kcb::get_kcb();
        let mut fmanager = kcb.mem_manager();

        fmanager
            .allocate_base_page()
            .map(|frame| {
                paging::PDEntry::new(
                    frame.base,
                    paging::PDFlags::P | paging::PDFlags::RW | paging::PDFlags::US,
                )
            })
            .ok()
    }
/// Allocate a new page-directory and return a page directory entry for it.
Allocate a new page-directory and return a page directory entry for it.
Allocate a new page - directory and return a page directory entry for it .
fn new_pt(&mut self) -> Option<paging::PDEntry> {
        let kcb = kcb::get_kcb();
        let mut fmanager = kcb.mem_manager();
        fmanager
            .allocate_base_page()
            .map(|frame| {
                paging::PDEntry::new(
                    frame.base,
                    paging::PDFlags::P | paging::PDFlags::RW | paging::PDFlags::US,
                )
            })
            .ok()
    }
fn new_pt ( & mut self ) -> Option < paging :: PDEntry > { let kcb = kcb :: get_kcb ( ) ; let mut fmanager = kcb . mem_manager ( ) ; fmanager . allocate_base_page ( ) . map ( | frame | { paging :: PDEntry :: new ( frame . base , paging :: PDFlags :: P | paging :: PDFlags :: RW | paging :: PDFlags :: US , ) } ) . ok ( ) }
Allocate a new page-directory and return a page directory entry for it.
Allocate a new page - directory and return a page directory entry for it .
&mut self
&mut self