blob: 64ab60d66581996d0a10ed6cf6245c4ff0a6130e [file]
/** @file
This file defines the hob structure for memory map information.
Copyright (c) 2014 - 2019, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Library/PcdLib.h>
///
/// Memory Map Information GUID
///
extern EFI_GUID gLoaderMemoryMapInfoGuid;
#pragma pack(1)
typedef struct {
UINT64 Base;
UINT64 Size;
UINT8 Type;
UINT8 Flag;
UINT8 Reserved[6];
} MEMORY_MAP_ENTRY;
typedef struct {
UINT8 Revision;
UINT8 Reserved0[3];
UINT32 Count;
MEMORY_MAP_ENTRY Entry[0];
} MEMORY_MAP_INFO;
#pragma pack()