diff options
Diffstat (limited to 'MdePkg')
-rw-r--r-- | MdePkg/Include/Library/CustomDecompressLib.h | 42 | ||||
-rw-r--r-- | MdePkg/MdePkg.dec | 2 | ||||
-rw-r--r-- | MdePkg/MdePkg.nspd | 4 |
3 files changed, 47 insertions, 1 deletions
diff --git a/MdePkg/Include/Library/CustomDecompressLib.h b/MdePkg/Include/Library/CustomDecompressLib.h new file mode 100644 index 0000000000..6e43e3a154 --- /dev/null +++ b/MdePkg/Include/Library/CustomDecompressLib.h @@ -0,0 +1,42 @@ +/*++
+
+Copyright (c) 2007, Intel Corporation
+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.
+
+Module Name:
+
+ CustomDecompressLib.h
+
+Abstract:
+
+ Custom Decompress Functions
+
+--*/
+
+#ifndef __CUSTOM_DECPOMPRESS_LIB_H__
+#define __CUSTOM_DECPOMPRESS_LIB_H__
+
+RETURN_STATUS
+EFIAPI
+CustomDecompressGetInfo (
+ IN CONST VOID *Source,
+ IN UINT32 SourceSize,
+ OUT UINT32 *DestinationSize,
+ OUT UINT32 *ScratchSize
+ );
+
+RETURN_STATUS
+EFIAPI
+CustomDecompress (
+ IN CONST VOID *Source,
+ IN OUT VOID *Destination,
+ IN OUT VOID *Scratch
+ );
+
+#endif
diff --git a/MdePkg/MdePkg.dec b/MdePkg/MdePkg.dec index 98c0c7e5cd..90b49ac308 100644 --- a/MdePkg/MdePkg.dec +++ b/MdePkg/MdePkg.dec @@ -110,7 +110,7 @@ CacheMaintenanceLib|Include/Library/CacheMaintenanceLib.h
BaseMemoryLib|Include/Library/BaseMemoryLib.h
BaseLib|Include/Library/BaseLib.h
-
+ CustomDecompressLib|Include/Library/CustomDecompressLib.h
################################################################################
#
diff --git a/MdePkg/MdePkg.nspd b/MdePkg/MdePkg.nspd index 4ce2a55d30..3ea086b166 100644 --- a/MdePkg/MdePkg.nspd +++ b/MdePkg/MdePkg.nspd @@ -194,6 +194,10 @@ <IncludeHeader>Include/Library/UsbLib.h</IncludeHeader>
<HelpText/>
</LibraryClass>
+ <LibraryClass Name="CustomDecompressLib">
+ <IncludeHeader>Include/Library/CustomDecompressLib.h</IncludeHeader>
+ <HelpText/>
+ </LibraryClass>
</LibraryClassDeclarations>
<MsaFiles>
<Filename>Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.msa</Filename>
|