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