Deleted unneeded file
authorAJFISH <AJFISH@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 3 Jul 2007 18:45:51 +0000 (18:45 +0000)
committerAJFISH <AJFISH@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 3 Jul 2007 18:45:51 +0000 (18:45 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3020 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Include/Protocol/SectionExtraction.h [deleted file]

diff --git a/MdePkg/Include/Protocol/SectionExtraction.h b/MdePkg/Include/Protocol/SectionExtraction.h
deleted file mode 100644 (file)
index 2210887..0000000
+++ /dev/null
@@ -1,142 +0,0 @@
-/** @file\r
-  This file declares Section Extraction protocol.\r
-\r
-  The section extraction protocol is referenced in the PI 1.0 specification, but\r
-  not defined. It will likely be added in an eratta update.\r
-\r
-  Copyright (c) 2006, Intel Corporation                                                         \r
-  All rights reserved. This program and the 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
-\r
-**/\r
-\r
-#ifndef __SECTION_EXTRACTION_PROTOCOL_H__\r
-#define __SECTION_EXTRACTION_PROTOCOL_H__\r
-\r
-\r
-\r
-typedef struct _EFI_SECTION_EXTRACTION_PROTOCOL EFI_SECTION_EXTRACTION_PROTOCOL;\r
-\r
-//\r
-// Protocol member functions\r
-//\r
-/**\r
-  Creates and returns a new section stream handle to represent the new section stream.\r
-\r
-  @param  This                  Indicates the EFI_SECTION_EXTRACTION_PROTOCOL instance.\r
-  @param  SectionStreamLength   Size in bytes of the section stream.\r
-  @param  SectionStream         Buffer containing the new section stream.\r
-  @param  SectionStreamHandle   A pointer to a caller-allocated UINTN that,\r
-                                on output, contains the new section stream handle.\r
-\r
-  @retval EFI_SUCCESS           The SectionStream was successfully processed and\r
-                                the section stream handle was returned.\r
-  @retval EFI_OUT_OF_RESOURCES  The system has insufficient resources to\r
-                                process the request.\r
-  @retval EFI_INVALID_PARAMETER The section stream may be corrupt or the value\r
-                                of SectionStreamLength may be incorrect.\r
-\r
-**/\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *EFI_OPEN_SECTION_STREAM) (\r
-  IN  EFI_SECTION_EXTRACTION_PROTOCOL                   *This,\r
-  IN  UINTN                                             SectionStreamLength,\r
-  IN  VOID                                              *SectionStream,\r
-  OUT UINTN                                             *SectionStreamHandle\r
-  );\r
-\r
-/**\r
-  Reads and returns a single section from a section stream.\r
-\r
-  @param  This                  Indicates the EFI_SECTION_EXTRACTION_PROTOCOL instance.\r
-  @param  SectionStreamHandle   Indicates from which section stream to read.\r
-  @param  SectionType           Pointer to an EFI_SECTION_TYPE.\r
-  @param  SectionDefinitionGuid Pointer to an EFI_GUID.If SectionType ==\r
-                                EFI_SECTION_GUID_DEFINED, SectionDefinitionGuid indicates what section GUID\r
-                                to search for.If SectionType !=EFI_SECTION_GUID_DEFINED, then\r
-                                SectionDefinitionGuid is unused and is ignored.\r
-  @param  SectionInstance       Indicates which instance of the requested section\r
-                                type to return when SectionType is not NULL.\r
-  @param  SectionStreamHandle   A pointer to a caller-allocated UINTN that, on output,\r
-                                contains the new section stream handle.\r
-  @param  Buffer                Pointer to a pointer to a buffer in which the section\r
-                                contents are returned.\r
-  @param  BufferSize            Pointer to a caller-allocated UINTN.\r
-  @param  AuthenticationStatus  Pointer to a caller-allocated UINT32 in\r
-                                which any meta-data from encapsulation GUID-defined sections is returned.\r
-\r
-  @retval EFI_SUCCESS           The SectionStream was successfully processed and\r
-                                the section contents were returned in Buffer.\r
-  @retval EFI_PROTOCOL_ERROR    A GUID-defined section was encountered in\r
-                                the section stream with its EFI_GUIDED_SECTION_PROCESSING_REQUIRED bit set,\r
-                                but there was no corresponding GUIDed Section Extraction Protocol in\r
-                                the handle database.\r
-  @retval EFI_NOT_FOUND         An error was encountered when parsing the SectionStream,\r
-                                which indicates that the SectionStream is not correctly formatted.\r
-                                Or The requested section does not exist.\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_BUFFER_TOO_SMALL  The size of the input buffer is insufficient to\r
-                                contain the requested section.\r
-\r
-**/\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *EFI_GET_SECTION) (\r
-  IN EFI_SECTION_EXTRACTION_PROTOCOL                    *This,\r
-  IN UINTN                                              SectionStreamHandle,\r
-  IN EFI_SECTION_TYPE                                   *SectionType,\r
-  IN EFI_GUID                                           *SectionDefinitionGuid,\r
-  IN UINTN                                              SectionInstance,\r
-  IN VOID                                               **Buffer,\r
-  IN OUT UINTN                                          *BufferSize,\r
-  OUT UINT32                                            *AuthenticationStatus\r
-  );\r
-\r
-/**\r
-  Deletes a section stream handle and returns all associated resources to the system.\r
-\r
-  @param  This                  Indicates the EFI_SECTION_EXTRACTION_PROTOCOL instance.\r
-  @param  SectionStreamHandle   Indicates the section stream to close.\r
-  @retval EFI_SUCCESS           The SectionStream was successfully processed and\r
-                                the section stream handle was returned.\r
-  @retval EFI_INVALID_PARAMETER The SectionStreamHandle does not exist.\r
-\r
-**/\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *EFI_CLOSE_SECTION_STREAM) (\r
-  IN EFI_SECTION_EXTRACTION_PROTOCOL                    *This,\r
-  IN UINTN                                              SectionStreamHandle\r
-  );\r
-\r
-/**\r
-  @par Protocol Description:\r
-  The Section Extraction Protocol provides a simple method of extracting \r
-  sections from arbitrarily complex files.\r
-\r
-  @param OpenSectionStream\r
-  Takes a bounded stream of sections and returns a section stream handle. \r
-\r
-  @param GetSection\r
-  Given a section stream handle, retrieves the requested section and \r
-  meta-data from the section stream. \r
-\r
-  @param CloseSectionStream\r
-  Given a section stream handle, closes the section stream.\r
-\r
-**/\r
-struct _EFI_SECTION_EXTRACTION_PROTOCOL {\r
-  EFI_OPEN_SECTION_STREAM   OpenSectionStream;\r
-  EFI_GET_SECTION           GetSection;\r
-  EFI_CLOSE_SECTION_STREAM  CloseSectionStream;\r
-};\r
-\r
-#endif\r