From c96769e54d649b27f5bb778ed3375c60cdebfe18 Mon Sep 17 00:00:00 2001 From: qhuang8 Date: Wed, 27 Jun 2007 05:26:03 +0000 Subject: [PATCH] Add new Library Class: CustomDecompressLib git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2771 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Include/Library/CustomDecompressLib.h | 42 ++++++++++++++++++++ MdePkg/MdePkg.dec | 2 +- MdePkg/MdePkg.nspd | 4 ++ 3 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 MdePkg/Include/Library/CustomDecompressLib.h 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 @@ Include/Library/UsbLib.h + + Include/Library/CustomDecompressLib.h + + Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.msa -- 2.39.2