X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=IntelFrameworkPkg%2FInclude%2FGuid%2FSmramMemoryReserve.h;h=8dece94a94391497bc5ac7c1b42d97ce2f5d3a36;hp=ca54e69cc424e1fb43c5a435ff736550380966e7;hb=0e0eeecad42a9aaf17e304fdffabbeed0e8d3a44;hpb=444bf90deb624ae6a0f914453445e7fd9b550f77 diff --git a/IntelFrameworkPkg/Include/Guid/SmramMemoryReserve.h b/IntelFrameworkPkg/Include/Guid/SmramMemoryReserve.h index ca54e69cc4..8dece94a94 100644 --- a/IntelFrameworkPkg/Include/Guid/SmramMemoryReserve.h +++ b/IntelFrameworkPkg/Include/Guid/SmramMemoryReserve.h @@ -25,8 +25,6 @@ #ifndef _EFI_SMM_PEI_SMRAM_MEMORY_RESERVE_H_ #define _EFI_SMM_PEI_SMRAM_MEMORY_RESERVE_H_ -#include - #define EFI_SMM_PEI_SMRAM_MEMORY_RESERVE \ { \ 0x6dadf1d1, 0xd4cc, 0x4910, {0xbb, 0x6e, 0x82, 0xb1, 0xfd, 0x80, 0xff, 0x3d } \ @@ -52,6 +50,12 @@ typedef struct { #define EFI_CACHEABLE 0x00000008 #define EFI_ALLOCATED 0x00000010 +/// +/// Inconsistent with specification here: +/// EFI_HOB_SMRAM_DESCRIPTOR_BLOCK has been changed to EFI_SMRAM_HOB_DESCRIPTOR_BLOCK. +/// This inconsistency is kept in code in order for backward compatibility. +/// + /// /// GUID specific data structure of HOB for reserving SMRAM regions. /// @@ -66,7 +70,7 @@ typedef struct { /// regions for SMRAM that are supported by this platform. /// EFI_SMRAM_DESCRIPTOR Descriptor[1]; -} EFI_HOB_SMRAM_DESCRIPTOR_BLOCK; +} EFI_SMRAM_HOB_DESCRIPTOR_BLOCK; extern EFI_GUID gEfiSmmPeiSmramMemoryReserveGuid;