]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Include/Guid/MemoryAttributesTable.h
MdePkg: Add UEFI2.6 MemoryAttributes Table definition.
[mirror_edk2.git] / MdePkg / Include / Guid / MemoryAttributesTable.h
1 /** @file
2 GUIDs used for UEFI Memory Attributes Table in the UEFI 2.6 specification.
3
4 Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
5 This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
9
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12
13 **/
14
15 #ifndef __UEFI_MEMORY_ATTRIBUTES_TABLE_H__
16 #define __UEFI_MEMORY_ATTRIBUTES_TABLE_H__
17
18 #define EFI_MEMORY_ATTRIBUTES_TABLE_GUID {\
19 0xdcfa911d, 0x26eb, 0x469f, {0xa2, 0x20, 0x38, 0xb7, 0xdc, 0x46, 0x12, 0x20} \
20 }
21
22 typedef struct {
23 UINT32 Version;
24 UINT32 NumberOfEntries;
25 UINT32 DescriptorSize;
26 UINT32 Reserved;
27 //EFI_MEMORY_DESCRIPTOR Entry[1];
28 } EFI_MEMORY_ATTRIBUTES_TABLE;
29
30 #define EFI_MEMORY_ATTRIBUTES_TABLE_VERSION 0x00000001
31
32 extern EFI_GUID gEfiMemoryAttributesTableGuid;
33
34 #endif