//\r
extern BOOLEAN gInMemory;\r
\r
+//\r
+// This PPI is installed to indicate the end of the PEI usage of memory \r
+//\r
+extern CONST EFI_PEI_PPI_DESCRIPTOR gEndOfPeiSignalPpi;\r
+\r
+\r
+\r
/**\r
Loads and relocates a PE/COFF image into memory.\r
\r
\r
\r
/**\r
- Find DxeCore driver from all First Volumes.\r
+ Searches DxeCore in all firmware Volumes and loads the first\r
+ instance that contains DxeCore.\r
\r
- @param FileHandle Pointer to FFS file to search.\r
+ @return FileHandle of DxeCore to load DxeCore.\r
\r
- @return EFI_SUCESS Success to find the FFS in specificed FV\r
- @return others Fail to find the FFS in specificed FV\r
-\r
**/\r
-EFI_STATUS\r
+EFI_PEI_FILE_HANDLE\r
DxeIplFindDxeCore (\r
- OUT EFI_PEI_FILE_HANDLE *FileHandle\r
+ VOID\r
);\r
\r
\r
-\r
/**\r
This function simply retrieves the function pointer of ImageRead in\r
ImageContext structure.\r
\r
@param DxeCoreEntryPoint The entrypoint of DxeCore.\r
@param HobList The start of HobList passed to DxeCore.\r
- @param EndOfPeiSignal The PPI descriptor for EFI_END_OF_PEI_PPI.\r
\r
**/\r
VOID\r
HandOffToDxeCore (\r
IN EFI_PHYSICAL_ADDRESS DxeCoreEntryPoint,\r
- IN EFI_PEI_HOB_POINTERS HobList,\r
- IN EFI_PEI_PPI_DESCRIPTOR *EndOfPeiSignal\r
+ IN EFI_PEI_HOB_POINTERS HobList\r
);\r
\r
\r