]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkPkg/Include/Guid/SmramMemoryReserve.h
Clean the public header files to remove the unnecessary include files.
[mirror_edk2.git] / IntelFrameworkPkg / Include / Guid / SmramMemoryReserve.h
index ca54e69cc424e1fb43c5a435ff736550380966e7..8dece94a94391497bc5ac7c1b42d97ce2f5d3a36 100644 (file)
@@ -25,8 +25,6 @@
 #ifndef _EFI_SMM_PEI_SMRAM_MEMORY_RESERVE_H_\r
 #define _EFI_SMM_PEI_SMRAM_MEMORY_RESERVE_H_\r
 \r
-#include <PiPei.h>\r
-\r
 #define EFI_SMM_PEI_SMRAM_MEMORY_RESERVE \\r
   { \\r
     0x6dadf1d1, 0xd4cc, 0x4910, {0xbb, 0x6e, 0x82, 0xb1, 0xfd, 0x80, 0xff, 0x3d } \\r
@@ -52,6 +50,12 @@ typedef struct {
 #define EFI_CACHEABLE                 0x00000008\r
 #define EFI_ALLOCATED                 0x00000010\r
 \r
+///\r
+/// Inconsistent with specification here: \r
+/// EFI_HOB_SMRAM_DESCRIPTOR_BLOCK has been changed to EFI_SMRAM_HOB_DESCRIPTOR_BLOCK.\r
+/// This inconsistency is kept in code in order for backward compatibility.\r
+///\r
+\r
 ///\r
 /// GUID specific data structure of HOB for reserving SMRAM regions.\r
 ///\r
@@ -66,7 +70,7 @@ typedef struct {
   /// regions for SMRAM that are supported by this platform. \r
   ///\r
   EFI_SMRAM_DESCRIPTOR  Descriptor[1];\r
-} EFI_HOB_SMRAM_DESCRIPTOR_BLOCK;\r
+} EFI_SMRAM_HOB_DESCRIPTOR_BLOCK;\r
 \r
 extern EFI_GUID gEfiSmmPeiSmramMemoryReserveGuid;\r
 \r