]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EmbeddedPkg/Include/Guid/ExtractSection.h
Adding some new libraries to experiment with size reduction. Trying not to duplicate...
[mirror_edk2.git] / EmbeddedPkg / Include / Guid / ExtractSection.h
diff --git a/EmbeddedPkg/Include/Guid/ExtractSection.h b/EmbeddedPkg/Include/Guid/ExtractSection.h
new file mode 100755 (executable)
index 0000000..4dedb60
--- /dev/null
@@ -0,0 +1,33 @@
+/** @file\r
+\r
+  Copyright (c) 2008-2009 Apple Inc. All rights reserved.<BR>\r
+\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
+  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 __EXTRACT_SECTION_GUID_H__\r
+#define __EXTRACT_SECTION_GUID_H__\r
+\r
+#include <Library/ExtractGuidedSectionLib.h>\r
+\r
+\r
+//\r
+// The GUID for this protocol mathes the Decompression scheme being used\r
+// So for example LZMA would be gLzmaCustomDecompressGuid\r
+//\r
+\r
+typedef struct {\r
+  EFI_HOB_GUID_TYPE                         Hob;                             \r
+  EXTRACT_GUIDED_SECTION_GET_INFO_HANDLER   SectionGetInfo;\r
+  EXTRACT_GUIDED_SECTION_DECODE_HANDLER     SectionExtraction;\r
+} EXTRACT_SECTION_HOB;\r
+\r
+#endif\r
+\r