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 } MEMROY_MAP_ENTRY; 27 28 typedef struct { 29 UINT8 Revision; 30 UINT8 Reserved0[3]; 31 UINT32 Count; 32 MEMROY_MAP_ENTRY Entry[0]; 33 } MEMROY_MAP_INFO; 34 #pragma pack() 35 36 #endif 37