Trait hal_core::boot::BootInfo

source ·
pub trait BootInfo {
    type MemoryMap: Iterator<Item = Region>;
    type Writer: Write;
    type Framebuffer: Draw;

    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);

    fn bootloader_version(&self) -> Option<&str> { ... }
    fn subscriber(&self) -> Option<Dispatch> { ... }
}

Required Associated Types§

Required Methods§

Returns the boot info’s memory map.

Returns a writer for printing early kernel diagnostics

Provided Methods§

Implementors§