Add new Library Class: CustomDecompressLib

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2771 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qhuang8 2007-06-27 05:26:03 +00:00
parent 1016045636
commit c96769e54d
3 changed files with 47 additions and 1 deletions

View File

@ -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

View File

@ -110,7 +110,7 @@
CacheMaintenanceLib|Include/Library/CacheMaintenanceLib.h
BaseMemoryLib|Include/Library/BaseMemoryLib.h
BaseLib|Include/Library/BaseLib.h
CustomDecompressLib|Include/Library/CustomDecompressLib.h
################################################################################
#

View File

@ -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>