pub struct Rv32PageTableWith<'a, V: VirtualAddress + AddressL2, FL: MapperFlushable> { /* private fields */ }
Expand description

This struct is a two level page table with Mapper trait implemented.

Implementations

Trait Implementations

Creates a new mapping in the page table. Read more

Removes a mapping from the page table and returns the frame that used to be mapped. Read more

source

fn ref_entry(
    &mut self,
    page: <Self as MapperExt>::Page
) -> Result<&mut PageTableEntryX32, FlagUpdateError>

Get the reference of the specified page entry

Updates the flags of an existing mapping.

Return the frame that the specified page is mapped to.

Maps the given frame to the virtual page with the same address.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.