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