[][src]Struct sunrise_kernel::paging::arch::i386::table::ActivePageDirectory

pub struct ActivePageDirectory(Table);

A currently active page directory.

A Table with associated functions, which gets its children ActivePageTable through recursive mapping.

Implementations

impl ActivePageDirectory[src]

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

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

Trait Implementations

impl Debug for ActivePageDirectory[src]

impl HierarchicalTable for ActivePageDirectory[src]

type EntryType = I386Entry

The Entry our table has

type CacheFlusherType = TlbFlush

A Flusher that should be called on table modifications

type ChildTableType = ActivePageTable

If we're a parent table, the type of our child tables. If we're not a parent, this type will never be used and you can set it to Self. Read more

fn get_child_table(
    &mut self,
    index: usize
) -> PageState<SmartHierarchicalTable<ActivePageTable>>
[src]

Gets a child ActivePageTable through recursive mapping.

fn create_child_table(
    &mut self,
    index: usize
) -> SmartHierarchicalTable<ActivePageTable>
[src]

Creates a child ActivePageTable, maps it at the given index, and returns it.

Panics

Panics if the entry was not available.

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.