2 Define the GUID of the EDKII PI SMM memory attribute table, which
3 is published by PI SMM Core.
5 Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
6 SPDX-License-Identifier: BSD-2-Clause-Patent
10 #ifndef _PI_SMM_MEMORY_ATTRIBUTES_TABLE_H_
11 #define _PI_SMM_MEMORY_ATTRIBUTES_TABLE_H_
13 #define EDKII_PI_SMM_MEMORY_ATTRIBUTES_TABLE_GUID {\
14 0x6b9fd3f7, 0x16df, 0x45e8, {0xbd, 0x39, 0xb9, 0x4a, 0x66, 0x54, 0x1a, 0x5d} \
18 // The PI SMM memory attribute table contains the SMM memory map for SMM image.
20 // This table is installed to SMST as SMM configuration table.
22 // This table is published at gEfiSmmEndOfDxeProtocolGuid notification, because
23 // there should be no more SMM driver loaded after that. The EfiRuntimeServicesCode
24 // region should not be changed any more.
26 // This table is published, if and only if all SMM PE/COFF have aligned section
27 // as specified in UEFI specification Section 2.3. For example, IA32/X64 alignment is 4KiB.
29 // If this table is published, the EfiRuntimeServicesCode contains code only
30 // and it is EFI_MEMORY_RO; the EfiRuntimeServicesData contains data only
31 // and it is EFI_MEMORY_XP.
35 UINT32 NumberOfEntries
;
36 UINT32 DescriptorSize
;
38 //EFI_MEMORY_DESCRIPTOR Entry[1];
39 } EDKII_PI_SMM_MEMORY_ATTRIBUTES_TABLE
;
41 #define EDKII_PI_SMM_MEMORY_ATTRIBUTES_TABLE_VERSION 0x00000001
43 extern EFI_GUID gEdkiiPiSmmMemoryAttributesTableGuid
;