Enum stivale_boot::v2::StivaleMemoryMapEntryType [−][src]
#[repr(u32)]
pub enum StivaleMemoryMapEntryType {
Usable,
Reserved,
AcpiReclaimable,
AcpiNvs,
BadMemory,
BootloaderReclaimable,
Kernel,
Framebuffer,
}
Expand description
The type of a memory map entry. The entries are guaranteed to be sorted by base address, lowest to highest.
Alignment
Usable and bootloader reclaimable entries are guaranteed to be 4096 byte aligned for both base and length. Usable and bootloader reclaimable entries are guaranteed not to overlap with any other entry.
Variants
Usable memory.
Memory reserved by the system.
ACPI memory that can be reclaimed.
ACPI memory that cannot be reclaimed.
Memory marked as defective (bad RAM).
Memory used by the bootloader that can be reclaimed after it’s not being used anymore.
Memory containing the kernel and any modules.
Memory containing the framebuffer.