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

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.