]> git.proxmox.com Git - mirror_edk2.git/blob - UefiPayloadPkg/Include/Guid/MemoryMapInfoGuid.h
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / UefiPayloadPkg / Include / Guid / MemoryMapInfoGuid.h
1 /** @file
2 This file defines the hob structure for memory map information.
3
4 Copyright (c) 2014 - 2019, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
6
7 **/
8
9 #ifndef MEMORY_MAP_INFO_GUID_H_
10 #define MEMORY_MAP_INFO_GUID_H_
11
12 #include <Library/PcdLib.h>
13
14 ///
15 /// Memory Map Information GUID
16 ///
17 extern EFI_GUID gLoaderMemoryMapInfoGuid;
18
19 #pragma pack(1)
20 typedef struct {
21 UINT64 Base;
22 UINT64 Size;
23 UINT8 Type;
24 UINT8 Flag;
25 UINT8 Reserved[6];
26 } MEMORY_MAP_ENTRY;
27
28 typedef struct {
29 UINT8 Revision;
30 UINT8 Reserved0[3];
31 UINT32 Count;
32 MEMORY_MAP_ENTRY Entry[0];
33 } MEMORY_MAP_INFO;
34 #pragma pack()
35
36 #endif