According to PI_1_2_Errata_B, EFI_FFS_INTEGRITY_CHECK.Checksum.File should be 8-bit checksum of the file data, not the entire file, correct the comments.

Signed-off-by: lzeng14
Reviewed-by: rsun3


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11672 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
lzeng14 2011-05-17 08:56:03 +00:00
parent 24f7e42cb7
commit bf099261d9
1 changed files with 2 additions and 3 deletions

View File

@ -1,7 +1,7 @@
/** @file /** @file
The firmware file related definitions in PI. The firmware file related definitions in PI.
Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR> Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials are licensed and made available under This program and the accompanying materials are licensed and made available under
the terms and conditions of the BSD License that accompanies this distribution. the terms and conditions of the BSD License that accompanies this distribution.
The full text of the license may be found at The full text of the license may be found at
@ -34,8 +34,7 @@ typedef union {
/// ///
/// If the FFS_ATTRIB_CHECKSUM (see definition below) bit of the Attributes /// If the FFS_ATTRIB_CHECKSUM (see definition below) bit of the Attributes
/// field is set to one, the IntegrityCheck.Checksum.File field is an 8-bit /// field is set to one, the IntegrityCheck.Checksum.File field is an 8-bit
/// checksum of the entire file The State field and the file tail are assumed to be zero /// checksum of the file data.
/// and the checksum is calculated such that the entire file sums to zero.
/// If the FFS_ATTRIB_CHECKSUM bit of the Attributes field is cleared to zero, /// If the FFS_ATTRIB_CHECKSUM bit of the Attributes field is cleared to zero,
/// the IntegrityCheck.Checksum.File field must be initialized with a value of /// the IntegrityCheck.Checksum.File field must be initialized with a value of
/// 0xAA. The IntegrityCheck.Checksum.File field is valid any time the /// 0xAA. The IntegrityCheck.Checksum.File field is valid any time the