51 OUT UINT32 *OutputBufferSize,
52 OUT UINT32 *ScratchBufferSize,
53 OUT UINT16 *SectionAttribute
57 ASSERT (SectionAttribute !=
NULL);
59 if (InputSection ==
NULL) {
63 if (IS_SECTION2 (InputSection)) {
65 &gTianoCustomDecompressGuid,
88 &gTianoCustomDecompressGuid,
149 OUT VOID **OutputBuffer,
150 IN VOID *ScratchBuffer OPTIONAL,
151 OUT UINT32 *AuthenticationStatus
154 ASSERT (OutputBuffer !=
NULL);
155 ASSERT (InputSection !=
NULL);
157 if (IS_SECTION2 (InputSection)) {
159 &gTianoCustomDecompressGuid,
169 *AuthenticationStatus = 0;
182 &gTianoCustomDecompressGuid,
192 *AuthenticationStatus = 0;
219 &gTianoCustomDecompressGuid,
BOOLEAN EFIAPI CompareGuid(IN CONST GUID *Guid1, IN CONST GUID *Guid2)
RETURN_STATUS UefiTianoDecompress(IN CONST VOID *Source, IN OUT VOID *Destination, IN OUT VOID *Scratch, IN UINT32 Version)
RETURN_STATUS EFIAPI TianoDecompressLibConstructor(VOID)
RETURN_STATUS EFIAPI TianoDecompressGetInfo(IN CONST VOID *InputSection, OUT UINT32 *OutputBufferSize, OUT UINT32 *ScratchBufferSize, OUT UINT16 *SectionAttribute)
RETURN_STATUS EFIAPI TianoDecompress(IN CONST VOID *InputSection, OUT VOID **OutputBuffer, IN VOID *ScratchBuffer OPTIONAL, OUT UINT32 *AuthenticationStatus)
#define RETURN_INVALID_PARAMETER
#define SECTION_SIZE(SectionHeaderPtr)
RETURN_STATUS EFIAPI UefiDecompressGetInfo(IN CONST VOID *Source, IN UINT32 SourceSize, OUT UINT32 *DestinationSize, OUT UINT32 *ScratchSize)