]>
Commit | Line | Data |
---|---|---|
e48c696d WL |
1 | /** @file\r |
2 | \r | |
3 | Copyright (c) 2013, Citrix Systems UK Ltd.\r | |
4 | Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>\r | |
5 | \r | |
6 | This program and the accompanying materials\r | |
7 | are licensed and made available under the terms and conditions\r | |
8 | of the BSD License which accompanies this distribution. The\r | |
9 | full text of the license may be found at\r | |
10 | http://opensource.org/licenses/bsd-license.php\r | |
11 | \r | |
12 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
13 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
14 | \r | |
15 | **/\r | |
16 | \r | |
17 | \r | |
18 | #ifndef __E820_H__\r | |
19 | #define __E820_H__\r | |
20 | \r | |
21 | #pragma pack(1)\r | |
22 | \r | |
23 | typedef enum {\r | |
24 | EfiAcpiAddressRangeMemory = 1,\r | |
25 | EfiAcpiAddressRangeReserved = 2,\r | |
26 | EfiAcpiAddressRangeACPI = 3,\r | |
27 | EfiAcpiAddressRangeNVS = 4\r | |
28 | } EFI_ACPI_MEMORY_TYPE;\r | |
29 | \r | |
30 | typedef struct {\r | |
31 | UINT64 BaseAddr;\r | |
32 | UINT64 Length;\r | |
33 | EFI_ACPI_MEMORY_TYPE Type;\r | |
34 | } EFI_E820_ENTRY64;\r | |
35 | \r | |
36 | typedef struct {\r | |
37 | UINT32 BassAddrLow;\r | |
38 | UINT32 BaseAddrHigh;\r | |
39 | UINT32 LengthLow;\r | |
40 | UINT32 LengthHigh;\r | |
41 | EFI_ACPI_MEMORY_TYPE Type;\r | |
42 | } EFI_E820_ENTRY;\r | |
43 | \r | |
44 | #pragma pack()\r | |
45 | \r | |
46 | #endif /* __E820_H__ */\r |