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