Enum multiboot2::EFIMemoryAreaType
source · [−]pub enum EFIMemoryAreaType {
Show 16 variants
EfiReservedMemoryType,
EfiLoaderCode,
EfiLoaderData,
EfiBootServicesCode,
EfiBootServicesData,
EfiRuntimeServicesCode,
EfiRuntimeServicesData,
EfiConventionalMemory,
EfiUnusableMemory,
EfiACPIReclaimMemory,
EfiACPIMemoryNVS,
EfiMemoryMappedIO,
EfiMemoryMappedIOPortSpace,
EfiPalCode,
EfiPersistentMemory,
EfiUnknown,
}
Expand description
An enum of possible reported region types.
Variants
EfiReservedMemoryType
Unusable.
EfiLoaderCode
Code area of a UEFI application.
EfiLoaderData
Data area of a UEFI application.
EfiBootServicesCode
Code area of a UEFI Boot Service Driver.
EfiBootServicesData
Data area of a UEFI Boot Service Driver.
EfiRuntimeServicesCode
Code area of a UEFI Runtime Driver.
Must be preserved in working and ACPI S1-S3 states.
EfiRuntimeServicesData
Data area of a UEFI Runtime Driver.
Must be preserved in working and ACPI S1-S3 states.
EfiConventionalMemory
Available memory.
EfiUnusableMemory
Memory with errors, treat as unusable.
EfiACPIReclaimMemory
Memory containing the ACPI tables.
Must be preserved in working and ACPI S1-S3 states.
EfiACPIMemoryNVS
Memory reserved by firmware.
Must be preserved in working and ACPI S1-S3 states.
EfiMemoryMappedIO
Memory used by firmware for requesting memory mapping of IO.
Should not be used by the OS. Use the ACPI tables for memory mapped IO information.
EfiMemoryMappedIOPortSpace
Memory used to translate memory cycles to IO cycles.
Should not be used by the OS. Use the ACPI tables for memory mapped IO information.
EfiPalCode
Memory used by the processor.
Must be preserved in working and ACPI S1-S4 states. Processor defined otherwise.
EfiPersistentMemory
Available memory supporting byte-addressable non-volatility.
EfiUnknown
Unknown region type, treat as unusable.
Trait Implementations
sourceimpl Debug for EFIMemoryAreaType
impl Debug for EFIMemoryAreaType
impl Eq for EFIMemoryAreaType
impl StructuralEq for EFIMemoryAreaType
impl StructuralPartialEq for EFIMemoryAreaType
Auto Trait Implementations
impl RefUnwindSafe for EFIMemoryAreaType
impl Send for EFIMemoryAreaType
impl Sync for EFIMemoryAreaType
impl Unpin for EFIMemoryAreaType
impl UnwindSafe for EFIMemoryAreaType
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