#[repr(C)]pub struct BootInfo {
pub magic: u32,
pub memory_map: MemoryMap,
pub loaded_images: Vec<LoadedImage, MAX_LOADED_IMAGES>,
pub video_mode: Option<VideoModeInfo>,
pub heap_address: VAddr,
pub heap_size: usize,
pub rsdp_address: Option<PAddr>,
pub fdt_address: Option<PAddr>,
}
Fields§
§magic: u32
§memory_map: MemoryMap
Map of available memory that the kernel. This only includes ranges of memory that can be freely used at some point, and so memory used for e.g. UEFI runtime services are simply not included. The kernel must assume that memory not featured in this map is not available for use.
loaded_images: Vec<LoadedImage, MAX_LOADED_IMAGES>
§video_mode: Option<VideoModeInfo>
§heap_address: VAddr
§heap_size: usize
§rsdp_address: Option<PAddr>
The physical address of the RSDP, the first ACPI table, if one is present.
fdt_address: Option<PAddr>
The physical address of the device tree, if one is present.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BootInfo
impl RefUnwindSafe for BootInfo
impl Send for BootInfo
impl Sync for BootInfo
impl Unpin for BootInfo
impl UnwindSafe for BootInfo
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