]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Change naming of bit value definitions of AuthenticationStatus for Section Extraction...
authorrsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 3 Jul 2009 02:42:12 +0000 (02:42 +0000)
committerrsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 3 Jul 2009 02:42:12 +0000 (02:42 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8731 6f19259b-4bc3-4df7-8a09-765794883524

IntelFrameworkPkg/Include/Ppi/SectionExtraction.h

index 6ba75b7fc1fafd29f6f0ba1581728f61732338fc..e5daf149c10cde7eec6ec3e1bd1e6a9ed3dfff1c 100644 (file)
@@ -1,9 +1,10 @@
 /** @file\r
   This file declares Section Extraction PPI.\r
-  This PPI supports encapsulating sections, such as GUIDed sections used to authenticate the file\r
-  encapsulation of other domain-specific wrapping.\r
 \r
-  Copyright (c) 2006, Intel Corporation\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
   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
-  Module Name:  SectionExtraction.h\r
-\r
-  @par Revision Reference:\r
-  This PPI is defined in PEI CIS.\r
-  Version 0.91.\r
-\r
 **/\r
 \r
-#ifndef __SECTION_EXTRACTION_PPI_H__\r
-#define __SECTION_EXTRACTION_PPI_H__\r
+#ifndef __SECTION_EXTRACTION_H__\r
+#define __SECTION_EXTRACTION_H__\r
 \r
 #include <PiPei.h>\r
 \r
@@ -35,37 +30,35 @@ typedef struct _EFI_PEI_SECTION_EXTRACTION_PPI EFI_PEI_SECTION_EXTRACTION_PPI;
 //\r
 // Bit values for AuthenticationStatus\r
 //\r
-#define EFI_PEI_AUTH_STATUS_PLATFORM_OVERRIDE 0x01\r
-#define EFI_PEI_AUTH_STATUS_IMAGE_SIGNED      0x02\r
-#define EFI_PEI_AUTH_STATUS_NOT_TESTED        0x04\r
-#define EFI_PEI_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 function is used to retrieve a section from within a section file.\r
   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  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
-                         is not NULL, only the requested section is returned.\r
-  @param  SectionDefinitionGuid\r
-                         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  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  AuthenticationStatus\r
-                         A pointer to a caller-allocated UINT32 in\r
-                         which any metadata from encapsulating GUID-defined sections is returned.\r
+  @param PeiServices            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
+                                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 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 AuthenticationStatus   A pointer to a caller-allocated UINT32 in\r
+                                which any metadata from encapsulating GUID-defined sections is returned.\r
 \r
   @retval EFI_SUCCESS           The section was successfully processed and the section\r
                                 contents were returned in Buffer.\r
@@ -105,3 +98,4 @@ struct _EFI_PEI_SECTION_EXTRACTION_PPI {
 extern EFI_GUID gEfiPeiSectionExtractionPpiGuid;\r
 \r
 #endif\r
+\r