pub trait BootInfo {
type MemoryMap: Iterator<Item = Region>;
type Writer: Write;
type Framebuffer: Draw;
// Required methods
fn memory_map(&self) -> Self::MemoryMap;
fn writer(&self) -> Self::Writer;
fn framebuffer(&self) -> Option<Self::Framebuffer>;
fn bootloader_name(&self) -> &str;
fn init_paging(&self);
// Provided methods
fn bootloader_version(&self) -> Option<&str> { ... }
fn subscriber(&self) -> Option<Dispatch> { ... }
}
Required Associated Types§
Required Methods§
sourcefn memory_map(&self) -> Self::MemoryMap
fn memory_map(&self) -> Self::MemoryMap
Returns the boot info’s memory map.