1/** @file
2  This file defines:
3  * Memory Type Information GUID for HOB and Variable.
4  * Memory Type Information Variable Name.
5  * Memory Type Information GUID HOB data structure.
6
7  The memory type information HOB and variable can
8  be used to store the information for each memory type in Variable or HOB.
9
10Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
11This program and the accompanying materials are licensed and made available under
12the terms and conditions of the BSD License that accompanies this distribution.
13The full text of the license may be found at
14http://opensource.org/licenses/bsd-license.php.
15
16THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
17WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
18
19**/
20
21#ifndef __MEMORY_TYPE_INFORMATION_GUID_H__
22#define __MEMORY_TYPE_INFORMATION_GUID_H__
23
24#define EFI_MEMORY_TYPE_INFORMATION_GUID \
25  { 0x4c19049f,0x4137,0x4dd3, { 0x9c,0x10,0x8b,0x97,0xa8,0x3f,0xfd,0xfa } }
26
27#define EFI_MEMORY_TYPE_INFORMATION_VARIABLE_NAME "MemoryTypeInformation"
28
29extern EFI_GUID gEfiMemoryTypeInformationGuid;
30
31typedef struct {
32  UINT32  Type;             ///< EFI memory type defined in UEFI specification.
33  UINT32  NumberOfPages;    ///< The pages of this type memory.
34} EFI_MEMORY_TYPE_INFORMATION;
35
36#endif
37