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

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