Related definitions – Intel Extensible Firmware Interface User Manual

Page 120

Advertising
background image

Extensible Firmware Interface Specification

5-22

12/01/02

Version 1.10

Related Definitions

//*******************************************************
//EFI_ALLOCATE_TYPE
//*******************************************************
// These types are discussed in the “Description” section below.

typedef enum {

AllocateAnyPages,
AllocateMaxAddress,
AllocateAddress,
MaxAllocateType

} EFI_ALLOCATE_TYPE;

//*******************************************************
//EFI_MEMORY_TYPE
//*******************************************************
// These type values are discussed in Table 5-5 and Table 5-6.

typedef enum {

EfiReservedMemoryType,
EfiLoaderCode,
EfiLoaderData,
EfiBootServicesCode,
EfiBootServicesData,
EfiRuntimeServicesCode,
EfiRuntimeServicesData,
EfiConventionalMemory,
EfiUnusableMemory,
EfiACPIReclaimMemory,
EfiACPIMemoryNVS,
EfiMemoryMappedIO,
EfiMemoryMappedIOPortSpace,
EfiPalCode,
EfiMaxMemoryType

} EFI_MEMORY_TYPE;

//*******************************************************
//EFI_PHYSICAL_ADDRESS
//*******************************************************
typedef UINT64

EFI_PHYSICAL_ADDRESS;

Advertising