]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg: Add LzmaDecompress Guid
authorLiming Gao <liming.gao@intel.com>
Fri, 3 Apr 2015 02:49:51 +0000 (02:49 +0000)
committerlgao4 <lgao4@Edk2>
Fri, 3 Apr 2015 02:49:51 +0000 (02:49 +0000)
Move LzmaDecompress GUID definition from IntelFrameworkModulePkg to MdeModulePkg

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17111 6f19259b-4bc3-4df7-8a09-765794883524

Include/Guid/LzmaDecompress.h [new file with mode: 0644]
MdeModulePkg/MdeModulePkg.dec

diff --git a/Include/Guid/LzmaDecompress.h b/Include/Guid/LzmaDecompress.h
new file mode 100644 (file)
index 0000000..18a6552
--- /dev/null
@@ -0,0 +1,35 @@
+/** @file\r
+  Lzma Custom decompress algorithm Guid definition.\r
+\r
+Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>\r
+This program and the accompanying materials are licensed and made available under \r
+the terms and conditions of the BSD License that accompanies this distribution.  \r
+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 __LZMA_DECOMPRESS_GUID_H__\r
+#define __LZMA_DECOMPRESS_GUID_H__\r
+\r
+///\r
+/// The Global ID used to identify a section of an FFS file of type \r
+/// EFI_SECTION_GUID_DEFINED, whose contents have been compressed using LZMA.\r
+///\r
+#define LZMA_CUSTOM_DECOMPRESS_GUID  \\r
+  { 0xEE4E5898, 0x3914, 0x4259, { 0x9D, 0x6E, 0xDC, 0x7B, 0xD7, 0x94, 0x03, 0xCF } }\r
+\r
+///\r
+/// The Global ID used to identify a section of an FFS file of type \r
+/// EFI_SECTION_GUID_DEFINED, whose contents have been compressed using LZMA with X86 code Converter.\r
+///\r
+#define LZMAF86_CUSTOM_DECOMPRESS_GUID  \\r
+  { 0xD42AE6BD, 0x1352, 0x4bfb, { 0x90, 0x9A, 0xCA, 0x72, 0xA6, 0xEA, 0xE8, 0x89 } }\r
+\r
+extern GUID gLzmaCustomDecompressGuid;\r
+extern GUID gLzmaF86CustomDecompressGuid;\r
+\r
+#endif\r
index c00319a7f35aa8989d1daf4eaadf5b8a46795214..a6309b8866cdd8a8b86fc9d7a05fee1fbf33dc11 100644 (file)
   ## Include/Protocol/VarErrorFlag.h\r
   gEdkiiVarErrorFlagGuid               = { 0x4b37fe8, 0xf6ae, 0x480b, { 0xbd, 0xd5, 0x37, 0xd9, 0x8c, 0x5e, 0x89, 0xaa } }\r
 \r
+  ## GUID indicates the LZMA custom compress/decompress algorithm.\r
+  #  Include/Guid/LzmaDecompress.h\r
+  gLzmaCustomDecompressGuid      = { 0xEE4E5898, 0x3914, 0x4259, { 0x9D, 0x6E, 0xDC, 0x7B, 0xD7, 0x94, 0x03, 0xCF }}\r
+  gLzmaF86CustomDecompressGuid     = { 0xD42AE6BD, 0x1352, 0x4bfb, { 0x90, 0x9A, 0xCA, 0x72, 0xA6, 0xEA, 0xE8, 0x89 }}\r
+\r
 [Ppis]\r
   ## Include/Ppi/AtaController.h\r
   gPeiAtaControllerPpiGuid       = { 0xa45e60d1, 0xc719, 0x44aa, { 0xb0, 0x7a, 0xaa, 0x77, 0x7f, 0x85, 0x90, 0x6d }}\r