2010-01-30 21:44:32 +01:00
|
|
|
/** @file
|
|
|
|
|
2010-04-29 14:40:51 +02:00
|
|
|
Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
|
2010-01-30 21:44:32 +01:00
|
|
|
|
2010-04-29 14:40:51 +02:00
|
|
|
This program and the accompanying materials
|
2010-01-30 21:44:32 +01:00
|
|
|
are licensed and made available under the terms and conditions of the BSD License
|
|
|
|
which accompanies this distribution. The full text of the license may be found at
|
|
|
|
http://opensource.org/licenses/bsd-license.php
|
|
|
|
|
|
|
|
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
|
|
|
|
|
**/
|
|
|
|
|
|
|
|
#ifndef __EXTRACT_SECTION_GUID_H__
|
|
|
|
#define __EXTRACT_SECTION_GUID_H__
|
|
|
|
|
|
|
|
#include <Library/ExtractGuidedSectionLib.h>
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
// The GUID for this protocol mathes the Decompression scheme being used
|
|
|
|
// So for example LZMA would be gLzmaCustomDecompressGuid
|
|
|
|
//
|
|
|
|
typedef struct {
|
|
|
|
EXTRACT_GUIDED_SECTION_GET_INFO_HANDLER SectionGetInfo;
|
|
|
|
EXTRACT_GUIDED_SECTION_DECODE_HANDLER SectionExtraction;
|
2010-01-31 02:39:20 +01:00
|
|
|
} EXTRACT_SECTION_DATA;
|
|
|
|
|
|
|
|
typedef struct {
|
2014-08-19 15:29:52 +02:00
|
|
|
EFI_HOB_GUID_TYPE Hob;
|
2010-01-31 02:39:20 +01:00
|
|
|
EXTRACT_SECTION_DATA Data;
|
2010-01-30 21:44:32 +01:00
|
|
|
} EXTRACT_SECTION_HOB;
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|