git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3580
6f19259b-4bc3-4df7-8a09-
765794883524
EFI_STATUS Status;\r
UINT8 *DstBuffer;\r
UINT8 *ScratchBuffer;\r
EFI_STATUS Status;\r
UINT8 *DstBuffer;\r
UINT8 *ScratchBuffer;\r
- UINT32 DstBufferSize;\r
UINT32 ScratchBufferSize;\r
EFI_COMMON_SECTION_HEADER *CmpSection;\r
UINTN CmpSectionLength;\r
UINT32 ScratchBufferSize;\r
EFI_COMMON_SECTION_HEADER *CmpSection;\r
UINTN CmpSectionLength;\r
SectionExtract,\r
(VOID *) Section,\r
(VOID **) &DstBuffer,\r
SectionExtract,\r
(VOID *) Section,\r
(VOID **) &DstBuffer,\r
- (UINTN *) &DstBufferSize,\r
&AuthenticationStatus\r
);\r
\r
&AuthenticationStatus\r
);\r
\r
DEBUG ((EFI_D_ERROR, "Extract section content failed - %r\n", Status));\r
return Status;\r
}\r
DEBUG ((EFI_D_ERROR, "Extract section content failed - %r\n", Status));\r
return Status;\r
}\r
//\r
// Todo check AuthenticationStatus and do the verify\r
//\r
//\r
// Todo check AuthenticationStatus and do the verify\r
//\r
Status = UefiDecompressGetInfo (\r
(UINT8 *) ((EFI_COMPRESSION_SECTION *) Section + 1),\r
(UINT32) SectionLength - sizeof (EFI_COMPRESSION_SECTION),\r
Status = UefiDecompressGetInfo (\r
(UINT8 *) ((EFI_COMPRESSION_SECTION *) Section + 1),\r
(UINT32) SectionLength - sizeof (EFI_COMPRESSION_SECTION),\r
+ (UINT32 *) &DstBufferSize,\r
&ScratchBufferSize\r
);\r
if (EFI_ERROR (Status)) {\r
&ScratchBufferSize\r
);\r
if (EFI_ERROR (Status)) {\r