52 OUT UINT32 *OutputBufferSize,
53 OUT UINT32 *ScratchBufferSize,
54 OUT UINT16 *SectionAttribute
57 ASSERT (InputSection !=
NULL);
58 ASSERT (OutputBufferSize !=
NULL);
59 ASSERT (ScratchBufferSize !=
NULL);
60 ASSERT (SectionAttribute !=
NULL);
62 if (IS_SECTION2 (InputSection)) {
64 &gLzmaF86CustomDecompressGuid,
81 &gLzmaF86CustomDecompressGuid,
136 OUT VOID **OutputBuffer,
137 OUT VOID *ScratchBuffer OPTIONAL,
138 OUT UINT32 *AuthenticationStatus
146 UINT32 OutputBufferSize;
147 UINT32 ScratchBufferSize;
149 ASSERT (OutputBuffer !=
NULL);
150 ASSERT (InputSection !=
NULL);
152 if (IS_SECTION2 (InputSection)) {
162 if (!
CompareGuid (&gLzmaF86CustomDecompressGuid, InputGuid)) {
169 *AuthenticationStatus = 0;
181 if (!EFI_ERROR (Status)) {
189 if (!EFI_ERROR (Status)) {
190 x86_Convert_Init (X86State);
191 x86_Convert (*OutputBuffer, OutputBufferSize, 0, &X86State, 0);
211 &gLzmaF86CustomDecompressGuid,
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)