processed. OutputBuffer OutputBuffer is\r
allocated from PEI permanent memory and contains\r
the new section stream.\r
- @param CompressionSection A pointer to the input buffer, which contains\r
+ @param InputSection A pointer to the input buffer, which contains\r
the input section to be processed.\r
@param OutputBuffer A pointer to a caller-allocated buffer, whose\r
size is specified by the contents of OutputSize.\r
@retval EFI_OUT_OF_RESOURCES The system has insufficient\r
resources to process the request.\r
\r
- @reteval EFI_INVALID_PARAMETER The GUID in InputSection does\r
+ @retval EFI_INVALID_PARAMETER The GUID in InputSection does\r
not match this instance of the\r
GUIDed Section Extraction PPI.\r
\r
EFI_STATUS\r
CustomGuidedSectionExtract (\r
IN CONST EFI_PEI_GUIDED_SECTION_EXTRACTION_PPI *This,\r
- IN CONST VOID *CompressionSection,\r
+ IN CONST VOID *InputSection,\r
OUT VOID **OutputBuffer,\r
OUT UINTN *OutputSize,\r
OUT UINT32 *AuthenticationStatus\r
IN CONST EFI_COMPRESSION_SECTION *CompressionSection,\r
OUT VOID **OutputBuffer,\r
OUT UINTN *OutputSize\r
-);\r
+ );\r
\r
\r
BOOLEAN gInMemory = FALSE;\r
// Module Globals used in the DXE to PEI handoff\r
// These must be module globals, so the stack can be switched\r
//\r
-static EFI_DXE_IPL_PPI mDxeIplPpi = {\r
+STATIC EFI_DXE_IPL_PPI mDxeIplPpi = {\r
DxeLoadCore\r
};\r
\r
Decompress\r
};\r
\r
-static EFI_PEI_PPI_DESCRIPTOR mPpiList[] = {\r
+STATIC EFI_PEI_PPI_DESCRIPTOR mPpiList[] = {\r
{\r
EFI_PEI_PPI_DESCRIPTOR_PPI,\r
&gEfiDxeIplPpiGuid,\r
}\r
};\r
\r
-static EFI_PEI_PPI_DESCRIPTOR mPpiSignal = {\r
+STATIC EFI_PEI_PPI_DESCRIPTOR mPpiSignal = {\r
(EFI_PEI_PPI_DESCRIPTOR_PPI | EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST),\r
&gEfiEndOfPeiSignalPpiGuid,\r
NULL\r
EFI_PEI_FILE_HANDLE FileHandle;\r
EFI_PEI_READ_ONLY_VARIABLE2_PPI *Variable;\r
UINTN DataSize;\r
- EFI_MEMORY_TYPE_INFORMATION MemoryData [EfiMaxMemoryType + 1];\r
+ EFI_MEMORY_TYPE_INFORMATION MemoryData[EfiMaxMemoryType + 1];\r
\r
//\r
// if in S3 Resume, restore configure\r
@retval EFI_OUT_OF_RESOURCES The system has insufficient\r
resources to process the request.\r
\r
- @reteval EFI_INVALID_PARAMETER The GUID in InputSection does\r
+ @retval EFI_INVALID_PARAMETER The GUID in InputSection does\r
not match this instance of the\r
GUIDed Section Extraction PPI.\r
\r
}\r
}\r
\r
- if ((SectionAttribute & EFI_GUIDED_SECTION_PROCESSING_REQUIRED) && OutputBufferSize > 0) { \r
+ if (((SectionAttribute & EFI_GUIDED_SECTION_PROCESSING_REQUIRED) != 0) && OutputBufferSize > 0) { \r
//\r
// Allocate output buffer\r
//\r