[−][src]Struct sunrise_kernel::paging::arch::i386::table::ActivePageDirectory
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 entries(&mut self) -> &mut [I386Entry]
[src]
fn table_level() -> usize
[src]
fn get_child_table(
&mut self,
index: usize
) -> PageState<SmartHierarchicalTable<ActivePageTable>>
[src]
&mut self,
index: usize
) -> PageState<SmartHierarchicalTable<ActivePageTable>>
Gets a child ActivePageTable through recursive mapping.
fn create_child_table(
&mut self,
index: usize
) -> SmartHierarchicalTable<ActivePageTable>
[src]
&mut self,
index: usize
) -> SmartHierarchicalTable<ActivePageTable>
Creates a child ActivePageTable, maps it at the given index, 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 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]
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>,