Add new Library Class: CustomDecompressLib
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 27 Jun 2007 05:26:03 +0000 (05:26 +0000)
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 27 Jun 2007 05:26:03 +0000 (05:26 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2771 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Include/Library/CustomDecompressLib.h [new file with mode: 0644]
MdePkg/MdePkg.dec
MdePkg/MdePkg.nspd

diff --git a/MdePkg/Include/Library/CustomDecompressLib.h b/MdePkg/Include/Library/CustomDecompressLib.h
new file mode 100644 (file)
index 0000000..6e43e3a
--- /dev/null
@@ -0,0 +1,42 @@
+/*++\r
+\r
+Copyright (c) 2007, Intel Corporation                                                         \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
+Module Name:\r
+\r
+  CustomDecompressLib.h\r
+\r
+Abstract:\r
+\r
+  Custom Decompress Functions\r
+\r
+--*/\r
+\r
+#ifndef __CUSTOM_DECPOMPRESS_LIB_H__\r
+#define __CUSTOM_DECPOMPRESS_LIB_H__\r
+\r
+RETURN_STATUS\r
+EFIAPI\r
+CustomDecompressGetInfo (\r
+  IN  CONST VOID  *Source,\r
+  IN  UINT32      SourceSize,\r
+  OUT UINT32      *DestinationSize,\r
+  OUT UINT32      *ScratchSize\r
+  );\r
+\r
+RETURN_STATUS\r
+EFIAPI\r
+CustomDecompress (\r
+  IN CONST VOID  *Source,\r
+  IN OUT VOID    *Destination,\r
+  IN OUT VOID    *Scratch\r
+  );\r
+\r
+#endif\r
index 98c0c7e..90b49ac 100644 (file)
   CacheMaintenanceLib|Include/Library/CacheMaintenanceLib.h\r
   BaseMemoryLib|Include/Library/BaseMemoryLib.h\r
   BaseLib|Include/Library/BaseLib.h\r
-\r
+  CustomDecompressLib|Include/Library/CustomDecompressLib.h\r
 \r
 ################################################################################\r
 #\r
index 4ce2a55..3ea086b 100644 (file)
       <IncludeHeader>Include/Library/UsbLib.h</IncludeHeader>\r
       <HelpText/>\r
     </LibraryClass>\r
+    <LibraryClass Name="CustomDecompressLib">\r
+      <IncludeHeader>Include/Library/CustomDecompressLib.h</IncludeHeader>\r
+      <HelpText/>\r
+    </LibraryClass>\r
   </LibraryClassDeclarations>\r
   <MsaFiles>\r
     <Filename>Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.msa</Filename>\r