From 607a0df601d0dcdc3f03e70ec36f41b164e55f7a Mon Sep 17 00:00:00 2001 From: andrewfish Date: Sat, 30 Jan 2010 20:44:32 +0000 Subject: Adding some new libraries to experiment with size reduction. Trying not to duplicate big code chunks in SEC with stuff compressed in FV. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9881 6f19259b-4bc3-4df7-8a09-765794883524 --- EmbeddedPkg/Include/Guid/._ExtractSection.h | Bin 0 -> 4096 bytes EmbeddedPkg/Include/Guid/ExtractSection.h | 33 ++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100755 EmbeddedPkg/Include/Guid/._ExtractSection.h create mode 100755 EmbeddedPkg/Include/Guid/ExtractSection.h (limited to 'EmbeddedPkg/Include/Guid') diff --git a/EmbeddedPkg/Include/Guid/._ExtractSection.h b/EmbeddedPkg/Include/Guid/._ExtractSection.h new file mode 100755 index 0000000000..951a1f164d Binary files /dev/null and b/EmbeddedPkg/Include/Guid/._ExtractSection.h differ diff --git a/EmbeddedPkg/Include/Guid/ExtractSection.h b/EmbeddedPkg/Include/Guid/ExtractSection.h new file mode 100755 index 0000000000..4dedb60b10 --- /dev/null +++ b/EmbeddedPkg/Include/Guid/ExtractSection.h @@ -0,0 +1,33 @@ +/** @file + + Copyright (c) 2008-2009 Apple Inc. All rights reserved.
+ + All rights reserved. This program and the accompanying materials + 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 + + +// +// The GUID for this protocol mathes the Decompression scheme being used +// So for example LZMA would be gLzmaCustomDecompressGuid +// + +typedef struct { + EFI_HOB_GUID_TYPE Hob; + EXTRACT_GUIDED_SECTION_GET_INFO_HANDLER SectionGetInfo; + EXTRACT_GUIDED_SECTION_DECODE_HANDLER SectionExtraction; +} EXTRACT_SECTION_HOB; + +#endif + -- cgit v1.2.3