Struct kernel_loader::multiboot::MultibootLoad
source · pub struct MultibootLoad {
pub file_load_offset: u64,
pub file_load_size: usize,
pub load_addr: GuestAddress,
pub entry_addr: GuestAddress,
pub bss_addr: Option<GuestAddress>,
pub bss_size: usize,
}
Expand description
Multiboot kernel load parameters.
Fields§
§file_load_offset: u64
File byte offset to load the kernel’s code and initialized data from.
file_load_size: usize
Number of bytes to read from the file at file_load_offset
.
load_addr: GuestAddress
Physical memory address where the kernel should be loaded.
entry_addr: GuestAddress
Physical address of the kernel entry point.
bss_addr: Option<GuestAddress>
BSS physical memory starting address to zero fill, if present in kernel.
bss_size: usize
BSS size in bytes (0 if no BSS region is present).
Trait Implementations§
source§impl Clone for MultibootLoad
impl Clone for MultibootLoad
source§fn clone(&self) -> MultibootLoad
fn clone(&self) -> MultibootLoad
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 RefUnwindSafe for MultibootLoad
impl Send for MultibootLoad
impl Sync for MultibootLoad
impl Unpin for MultibootLoad
impl UnwindSafe for MultibootLoad
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