From a5baf84537b4c3e9e4d790848e81b5d0c1422624 Mon Sep 17 00:00:00 2001 From: xli24 Date: Fri, 10 Jul 2009 03:28:16 +0000 Subject: [PATCH] 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 --- IntelFrameworkPkg/Include/Guid/SmramMemoryReserve.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/IntelFrameworkPkg/Include/Guid/SmramMemoryReserve.h b/IntelFrameworkPkg/Include/Guid/SmramMemoryReserve.h index ca54e69cc4..0fb4ba12e2 100644 --- a/IntelFrameworkPkg/Include/Guid/SmramMemoryReserve.h +++ b/IntelFrameworkPkg/Include/Guid/SmramMemoryReserve.h @@ -52,6 +52,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 +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; -- 2.39.2