50 OUT UINT32 *OutputBufferSize,
51 OUT UINT32 *ScratchBufferSize,
52 OUT UINT16 *SectionAttribute
55 ASSERT (InputSection !=
NULL);
56 ASSERT (OutputBufferSize !=
NULL);
57 ASSERT (ScratchBufferSize !=
NULL);
58 ASSERT (SectionAttribute !=
NULL);
60 if (IS_SECTION2 (InputSection)) {
62 &gLzmaCustomDecompressGuid,
79 &gLzmaCustomDecompressGuid,
134 OUT VOID **OutputBuffer,
135 OUT VOID *ScratchBuffer OPTIONAL,
136 OUT UINT32 *AuthenticationStatus
139 ASSERT (OutputBuffer !=
NULL);
140 ASSERT (InputSection !=
NULL);
142 if (IS_SECTION2 (InputSection)) {
144 &gLzmaCustomDecompressGuid,
154 *AuthenticationStatus = 0;
164 &gLzmaCustomDecompressGuid,
174 *AuthenticationStatus = 0;
198 &gLzmaCustomDecompressGuid,
BOOLEAN EFIAPI CompareGuid(IN CONST GUID *Guid1, IN CONST GUID *Guid2)
RETURN_STATUS EFIAPI LzmaUefiDecompress(IN CONST VOID *Source, IN UINTN SourceSize, IN OUT VOID *Destination, IN OUT VOID *Scratch)
RETURN_STATUS EFIAPI LzmaUefiDecompressGetInfo(IN CONST VOID *Source, IN UINT32 SourceSize, OUT UINT32 *DestinationSize, OUT UINT32 *ScratchSize)
#define RETURN_INVALID_PARAMETER
#define SECTION_SIZE(SectionHeaderPtr)