]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Core/Dxe/FwVol/Ffs.c
Code Scrub for Dxe Core.
[mirror_edk2.git] / MdeModulePkg / Core / Dxe / FwVol / Ffs.c
index 00d07567f79e6518d39593d89402af9c7bbbe06d..1375e6bf7db5aa2360859903f6f4584d286f3ff8 100644 (file)
@@ -19,8 +19,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 /**\r
   Get the FFS file state by checking the highest bit set in the header's state field.\r
 \r
-  @param  ErasePolarity  Erase polarity attribute of the firmware volume \r
-  @param  FfsHeader      Points to the FFS file header \r
+  @param  ErasePolarity  Erase polarity attribute of the firmware volume\r
+  @param  FfsHeader      Points to the FFS file header\r
 \r
   @return FFS File state\r
 \r
@@ -53,11 +53,11 @@ GetFileState (
 /**\r
   Check if a block of buffer is erased.\r
 \r
-  @param  ErasePolarity  Erase polarity attribute of the firmware volume \r
-  @param  InBuffer       The buffer to be checked \r
-  @param  BufferSize     Size of the buffer in bytes \r
+  @param  ErasePolarity  Erase polarity attribute of the firmware volume\r
+  @param  InBuffer       The buffer to be checked\r
+  @param  BufferSize     Size of the buffer in bytes\r
 \r
-  @retval TRUE           The block of buffer is erased \r
+  @retval TRUE           The block of buffer is erased\r
   @retval FALSE          The block of buffer is not erased\r
 \r
 **/\r
@@ -93,9 +93,9 @@ IsBufferErased (
 /**\r
   Verify checksum of the firmware volume header.\r
 \r
-  @param  FvHeader       Points to the firmware volume header to be checked \r
+  @param  FvHeader       Points to the firmware volume header to be checked\r
 \r
-  @retval TRUE           Checksum verification passed \r
+  @retval TRUE           Checksum verification passed\r
   @retval FALSE          Checksum verification failed\r
 \r
 **/\r
@@ -128,9 +128,9 @@ VerifyFvHeaderChecksum (
 /**\r
   Verify checksum of the FFS file header.\r
 \r
-  @param  FfsHeader      Points to the FFS file header to be checked \r
+  @param  FfsHeader      Points to the FFS file header to be checked\r
 \r
-  @retval TRUE           Checksum verification passed \r
+  @retval TRUE           Checksum verification passed\r
   @retval FALSE          Checksum verification failed\r
 \r
 **/\r
@@ -163,11 +163,11 @@ VerifyHeaderChecksum (
 /**\r
   Check if it's a valid FFS file header.\r
 \r
-  @param  ErasePolarity  Erase polarity attribute of the firmware volume \r
-  @param  FfsHeader      Points to the FFS file header to be checked \r
-  @param  FileState      FFS file state to be returned \r
+  @param  ErasePolarity  Erase polarity attribute of the firmware volume\r
+  @param  FfsHeader      Points to the FFS file header to be checked\r
+  @param  FileState      FFS file state to be returned\r
 \r
-  @retval TRUE           Valid FFS file header \r
+  @retval TRUE           Valid FFS file header\r
   @retval FALSE          Invalid FFS file header\r
 \r
 **/\r
@@ -189,7 +189,7 @@ IsValidFfsHeader (
     // Here we need to verify header checksum\r
     //\r
     return VerifyHeaderChecksum (FfsHeader);\r
-  \r
+\r
   case EFI_FILE_HEADER_CONSTRUCTION:\r
   case EFI_FILE_HEADER_INVALID:\r
   default:\r
@@ -202,10 +202,10 @@ IsValidFfsHeader (
   Check if it's a valid FFS file.\r
   Here we are sure that it has a valid FFS file header since we must call IsValidFfsHeader() first.\r
 \r
-  @param  ErasePolarity  Erase polarity attribute of the firmware volume \r
-  @param  FfsHeader      Points to the FFS file to be checked \r
+  @param  ErasePolarity  Erase polarity attribute of the firmware volume\r
+  @param  FfsHeader      Points to the FFS file to be checked\r
 \r
-  @retval TRUE           Valid FFS file \r
+  @retval TRUE           Valid FFS file\r
   @retval FALSE          Invalid FFS file\r
 \r
 **/\r