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