[][src]Struct sunrise_bootstrap::paging::table::InactivePageDirectory

pub struct InactivePageDirectory(PageDirectory);

A temporary mapped page directory.

Implementations

impl InactivePageDirectory[src]

fn delete_userspace(&mut self)[src]

  • Frees the userspace pages mapped by this set
  • Frees the userspace tables frames

Does not free pages mapped in kernelspace and kernel space tables

fn copy_active_kernelspace(&mut self)[src]

Copies all the entries in the directory mapping tables that fall in kernelspace from active page tables

Trait Implementations

impl Deref for InactivePageDirectory[src]

type Target = PageDirectory

The resulting type after dereferencing.

impl DerefMut for InactivePageDirectory[src]

impl Drop for InactivePageDirectory[src]

When the temporary inactive directory is drop, we unmap it

impl HierarchicalTable for InactivePageDirectory[src]

impl Index<usize> for InactivePageDirectory[src]

type Output = <PageDirectory as Index<usize>>::Output

The returned type after indexing.

impl IndexMut<usize> for InactivePageDirectory[src]

impl PageDirectoryTrait for InactivePageDirectory[src]

type PageTableType = InactivePageTable

type FlusherType = NoFlush

fn get_table(
    &mut self,
    index: usize
) -> PageState<SmartHierarchicalTable<Self::PageTableType>>
[src]

Temporary map the table

fn create_table(
    &mut self,
    index: usize
) -> SmartHierarchicalTable<Self::PageTableType>
[src]

Allocates a page table, temporarily map it, zero it and add an entry to the directory pointing to it

Auto Trait Implementations

impl RefUnwindSafe for InactivePageDirectory

impl Send for InactivePageDirectory

impl Sync for InactivePageDirectory

impl Unpin for InactivePageDirectory

impl UnwindSafe for InactivePageDirectory

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.