#[repr(C, packed(1))]pub struct MultibootMmap {
pub size: u32,
pub addr: u64,
pub len: u64,
pub mtype: u32,
}
Expand description
describes a a physical memory block.
Fields§
§size: u32
§addr: u64
§len: u64
§mtype: u32
Implementations§
Source§impl MultibootMmap
defs of memory types in the multiboot’s struct
impl MultibootMmap
defs of memory types in the multiboot’s struct
Sourcepub const MTYPE_RAM_RES: u32 = 2u32
pub const MTYPE_RAM_RES: u32 = 2u32
reserved ram
Sourcepub const MTYPE_ACPI: u32 = 3u32
pub const MTYPE_ACPI: u32 = 3u32
usable memory holding ACPI info
Sourcepub const MTYPE_RAM_NVS: u32 = 4u32
pub const MTYPE_RAM_NVS: u32 = 4u32
WHAT IS THIS 4???
Sourcepub const MTYPE_RAM_DEFECT: u32 = 5u32
pub const MTYPE_RAM_DEFECT: u32 = 5u32
defective RAM