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