]>
git.proxmox.com Git - mirror_edk2.git/blob - DuetPkg/EfiLdr/TianoDecompress.h
2 Internal include file for Base UEFI Decompress Library.
4 Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
5 This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 Module Name: BaseUefiCustomDecompressLibInternals.h
17 #ifndef __BASE_UEFI_TIANO_CUSTOM_DECOMPRESS_LIB_INTERNALS_H__
18 #define __BASE_UEFI_TIANO_CUSTOM_DECOMPRESS_LIB_INTERNALS_H__
22 #include <Library/UefiDecompressLib.h>
23 #include <Library/DebugLib.h>
24 #include <Library/BaseMemoryLib.h>
32 OUT UINT32
*ScratchSize
38 The implementation is same as that of EFI_TIANO_DECOMPRESS_PROTOCOL.GetInfo().
42 This - The protocol instance pointer
43 Source - The source buffer containing the compressed data.
44 SrcSize - The size of source buffer
45 DstSize - The size of destination buffer.
46 ScratchSize - The size of scratch buffer.
50 EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successfully retrieved.
51 EFI_INVALID_PARAMETER - The source data is corrupted
61 IN OUT VOID
*Destination
,
70 The implementation is same as that of EFI_TIANO_DECOMPRESS_PROTOCOL.Decompress().
74 This - The protocol instance pointer
75 Source - The source buffer containing the compressed data.
76 SrcSize - The size of source buffer
77 Destination - The destination buffer to store the decompressed data
78 DstSize - The size of destination buffer.
79 Scratch - The buffer used internally by the decompress routine. This buffer is needed to store intermediate data.
80 ScratchSize - The size of scratch buffer.
84 EFI_SUCCESS - Decompression is successfull
85 EFI_INVALID_PARAMETER - The source data is corrupted