Struct multiboot2::BootInformation
source · [−]pub struct BootInformation { /* private fields */ }
Expand description
A Multiboot 2 Boot Information struct.
Implementations
sourceimpl BootInformation
impl BootInformation
sourcepub fn start_address(&self) -> usize
pub fn start_address(&self) -> usize
Get the start address of the boot info.
sourcepub fn end_address(&self) -> usize
pub fn end_address(&self) -> usize
Get the end address of the boot info.
This is the same as doing:
let end_addr = boot_info.start_address() + boot_info.size();
sourcepub fn total_size(&self) -> usize
pub fn total_size(&self) -> usize
Get the total size of the boot info struct.
sourcepub fn elf_sections_tag(&self) -> Option<ElfSectionsTag>
pub fn elf_sections_tag(&self) -> Option<ElfSectionsTag>
Search for the ELF Sections tag.
sourcepub fn memory_map_tag(&self) -> Option<&MemoryMapTag>
pub fn memory_map_tag(&self) -> Option<&MemoryMapTag>
Search for the Memory map tag.
Get an iterator of all module tags.
sourcepub fn boot_loader_name_tag(&self) -> Option<&BootLoaderNameTag>
pub fn boot_loader_name_tag(&self) -> Option<&BootLoaderNameTag>
Search for the BootLoader name tag.
sourcepub fn command_line_tag(&self) -> Option<&CommandLineTag>
pub fn command_line_tag(&self) -> Option<&CommandLineTag>
Search for the Command line tag.
sourcepub fn framebuffer_tag(&self) -> Option<FramebufferTag<'_>>
pub fn framebuffer_tag(&self) -> Option<FramebufferTag<'_>>
Search for the VBE framebuffer tag.
sourcepub fn efi_sdt_32_tag(&self) -> Option<&EFISdt32>
pub fn efi_sdt_32_tag(&self) -> Option<&EFISdt32>
Search for the EFI 32-bit SDT tag.
sourcepub fn efi_sdt_64_tag(&self) -> Option<&EFISdt64>
pub fn efi_sdt_64_tag(&self) -> Option<&EFISdt64>
Search for the EFI 64-bit SDT tag.
sourcepub fn rsdp_v1_tag(&self) -> Option<&RsdpV1Tag>
pub fn rsdp_v1_tag(&self) -> Option<&RsdpV1Tag>
Search for the (ACPI 1.0) RSDP tag.
sourcepub fn rsdp_v2_tag(&self) -> Option<&RsdpV2Tag>
pub fn rsdp_v2_tag(&self) -> Option<&RsdpV2Tag>
Search for the (ACPI 2.0 or later) RSDP tag.
sourcepub fn efi_memory_map_tag(&self) -> Option<&EFIMemoryMapTag>
pub fn efi_memory_map_tag(&self) -> Option<&EFIMemoryMapTag>
Search for the EFI Memory map tag.
sourcepub fn efi_32_ih(&self) -> Option<&EFIImageHandle32>
pub fn efi_32_ih(&self) -> Option<&EFIImageHandle32>
Search for the EFI 32-bit image handle pointer.
sourcepub fn efi_64_ih(&self) -> Option<&EFIImageHandle64>
pub fn efi_64_ih(&self) -> Option<&EFIImageHandle64>
Search for the EFI 64-bit image handle pointer.
sourcepub fn load_base_addr(&self) -> Option<&ImageLoadPhysAddr>
pub fn load_base_addr(&self) -> Option<&ImageLoadPhysAddr>
Search for the Image Load Base Physical Address.
sourcepub fn vbe_info_tag(&self) -> Option<&'static VBEInfoTag>
pub fn vbe_info_tag(&self) -> Option<&'static VBEInfoTag>
Search for the VBE information tag.
Trait Implementations
sourceimpl Debug for BootInformation
impl Debug for BootInformation
impl Send for BootInformation
Auto Trait Implementations
impl RefUnwindSafe for BootInformation
impl !Sync for BootInformation
impl Unpin for BootInformation
impl UnwindSafe for BootInformation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more