]> git.proxmox.com Git - mirror_edk2.git/blame - OvmfPkg/Include/IndustryStandard/E820.h
OvmfPkg/MemEncryptSevLib: find pages of initial SMRAM save state map
[mirror_edk2.git] / OvmfPkg / Include / IndustryStandard / E820.h
CommitLineData
e48c696d
WL
1/** @file\r
2\r
3Copyright (c) 2013, Citrix Systems UK Ltd.\r
4Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>\r
5\r
6This program and the accompanying materials\r
7are licensed and made available under the terms and conditions\r
8of the BSD License which accompanies this distribution. The\r
9full text of the license may be found at\r
10http://opensource.org/licenses/bsd-license.php\r
11\r
12THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
13WITHOUT 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
23typedef 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
30typedef struct {\r
31 UINT64 BaseAddr;\r
32 UINT64 Length;\r
33 EFI_ACPI_MEMORY_TYPE Type;\r
34} EFI_E820_ENTRY64;\r
35\r
36typedef 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