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

pub struct InactiveHierarchy {
    directory_physical_address: PhysicalAddress,
}

A currently inactive hierarchy of directory and tables.

Can be read and modified by temporarily mapping its InactivePageDirectory.

Fields

directory_physical_address: PhysicalAddress

The address we must put in cr3 to switch to these pages.

Trait Implementations

impl Debug for InactiveHierarchy[src]

impl Drop for InactiveHierarchy[src]

fn drop(&mut self)[src]

When a process dies, its InactiveHierarchy is dropped. The pages themselves have already been freed by the bookkeeping, we just have to free the tables and the directory of this hierarchy.

However we must free only the tables that map UserLand memory, as the ones mapping KernelLand are shared with other processes and are still in use.

impl InactiveHierarchyTrait for InactiveHierarchy[src]

impl TableHierarchy for InactiveHierarchy[src]

type TopLevelTableType = InactivePageDirectory

The type of the top level table.

fn get_top_level_table(
    &mut self
) -> SmartHierarchicalTable<InactivePageDirectory>
[src]

Gets the InactivePageDirectory by temporarily mapping it.

Auto Trait Implementations

impl RefUnwindSafe for InactiveHierarchy

impl Send for InactiveHierarchy

impl Sync for InactiveHierarchy

impl Unpin for InactiveHierarchy

impl UnwindSafe for InactiveHierarchy

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.