summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>2009-07-10 03:28:16 +0000
committerxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>2009-07-10 03:28:16 +0000
commita5baf84537b4c3e9e4d790848e81b5d0c1422624 (patch)
tree64cc1e03361bfab6b12c141afce7bcc50a4485c0
parent24cdd14e81bc867dfc0ed05fd6d22d4a49858adb (diff)
downloadedk2-a5baf84537b4c3e9e4d790848e81b5d0c1422624.zip
edk2-a5baf84537b4c3e9e4d790848e81b5d0c1422624.tar.gz
edk2-a5baf84537b4c3e9e4d790848e81b5d0c1422624.tar.bz2
Keep inconsistency in code and add additional comments for that.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8856 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--IntelFrameworkPkg/Include/Guid/SmramMemoryReserve.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/IntelFrameworkPkg/Include/Guid/SmramMemoryReserve.h b/IntelFrameworkPkg/Include/Guid/SmramMemoryReserve.h
index ca54e69..0fb4ba1 100644
--- a/IntelFrameworkPkg/Include/Guid/SmramMemoryReserve.h
+++ b/IntelFrameworkPkg/Include/Guid/SmramMemoryReserve.h
@@ -53,6 +53,12 @@ typedef struct {
#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.
///
typedef struct {
@@ -66,7 +72,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;