[−][src]Struct sunrise_kernel::paging::arch::i386::table::InactivePageDirectory
A currently inactive page directory.
A Table with associated functions. Must be temporarily mapped to be read and modified.
Gets its children InactivePageTable by temporarily mapping them.
Trait Implementations
impl Debug for InactivePageDirectory
[src]
impl Drop for InactivePageDirectory
[src]
impl HierarchicalTable for InactivePageDirectory
[src]
type EntryType = I386Entry
The Entry our table has
type CacheFlusherType = NoFlush
A Flusher that should be called on table modifications
type ChildTableType = InactivePageTable
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 entries(&mut self) -> &mut [I386Entry]
[src]
fn table_level() -> usize
[src]
fn get_child_table(
&mut self,
index: usize
) -> PageState<SmartHierarchicalTable<InactivePageTable>>
[src]
&mut self,
index: usize
) -> PageState<SmartHierarchicalTable<InactivePageTable>>
Gets the child InactivePageTable at the given index. Temporarily maps it if it is present.
fn create_child_table(
&mut self,
index: usize
) -> SmartHierarchicalTable<InactivePageTable>
[src]
&mut self,
index: usize
) -> SmartHierarchicalTable<InactivePageTable>
Creates a child InactivePageTable at the given index, temporarily maps it, and returns it.
Panics
Panics if the entry was not available.
fn zero(&mut self)
[src]
fn guard_all_entries(&mut self)
[src]
fn map_nth_entry(
&mut self,
entry: usize,
paddr: PhysicalAddress,
flags: <Self::EntryType as HierarchicalEntry>::EntryFlagsType
)
[src]
&mut self,
entry: usize,
paddr: PhysicalAddress,
flags: <Self::EntryType as HierarchicalEntry>::EntryFlagsType
)
fn guard_nth_entry(&mut self, entry: usize)
[src]
fn unmap_nth_entry(&mut self, entry: usize)
[src]
fn entry_vm_size() -> usize
[src]
fn get_child_table_or_create(
&mut self,
index: usize
) -> PageState<SmartHierarchicalTable<Self::ChildTableType>>
[src]
&mut self,
index: usize
) -> PageState<SmartHierarchicalTable<Self::ChildTableType>>
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,