Struct seed_riscv::image::LoadedKernel
source · pub struct LoadedKernel {
pub entry_point: VAddr,
pub stack_top: VAddr,
pub global_pointer: VAddr,
pub next_available_address: VAddr,
}
Fields§
§entry_point: VAddr
§stack_top: VAddr
§global_pointer: VAddr
§next_available_address: VAddr
The kernel is loaded to the base of the kernel address space, and then we dynamically map stuff into the space after it. This is the address of the first available page after the loaded kernel.
Trait Implementations§
source§impl Clone for LoadedKernel
impl Clone for LoadedKernel
source§fn clone(&self) -> LoadedKernel
fn clone(&self) -> LoadedKernel
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for LoadedKernel
impl RefUnwindSafe for LoadedKernel
impl Send for LoadedKernel
impl Sync for LoadedKernel
impl Unpin for LoadedKernel
impl UnwindSafe for LoadedKernel
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