]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Include/Guid/MemoryTypeInformation.h
Add additional comments for structure definition.
[mirror_edk2.git] / MdeModulePkg / Include / Guid / MemoryTypeInformation.h
1 /** @file
2 This file defines the memory type information guid, variable name and guid hob structure.
3 This guid is used for Memory Type Information entries in the HOB list and EFI variable.
4
5 Copyright (c) 2006 - 2008, Intel Corporation. <BR>
6 All rights reserved. This program and the accompanying materials
7 are licensed and made available under the terms and conditions of the BSD License
8 which accompanies this distribution. The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php
10
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13
14 **/
15
16 #ifndef __MEMORY_TYPE_INFORMATION_GUID_H__
17 #define __MEMORY_TYPE_INFORMATION_GUID_H__
18
19 #define EFI_MEMORY_TYPE_INFORMATION_GUID \
20 { 0x4c19049f,0x4137,0x4dd3, { 0x9c,0x10,0x8b,0x97,0xa8,0x3f,0xfd,0xfa } }
21
22 #define EFI_MEMORY_TYPE_INFORMATION_VARIABLE_NAME L"MemoryTypeInformation"
23
24 extern EFI_GUID gEfiMemoryTypeInformationGuid;
25
26 typedef struct {
27 UINT32 Type; /// EFI memory type defined in UEFI specification.
28 UINT32 NumberOfPages; /// The pages of this type memory.
29 } EFI_MEMORY_TYPE_INFORMATION;
30
31 #endif