X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FLibrary%2FBaseCustomDecompressLibNull%2FBaseCustomDecompressLibNull.c;h=4635e87e4db3fb9fa428fbf43eec24546fc6f15d;hp=669f937487b2ee252abfc88e50c195b1091e0f15;hb=d8c79a815f9e993b741ec38cd39498e674e1739e;hpb=bf231ea60e0c607732ca17b3f797faae97186699 diff --git a/MdePkg/Library/BaseCustomDecompressLibNull/BaseCustomDecompressLibNull.c b/MdePkg/Library/BaseCustomDecompressLibNull/BaseCustomDecompressLibNull.c index 669f937487..4635e87e4d 100644 --- a/MdePkg/Library/BaseCustomDecompressLibNull/BaseCustomDecompressLibNull.c +++ b/MdePkg/Library/BaseCustomDecompressLibNull/BaseCustomDecompressLibNull.c @@ -31,6 +31,7 @@ RETURN_STATUS EFIAPI CustomDecompressGetInfo ( + IN CONST GUID *DecompressGuid, IN CONST VOID *Source, IN UINT32 SourceSize, OUT UINT32 *DestinationSize, @@ -56,6 +57,7 @@ CustomDecompressGetInfo ( RETURN_STATUS EFIAPI CustomDecompress ( + IN const GUID *DecompressGuid, IN CONST VOID *Source, IN OUT VOID *Destination, IN OUT VOID *Scratch @@ -63,3 +65,22 @@ CustomDecompress ( { return RETURN_UNSUPPORTED; } + +/** + Get decompress method guid list. + + @param[in, out] AlgorithmGuidTable The decompress method guid list. + @param[in, out] NumberOfAlgorithms The number of decompress methods. + + @retval RETURN_SUCCESS Get all algorithmes list successfully.. +**/ +RETURN_STATUS +EFIAPI +CustomDecompressGetAlgorithms ( + IN OUT GUID **AlgorithmGuidTable, + IN OUT UINTN *NumberOfAlgorithms + ) +{ + *NumberOfAlgorithms = 0; + return RETURN_SUCCESS; +}