TianoCore EDK2 master
Loading...
Searching...
No Matches
PiSmmMemoryAttributesTable.h
Go to the documentation of this file.
1
10#ifndef _PI_SMM_MEMORY_ATTRIBUTES_TABLE_H_
11#define _PI_SMM_MEMORY_ATTRIBUTES_TABLE_H_
12
13#define EDKII_PI_SMM_MEMORY_ATTRIBUTES_TABLE_GUID {\
14 0x6b9fd3f7, 0x16df, 0x45e8, {0xbd, 0x39, 0xb9, 0x4a, 0x66, 0x54, 0x1a, 0x5d} \
15}
16
17//
18// The PI SMM memory attribute table contains the SMM memory map for SMM image.
19//
20// This table is installed to SMST as SMM configuration table.
21//
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.
25//
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.
28//
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.
32//
33typedef struct {
34 UINT32 Version;
35 UINT32 NumberOfEntries;
36 UINT32 DescriptorSize;
37 UINT32 Reserved;
38 // EFI_MEMORY_DESCRIPTOR Entry[1];
40
41#define EDKII_PI_SMM_MEMORY_ATTRIBUTES_TABLE_VERSION 0x00000001
42
43extern EFI_GUID gEdkiiPiSmmMemoryAttributesTableGuid;
44
45#endif
Definition: Base.h:213