pub struct HhdmTables {
allocated: Vec<u64>,
}Expand description
Table provider that accesses physical memory through the HHDM and keeps track of the allocated tables so they can be freed.
Fields§
§allocated: Vec<u64>Implementations§
Trait Implementations§
Source§impl Default for HhdmTables
impl Default for HhdmTables
Source§impl TableMemory for HhdmTables
impl TableMemory for HhdmTables
Source§fn alloc_table(&mut self) -> Option<u64>
fn alloc_table(&mut self) -> Option<u64>
Allocates a zeroed table and returns its handle (physical identifier).
Source§fn free_table(&mut self, table: u64)
fn free_table(&mut self, table: u64)
Frees a previously allocated table.
Auto Trait Implementations§
impl Forget for HhdmTables
impl Freeze for HhdmTables
impl Move for HhdmTables
impl RefUnwindSafe for HhdmTables
impl Send for HhdmTables
impl Sync for HhdmTables
impl Unpin for HhdmTables
impl UnsafeUnpin for HhdmTables
impl UnwindSafe for HhdmTables
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more