]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkPkg/Include/Ppi/SectionExtraction.h
Grammatical and disclaimer changes (does not follow internal C coding stds.)
[mirror_edk2.git] / IntelFrameworkPkg / Include / Ppi / SectionExtraction.h
index e2885b42e57e2b9f3794554f2d2eb534c48b1051..a61432eec335724c4dcb339aafc4b5add8a0bd82 100644 (file)
@@ -1,17 +1,17 @@
 /** @file\r
-  This file declares Section Extraction PPI.\r
+  This file declares the Section Extraction PPI.\r
 \r
   This PPI is defined in PEI CIS version 0.91. It supports encapsulating sections,\r
   such as GUIDed sections used to authenticate the file encapsulation of other domain-specific wrapping.\r
 \r
-  Copyright (c) 2006-2009, Intel Corporation\r
-  All rights reserved. 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
-  http://opensource.org/licenses/bsd-license.php\r
-\r
-  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+Copyright (c) 2006 - 2010, Intel Corporation.  All rights reserved<BR>\r
+This program and the accompanying materials are licensed and made available under \r
+the terms and conditions of the BSD License that accompanies this distribution.  \r
+The full text of the license may be found at\r
+http://opensource.org/licenses/bsd-license.php.                                          \r
+    \r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
 **/\r
 \r
@@ -38,38 +38,46 @@ typedef struct _EFI_PEI_SECTION_EXTRACTION_PPI EFI_PEI_SECTION_EXTRACTION_PPI;
   It will retrieve both encapsulation sections and leaf sections in their entirety,\r
   exclusive of the section header.\r
 \r
-  @param PeiServices            Pointer to the PEI Services Table.\r
+  @param PeiServices            The pointer to the PEI Services Table.\r
   @param This                   Indicates the calling context\r
-  @param SectionType            Pointer to an EFI_SECTION_TYPE. If SectionType == NULL,\r
-                                the contents of the entire section are returned in Buffer. If SectionType\r
+  @param SectionType            The pointer to an EFI_SECTION_TYPE. If \r
+                                SectionType == NULL, the contents of the entire \r
+                                section are returned in Buffer. If SectionType\r
                                 is not NULL, only the requested section is returned.\r
-  @param SectionDefinitionGuid  Pointer to an EFI_GUID.\r
-                                If SectionType == EFI_SECTION_GUID_DEFINED, SectionDefinitionGuid\r
-                                indicates for which section GUID to search.\r
-                                If SectionType != EFI_SECTION_GUID_DEFINED, SectionDefinitionGuid\r
-                                is unused and is ignored.\r
+  @param SectionDefinitionGuid  The pointer to an EFI_GUID.\r
+                                If SectionType == EFI_SECTION_GUID_DEFINED, \r
+                                SectionDefinitionGuid indicates for which section \r
+                                GUID to search.  If SectionType != EFI_SECTION_GUID_DEFINED, \r
+                                SectionDefinitionGuid is unused and is ignored.\r
   @param SectionInstance        If SectionType is not NULL, indicates which\r
                                 instance of the requested section type to return.\r
-  @param Buffer                 Pointer to a pointer to a buffer in which the section\r
-                                contents are returned.\r
-  @param BufferSize             A pointer to a caller-allocated UINT32. On input, *BufferSize\r
-                                indicates the size in bytes of the memory region pointed to by Buffer. On output,\r
-                                *BufferSize contains the number of bytes required to read the section.\r
+  @param Buffer                 The pointer to a pointer to a buffer in which the \r
+                                section contents are returned.\r
+  @param BufferSize             A pointer to a caller-allocated UINT32. On input, \r
+                                *BufferSize indicates the size in bytes of the \r
+                                memory region pointed to by Buffer. On output,\r
+                                *BufferSize contains the number of bytes required \r
+                                to read the section.\r
   @param AuthenticationStatus   A pointer to a caller-allocated UINT32 in\r
-                                which any metadata from encapsulating GUID-defined sections is returned.\r
+                                which any metadata from encapsulating GUID-defined \r
+                                sections is returned.\r
 \r
-  @retval EFI_SUCCESS           The section was successfully processed and the section\r
+  @retval EFI_SUCCESS           The section was successfully processed, and the section\r
                                 contents were returned in Buffer.\r
   @retval EFI_PROTOCOL_ERROR    A GUID-defined section was encountered in\r
-                                the file with its EFI_GUIDED_SECTION_PROCESSING_REQUIRED bit set, but\r
-                                there was no corresponding GUIDed Section Extraction Protocol in the\r
-                                handle database. *Buffer is unmodified.\r
-  @retval EFI_NOT_FOUND         The requested section does not exist.*Buffer is unmodified.\r
-  @retval EFI_OUT_OF_RESOURCES  The system has insufficient resources to process the request.\r
+                                the file with its EFI_GUIDED_SECTION_PROCESSING_REQUIRED \r
+                                bit set, but there was no corresponding GUIDed \r
+                                Section Extraction Protocol in the handle database. \r
+                                *Buffer is unmodified.\r
+  @retval EFI_NOT_FOUND         The requested section does not exist.*Buffer is \r
+                                unmodified.\r
+  @retval EFI_OUT_OF_RESOURCES  The system has insufficient resources to process \r
+                                the request.\r
   @retval EFI_INVALID_PARAMETER The SectionStreamHandle does not exist.\r
   @retval EFI_WARN_TOO_SMALL    The size of the input buffer is insufficient to\r
-                                contain the requested section. The input buffer is filled and contents are\r
-                                section contents are truncated.\r
+                                contain the requested section. The input buffer \r
+                                is filled and contents are section contents are \r
+                                truncated.\r
 \r
 **/\r
 typedef\r