]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/Include/IndustryStandard/E820.h
OvmfPkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / OvmfPkg / Include / IndustryStandard / E820.h
1 /** @file
2
3 Copyright (c) 2013, Citrix Systems UK Ltd.
4 Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>
5
6 SPDX-License-Identifier: BSD-2-Clause-Patent
7
8 **/
9
10
11 #ifndef __E820_H__
12 #define __E820_H__
13
14 #pragma pack(1)
15
16 typedef enum {
17 EfiAcpiAddressRangeMemory = 1,
18 EfiAcpiAddressRangeReserved = 2,
19 EfiAcpiAddressRangeACPI = 3,
20 EfiAcpiAddressRangeNVS = 4
21 } EFI_ACPI_MEMORY_TYPE;
22
23 typedef struct {
24 UINT64 BaseAddr;
25 UINT64 Length;
26 EFI_ACPI_MEMORY_TYPE Type;
27 } EFI_E820_ENTRY64;
28
29 typedef struct {
30 UINT32 BassAddrLow;
31 UINT32 BaseAddrHigh;
32 UINT32 LengthLow;
33 UINT32 LengthHigh;
34 EFI_ACPI_MEMORY_TYPE Type;
35 } EFI_E820_ENTRY;
36
37 #pragma pack()
38
39 #endif /* __E820_H__ */