Rename PcdPlatformBusSpeed to PcdFSBClock and update help text.
[mirror_edk2.git] / EdkModulePkg / Library / BaseCustomDecompressLibNull / BaseCustomDecompressLibNull.c
1 /*++
2
3 Copyright (c) 2006, Intel Corporation
4 All rights reserved. This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
8
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11
12 Module Name:
13
14 BaseCustomDecompressLibNull.c
15
16 Abstract:
17
18 NULL Custom Decompress Library
19
20 --*/
21
22 RETURN_STATUS
23 EFIAPI
24 CustomDecompressGetInfo (
25 IN CONST VOID *Source,
26 IN UINT32 SourceSize,
27 OUT UINT32 *DestinationSize,
28 OUT UINT32 *ScratchSize
29 )
30 /*++
31
32 Routine Description:
33
34 The internal implementation of *_DECOMPRESS_PROTOCOL.GetInfo().
35
36 Arguments:
37
38 Source - The source buffer containing the compressed data.
39 SourceSize - The size of source buffer
40 DestinationSize - The size of destination buffer.
41 ScratchSize - The size of scratch buffer.
42
43 Returns:
44
45 RETURN_SUCCESS - The size of destination buffer and the size of scratch buffer are successull retrieved.
46 RETURN_INVALID_PARAMETER - The source data is corrupted
47
48 --*/
49 {
50 return RETURN_UNSUPPORTED;
51 }
52
53 RETURN_STATUS
54 EFIAPI
55 CustomDecompress (
56 IN CONST VOID *Source,
57 IN OUT VOID *Destination,
58 IN OUT VOID *Scratch
59 )
60 /*++
61
62 Routine Description:
63
64 The internal implementation of *_DECOMPRESS_PROTOCOL.Decompress().
65
66 Arguments:
67
68 Source - The source buffer containing the compressed data.
69 Destination - The destination buffer to store the decompressed data
70 Scratch - The buffer used internally by the decompress routine. This buffer is needed to store intermediate data.
71
72 Returns:
73
74 RETURN_SUCCESS - Decompression is successfull
75 RETURN_INVALID_PARAMETER - The source data is corrupted
76
77 --*/
78 {
79 return RETURN_UNSUPPORTED;
80 }