mirror of https://github.com/acidanthera/audk.git
BaseTools: Fix 'caculate' typos
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a.wu@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19604 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
e90a0ee8a4
commit
64957e357b
|
@ -278,7 +278,7 @@ GetBootSectorOffset (
|
|||
Description:
|
||||
Get the offset of boot sector.
|
||||
For non-MBR disk, offset is just 0
|
||||
for disk with MBR, offset needs to be caculated by parsing MBR
|
||||
for disk with MBR, offset needs to be calculated by parsing MBR
|
||||
|
||||
NOTE: if no one is active, we will patch MBR to select first partition as active.
|
||||
|
||||
|
|
|
@ -2787,7 +2787,7 @@ Returns:
|
|||
}
|
||||
|
||||
//
|
||||
// Caculate the required sizes for all FFS files.
|
||||
// Calculate the required sizes for all FFS files.
|
||||
//
|
||||
CurrentOffset = sizeof (EFI_FIRMWARE_VOLUME_HEADER);
|
||||
|
||||
|
@ -2904,7 +2904,7 @@ Returns:
|
|||
}
|
||||
}
|
||||
CurrentOffset += VtfFileSize;
|
||||
DebugMsg (NULL, 0, 9, "FvImage size", "The caculated fv image size is 0x%x and the current set fv image size is 0x%x", (unsigned) CurrentOffset, (unsigned) FvInfoPtr->Size);
|
||||
DebugMsg (NULL, 0, 9, "FvImage size", "The calculated fv image size is 0x%x and the current set fv image size is 0x%x", (unsigned) CurrentOffset, (unsigned) FvInfoPtr->Size);
|
||||
|
||||
if (FvInfoPtr->Size == 0) {
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue