Changeset View
Changeset View
Standalone View
Standalone View
head/sys/boot/efi/include/efidef.h
Show First 20 Lines • Show All 172 Lines • ▼ Show 20 Lines | |||||
#define EFI_MEMORY_XP 0x0000000000004000 | #define EFI_MEMORY_XP 0x0000000000004000 | ||||
// range requires a runtime mapping | // range requires a runtime mapping | ||||
#define EFI_MEMORY_RUNTIME 0x8000000000000000 | #define EFI_MEMORY_RUNTIME 0x8000000000000000 | ||||
#define EFI_MEMORY_DESCRIPTOR_VERSION 1 | #define EFI_MEMORY_DESCRIPTOR_VERSION 1 | ||||
typedef struct { | typedef struct { | ||||
UINT32 Type; // Field size is 32 bits followed by 32 bit pad | UINT32 Type; // Field size is 32 bits followed by 32 bit pad | ||||
UINT32 Pad; | |||||
EFI_PHYSICAL_ADDRESS PhysicalStart; // Field size is 64 bits | EFI_PHYSICAL_ADDRESS PhysicalStart; // Field size is 64 bits | ||||
EFI_VIRTUAL_ADDRESS VirtualStart; // Field size is 64 bits | EFI_VIRTUAL_ADDRESS VirtualStart; // Field size is 64 bits | ||||
UINT64 NumberOfPages; // Field size is 64 bits | UINT64 NumberOfPages; // Field size is 64 bits | ||||
UINT64 Attribute; // Field size is 64 bits | UINT64 Attribute; // Field size is 64 bits | ||||
} EFI_MEMORY_DESCRIPTOR; | } EFI_MEMORY_DESCRIPTOR; | ||||
// | // | ||||
// International Language | // International Language | ||||
Show All 17 Lines |