]> git.proxmox.com Git - mirror_edk2.git/commitdiff
IntelFrameworkModulePkg: Fix typo.
authorShumin Qiu <shumin.qiu@intel.com>
Fri, 13 Mar 2015 08:05:02 +0000 (08:05 +0000)
committershenshushi <shenshushi@Edk2>
Fri, 13 Mar 2015 08:05:02 +0000 (08:05 +0000)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Shumin Qiu <shumin.qiu@intel.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17044 6f19259b-4bc3-4df7-8a09-765794883524

IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.c
IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/FwVolDriver.h
IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/FwVolWrite.c

index 6b0152994752b326fd35d406361abbcd77f5b2cb..2e527234e2a8ae3e055d14f9b320468ea2965573 100644 (file)
@@ -2,7 +2,7 @@
   UEFI and Tiano Custom Decompress Library \r
   It will do Tiano or UEFI decompress with different verison parameter.\r
   \r
-Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>\r
 This program and the accompanying materials                          \r
 are licensed and made available under the terms and conditions of the BSD License         \r
 which accompanies this distribution.  The full text of the license may be found at        \r
@@ -59,7 +59,7 @@ FillBuf (
   }\r
 \r
   //\r
-  // Caculate additional bit count read to update mBitCount\r
+  // Calculate additional bit count read to update mBitCount\r
   //\r
   Sd->mBitCount = (UINT16) (Sd->mBitCount - NumOfBits);\r
   \r
@@ -784,7 +784,7 @@ UefiTianoDecompress (
   Sd->mSrcBase  = (UINT8 *)Src;\r
   Sd->mDstBase  = Dst;\r
   //\r
-  // CompSize and OrigSize are caculated in bytes\r
+  // CompSize and OrigSize are calculated in bytes\r
   //\r
   Sd->mCompSize = CompSize;\r
   Sd->mOrigSize = OrigSize;\r
index 3f637c16eab54758cfd3a4c5bcf720a797aebd01..b1646dd39edfe0ed751a56b74b0905c2e8e73823 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Common defines and definitions for a FwVolDxe driver.\r
 \r
-  Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>\r
 \r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions\r
@@ -52,7 +52,7 @@
 #define MAX_FILES 32\r
 \r
 //\r
-// Used to caculate from address -> Lba\r
+// Used to calculate from address -> Lba\r
 //\r
 typedef struct {\r
   LIST_ENTRY      Link;\r
@@ -616,9 +616,9 @@ FvCreateMultipleFiles (
   );\r
 \r
 /**\r
-  Caculate the checksum for the FFS header.\r
+  Calculate the checksum for the FFS header.\r
 \r
-  @param FfsHeader   FFS File Header which needs to caculate the checksum\r
+  @param FfsHeader   FFS File Header which needs to calculate the checksum\r
 \r
 **/\r
 VOID\r
@@ -627,9 +627,9 @@ SetHeaderChecksum (
   );\r
 \r
 /**\r
-  Caculate the checksum for the FFS File.\r
+  Calculate the checksum for the FFS File.\r
 \r
-  @param FfsHeader       FFS File Header which needs to caculate the checksum\r
+  @param FfsHeader       FFS File Header which needs to calculate the checksum\r
   @param ActualFileSize  The whole Ffs File Length.\r
 \r
 **/\r
index ac3cf0abd883dc050f40765602b26d251e87178d..7f23b51d8337a3e70e7c71bfd8a74e75804eebda 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Implements write firmware file.\r
 \r
-  Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>\r
 \r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions\r
@@ -17,9 +17,9 @@
 #include "FwVolDriver.h"\r
 \r
 /**\r
-  Caculate the checksum for the FFS header.\r
+  Calculate the checksum for the FFS header.\r
 \r
-  @param FfsHeader   FFS File Header which needs to caculate the checksum\r
+  @param FfsHeader   FFS File Header which needs to calculate the checksum\r
 \r
 **/\r
 VOID\r
@@ -60,9 +60,9 @@ SetHeaderChecksum (
 }\r
 \r
 /**\r
-  Caculate the checksum for the FFS File.\r
+  Calculate the checksum for the FFS File.\r
 \r
-  @param FfsHeader       FFS File Header which needs to caculate the checksum\r
+  @param FfsHeader       FFS File Header which needs to calculate the checksum\r
   @param ActualFileSize  The whole Ffs File Length.\r
 \r
 **/\r
@@ -130,7 +130,7 @@ GetRequiredAlignment (
 }\r
 \r
 /**\r
-  Caculate the leading Pad file size to meet the alignment requirement.\r
+  Calculate the leading Pad file size to meet the alignment requirement.\r
 \r
   @param FvDevice          Cached Firmware Volume.\r
   @param StartAddress      The starting address to write the FFS File.\r
@@ -141,7 +141,7 @@ GetRequiredAlignment (
 \r
 **/\r
 UINTN\r
-CaculatePadFileSize (\r
+CalculatePadFileSize (\r
   IN FV_DEVICE            *FvDevice,\r
   IN EFI_PHYSICAL_ADDRESS StartAddress,\r
   IN UINTN                BufferSize,\r
@@ -330,7 +330,7 @@ FvLocateFreeSpaceEntry (
   // required the file size\r
   //\r
   while ((LIST_ENTRY *) FreeSpaceListEntry != &FvDevice->FreeSpaceHeader) {\r
-    PadFileSize = CaculatePadFileSize (\r
+    PadFileSize = CalculatePadFileSize (\r
                     FvDevice,\r
                     (EFI_PHYSICAL_ADDRESS) (UINTN) FreeSpaceListEntry->StartingAddress,\r
                     Size,\r
@@ -400,7 +400,7 @@ FvLocatePadFile (
         PadAreaLength = FFS_FILE_SIZE (FileHeader) - HeaderSize;\r
       }\r
 \r
-      PadFileSize = CaculatePadFileSize (\r
+      PadFileSize = CalculatePadFileSize (\r
                       FvDevice,\r
                       (EFI_PHYSICAL_ADDRESS) (UINTN) FileHeader + HeaderSize,\r
                       Size,\r
@@ -477,7 +477,7 @@ FvSearchSuitablePadFile (
       TotalSize     = 0;\r
 \r
       for (Index = 0; Index < NumOfFiles; Index++) {\r
-        PadSize[Index] = CaculatePadFileSize (\r
+        PadSize[Index] = CalculatePadFileSize (\r
                       FvDevice,\r
                       (EFI_PHYSICAL_ADDRESS) (UINTN) FileHeader + HeaderSize + TotalSize,\r
                       BufferSize[Index],\r
@@ -546,14 +546,14 @@ FvSearchSuitableFreeSpace (
     StartAddr = FreeSpaceListEntry->StartingAddress;\r
 \r
     //\r
-    // Caculate the totalsize we need\r
+    // Calculate the totalsize we need\r
     //\r
     for (Index = 0; Index < NumOfFiles; Index++) {\r
       //\r
       // Perhaps we don't need an EFI_FFS_FILE_HEADER, the first file\r
       // have had its leading pad file.\r
       //\r
-      PadSize[Index] = CaculatePadFileSize (\r
+      PadSize[Index] = CalculatePadFileSize (\r
                     FvDevice,\r
                     (EFI_PHYSICAL_ADDRESS) (UINTN) StartAddr + TotalSize,\r
                     BufferSize[Index],\r
@@ -956,7 +956,7 @@ FvCreateNewFile (
   FreeSpaceEntry->Length -= (BufferSize - HeaderSize);\r
 \r
   //\r
-  // Caculate File Checksum\r
+  // Calculate File Checksum\r
   //\r
   SetFileChecksum (FileHeader, ActualFileSize);\r
 \r