pub struct LoadedKernel {
pub address_range: AddressRange,
pub size: u64,
pub entry: GuestAddress,
pub class: ElfClass,
}Expand description
Information about a kernel loaded with the load_elf function.
Fields§
§address_range: AddressRangeAddress range containg the bounds of the loaded program headers.
address_range.start is the start of the lowest loaded program header.
address_range.end is the end of the highest loaded program header.
size: u64Size of the kernel image in bytes.
entry: GuestAddressEntry point address of the kernel.
class: ElfClassELF class or equivalent for other image formats.
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 moreSource§impl Debug for LoadedKernel
impl Debug for LoadedKernel
Source§impl PartialEq for LoadedKernel
impl PartialEq for LoadedKernel
impl Copy for LoadedKernel
impl Eq for LoadedKernel
impl StructuralPartialEq for LoadedKernel
Auto 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