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: u64File byte offset to load the kernel’s code and initialized data from.
file_load_size: usizeNumber of bytes to read from the file at file_load_offset.
load_addr: GuestAddressPhysical memory address where the kernel should be loaded.
entry_addr: GuestAddressPhysical address of the kernel entry point.
bss_addr: Option<GuestAddress>BSS physical memory starting address to zero fill, if present in kernel.
bss_size: usizeBSS 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 Freeze for MultibootLoad
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