struct WorldTables {
world_id: u64,
next: u64,
end: u64,
frames: Vec<u64>,
}Expand description
Page-table provider writing the guest tables straight into world memory.
The tables are allocated from the low-memory reservation computed by the layout planner and reached through the world’s second-level translation (the same path the loader uses for the image), so the dry run exercises the exact memory path a real boot would.
Fields§
§world_id: u64§next: u64§end: u64§frames: Vec<u64>Implementations§
Trait Implementations§
Source§impl TableMemory for WorldTables
impl TableMemory for WorldTables
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 WorldTables
impl Freeze for WorldTables
impl Move for WorldTables
impl RefUnwindSafe for WorldTables
impl Send for WorldTables
impl Sync for WorldTables
impl Unpin for WorldTables
impl UnsafeUnpin for WorldTables
impl UnwindSafe for WorldTables
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