]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Include/Guid/MemoryTypeInformation.h
MdeModulePkg: Replace BSD License with BSD+Patent License
[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 - 2018, Intel Corporation. All rights reserved.<BR>
11 SPDX-License-Identifier: BSD-2-Clause-Patent
12
13 **/
14
15 #ifndef __MEMORY_TYPE_INFORMATION_GUID_H__
16 #define __MEMORY_TYPE_INFORMATION_GUID_H__
17
18 #define EFI_MEMORY_TYPE_INFORMATION_GUID \
19 { 0x4c19049f,0x4137,0x4dd3, { 0x9c,0x10,0x8b,0x97,0xa8,0x3f,0xfd,0xfa } }
20
21 #define EFI_MEMORY_TYPE_INFORMATION_VARIABLE_NAME L"MemoryTypeInformation"
22
23 extern EFI_GUID gEfiMemoryTypeInformationGuid;
24
25 typedef struct {
26 UINT32 Type; ///< EFI memory type defined in UEFI specification.
27 UINT32 NumberOfPages; ///< The pages of this type memory.
28 } EFI_MEMORY_TYPE_INFORMATION;
29
30 #endif