]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/GuidedSectionExtraction.c
IntelFrameworkModulePkg: Clean up source files
[mirror_edk2.git] / IntelFrameworkModulePkg / Library / LzmaCustomDecompressLib / GuidedSectionExtraction.c
index 7ef9fbbfc6bf9b3fac7238f6b20a723733c48bff..c15fa8bc0fe22cfeceea0c99cae90be0672c571b 100644 (file)
@@ -3,7 +3,7 @@
   It wraps Lzma decompress interfaces to GUIDed Section Extraction interfaces\r
   and registers them into GUIDed handler table.\r
 \r
-  Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2009 - 2018, 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
   Examines a GUIDed section and returns the size of the decoded buffer and the\r
   size of an scratch buffer required to actually decode the data in a GUIDed section.\r
 \r
-  Examines a GUIDed section specified by InputSection.  \r
+  Examines a GUIDed section specified by InputSection.\r
   If GUID for InputSection does not match the GUID that this handler supports,\r
-  then RETURN_UNSUPPORTED is returned.  \r
+  then RETURN_UNSUPPORTED is returned.\r
   If the required information can not be retrieved from InputSection,\r
   then RETURN_INVALID_PARAMETER is returned.\r
   If the GUID of InputSection does match the GUID that this handler supports,\r
   then the size required to hold the decoded buffer is returned in OututBufferSize,\r
   the size of an optional scratch buffer is returned in ScratchSize, and the Attributes field\r
   from EFI_GUID_DEFINED_SECTION header of InputSection is returned in SectionAttribute.\r
-  \r
+\r
   If InputSection is NULL, then ASSERT().\r
   If OutputBufferSize is NULL, then ASSERT().\r
   If ScratchBufferSize is NULL, then ASSERT().\r
@@ -98,16 +98,16 @@ LzmaGuidedSectionGetInfo (
 \r
 /**\r
   Decompress a LZAM compressed GUIDed section into a caller allocated output buffer.\r
-  \r
-  Decodes the GUIDed section specified by InputSection.  \r
-  If GUID for InputSection does not match the GUID that this handler supports, then RETURN_UNSUPPORTED is returned.  \r
+\r
+  Decodes the GUIDed section specified by InputSection.\r
+  If GUID for InputSection does not match the GUID that this handler supports, then RETURN_UNSUPPORTED is returned.\r
   If the data in InputSection can not be decoded, then RETURN_INVALID_PARAMETER is returned.\r
   If the GUID of InputSection does match the GUID that this handler supports, then InputSection\r
   is decoded into the buffer specified by OutputBuffer and the authentication status of this\r
   decode operation is returned in AuthenticationStatus.  If the decoded buffer is identical to the\r
   data in InputSection, then OutputBuffer is set to point at the data in InputSection.  Otherwise,\r
   the decoded data will be placed in caller allocated buffer specified by OutputBuffer.\r
-  \r
+\r
   If InputSection is NULL, then ASSERT().\r
   If OutputBuffer is NULL, then ASSERT().\r
   If ScratchBuffer is NULL and this decode operation requires a scratch buffer, then ASSERT().\r
@@ -115,10 +115,10 @@ LzmaGuidedSectionGetInfo (
 \r
 \r
   @param[in]  InputSection  A pointer to a GUIDed section of an FFS formatted file.\r
-  @param[out] OutputBuffer  A pointer to a buffer that contains the result of a decode operation. \r
+  @param[out] OutputBuffer  A pointer to a buffer that contains the result of a decode operation.\r
   @param[out] ScratchBuffer A caller allocated buffer that may be required by this function\r
-                            as a scratch buffer to perform the decode operation. \r
-  @param[out] AuthenticationStatus \r
+                            as a scratch buffer to perform the decode operation.\r
+  @param[out] AuthenticationStatus\r
                             A pointer to the authentication status of the decoded output buffer.\r
                             See the definition of authentication status in the EFI_PEI_GUIDED_SECTION_EXTRACTION_PPI\r
                             section of the PI Specification. EFI_AUTH_STATUS_PLATFORM_OVERRIDE must\r
@@ -197,6 +197,6 @@ LzmaDecompressLibConstructor (
           &gLzmaCustomDecompressGuid,\r
           LzmaGuidedSectionGetInfo,\r
           LzmaGuidedSectionExtraction\r
-          );      \r
+          );\r
 }\r
 \r