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
This commit is contained in:
xli24 2009-07-10 03:28:16 +00:00
parent 24cdd14e81
commit a5baf84537
1 changed files with 7 additions and 1 deletions

View File

@ -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;