]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Include/Guid/MemoryTypeInformation.h
MdeModulePkg: Add match2 opcode support in SetupBrowserDxe and sample code in DriverS...
[mirror_edk2.git] / MdeModulePkg / Include / Guid / MemoryTypeInformation.h
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
10 Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
11 This program and the accompanying materials are licensed and made available under
12 the terms and conditions of the BSD License that accompanies this distribution.
13 The full text of the license may be found at
14 http://opensource.org/licenses/bsd-license.php.
15
16 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
17 WITHOUT 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 L"MemoryTypeInformation"
28
29 extern EFI_GUID gEfiMemoryTypeInformationGuid;
30
31 typedef 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