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