]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Ppi/GuidedSectionExtraction.h
Removed tabs and fixed some minor coding style issues. Also fixed typo in EFI_PEI_ENT...
[mirror_edk2.git] / MdePkg / Include / Ppi / GuidedSectionExtraction.h
index bf1716e4eb0198d112b5b77d6e438119ad74187a..796f8cede99332e9142c954cccd34d4a5b77aabe 100644 (file)
@@ -1,8 +1,8 @@
 /* @file\r
   If a GUID-defined section is encountered when doing section extraction, \r
-       the PEI Foundation or the EFI_PEI_FILE_LOADER_PPI instance \r
-       calls the appropriate instance of the GUIDed Section Extraction PPI \r
-       to extract the section stream contained therein.. \r
+  the PEI Foundation or the EFI_PEI_FILE_LOADER_PPI instance \r
+  calls the appropriate instance of the GUIDed Section Extraction PPI \r
+  to extract the section stream contained therein.. \r
 \r
   Copyright (c) 2006 - 2007, Intel Corporation                                                         \r
   All rights reserved. This program and the accompanying materials                          \r
 //\r
 \r
 \r
-typedef struct _EFI_PEI_GUIDED_SECTION_EXTRACTION_PPI  EFI_PEI_GUIDED_SECTION_EXTRACTION_PPI;\r
+typedef struct _EFI_PEI_GUIDED_SECTION_EXTRACTION_PPI   EFI_PEI_GUIDED_SECTION_EXTRACTION_PPI;\r
 \r
 //\r
 // Bit values for AuthenticationStatus\r
 //\r
-#define EFI_AUTH_STATUS_PLATFORM_OVERRIDE      0x01\r
-#define EFI_AUTH_STATUS_IMAGE_SIGNED                           0x02\r
-#define EFI_AUTH_STATUS_NOT_TESTED                                     0x04\r
-#define EFI_AUTH_STATUS_TEST_FAILED                            0x08\r
+#define EFI_AUTH_STATUS_PLATFORM_OVERRIDE   0x01\r
+#define EFI_AUTH_STATUS_IMAGE_SIGNED        0x02\r
+#define EFI_AUTH_STATUS_NOT_TESTED          0x04\r
+#define EFI_AUTH_STATUS_TEST_FAILED         0x08\r
 \r
 /**\r
   The ExtractSection() function processes the input section and\r
-       returns a pointer to the section contents. If the section being\r
+  returns a pointer to the section contents. If the section being\r
   extracted does not require processing (if the section\r
-       GuidedSectionHeader.Attributes has the\r
-       EFI_GUIDED_SECTION_PROCESSING_REQUIRED field cleared), then\r
-       OutputBuffer is just updated to point to the start of the\r
+  GuidedSectionHeader.Attributes has the\r
+  EFI_GUIDED_SECTION_PROCESSING_REQUIRED field cleared), then\r
+  OutputBuffer is just updated to point to the start of the\r
   section's contents. Otherwise, *Buffer must be allocated\r
   from PEI permanent memory.\r
 \r
-  @param This                                                                  Indicates the\r
-                                                                                                                               EFI_PEI_GUIDED_SECTION_EXTRACTION_PPI instance.\r
-                                                                                                                               Buffer containing the input GUIDed section to be\r
-                                                                                                                               processed. OutputBuffer OutputBuffer is\r
-                                                                                                                               allocated from PEI permanent memory and contains\r
-                                                                                                                               the new section stream.\r
+  @param This                   Indicates the\r
+                                EFI_PEI_GUIDED_SECTION_EXTRACTION_PPI instance.\r
+                                Buffer containing the input GUIDed section to be\r
+                                processed. OutputBuffer OutputBuffer is\r
+                                allocated from PEI permanent memory and contains\r
+                                the new section stream.\r
   \r
-  @param OutputSize                                            A pointer to a caller-allocated\r
-                                                                                                                               UINTN in which the size of *OutputBuffer\r
-                                                                                                                               allocation is stored. If the function\r
-                                                                                                                               returns anything other than EFI_SUCCESS,\r
-                                                                                                                               the value of OutputSize is undefined.\r
+  @param OutputSize             A pointer to a caller-allocated\r
+                                UINTN in which the size of *OutputBuffer\r
+                                allocation is stored. If the function\r
+                                returns anything other than EFI_SUCCESS,\r
+                                the value of OutputSize is undefined.\r
   \r
-  @param AuthenticationStatus  A pointer to a caller-allocated\r
+  @param AuthenticationStatus   A pointer to a caller-allocated\r
                                 UINT32 that indicates the\r
                                 authentication status of the\r
                                 output buffer. If the input\r
@@ -87,11 +87,11 @@ typedef struct _EFI_PEI_GUIDED_SECTION_EXTRACTION_PPI       EFI_PEI_GUIDED_SECTION_EX
                                 AuthenticationStatus is\r
                                 undefined.\r
   \r
-  @retval EFI_SUCCESS                                  The InputSection was\r
+  @retval EFI_SUCCESS           The InputSection was\r
                                 successfully processed and the\r
                                 section contents were returned.\r
   \r
-  @retval EFI_OUT_OF_RESOURCES         The system has insufficient\r
+  @retval EFI_OUT_OF_RESOURCES  The system has insufficient\r
                                 resources to process the request.\r
   \r
   @reteval EFI_INVALID_PARAMETER The GUID in InputSection does\r
@@ -101,11 +101,11 @@ typedef struct _EFI_PEI_GUIDED_SECTION_EXTRACTION_PPI     EFI_PEI_GUIDED_SECTION_EX
 typedef\r
 EFI_STATUS\r
 (EFIAPI *EFI_PEI_EXTRACT_GUIDED_SECTION)(\r
-       IN CONST        EFI_PEI_GUIDED_SECTION_EXTRACTION_PPI *This,\r
-       IN CONST        VOID                                                                                                                                    *InputSection,\r
-       OUT                     VOID                                                                                                                                    **OutputBuffer,\r
-       OUT                     UINTN                                                                                                                           *OutputSize,\r
-       OUT                     UINT32                                                                                                                          *AuthenticationStatus\r
+  IN CONST  EFI_PEI_GUIDED_SECTION_EXTRACTION_PPI *This,\r
+  IN CONST  VOID                                  *InputSection,\r
+  OUT       VOID                                  **OutputBuffer,\r
+  OUT       UINTN                                 *OutputSize,\r
+  OUT       UINT32                                *AuthenticationStatus\r
 );\r
 \r
 \r
@@ -118,14 +118,14 @@ EFI_STATUS
   therein.\r
   \r
   \r
-  @param ExtractSection        Takes the GUIDed section as input and\r
+  @param ExtractSection   Takes the GUIDed section as input and\r
                           produces the section stream data. See\r
                           the ExtractSection() function\r
                           description.\r
   \r
 **/\r
 struct _EFI_PEI_GUIDED_SECTION_EXTRACTION_PPI {\r
-       EFI_PEI_EXTRACT_GUIDED_SECTION ExtractSection;\r
+  EFI_PEI_EXTRACT_GUIDED_SECTION ExtractSection;\r
 };\r
 \r
 \r