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

pub struct ActivePageDirectory(PageDirectory);

The page directory currently in use.

Its last entry enables recursive mapping, which we use to access and modify it

Implementations

impl ActivePageDirectory[src]

fn get_table_address(&self, index: usize) -> PageState<usize>[src]

reduce recursive mapping by one time to get further down in table hierarchy

Trait Implementations

impl Deref for ActivePageDirectory[src]

type Target = PageDirectory

The resulting type after dereferencing.

impl DerefMut for ActivePageDirectory[src]

impl HierarchicalTable for ActivePageDirectory[src]

impl Index<usize> for ActivePageDirectory[src]

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

The returned type after indexing.

impl IndexMut<usize> for ActivePageDirectory[src]

impl PageDirectoryTrait for ActivePageDirectory[src]

type PageTableType = ActivePageTable

type FlusherType = TlbFlush

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

Gets a reference to a page table through recursive mapping

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

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

Auto Trait Implementations

impl RefUnwindSafe for ActivePageDirectory

impl Send for ActivePageDirectory

impl Sync for ActivePageDirectory

impl Unpin for ActivePageDirectory

impl UnwindSafe for ActivePageDirectory

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.