diff options
author | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-07-18 02:47:57 +0000 |
---|---|---|
committer | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-07-18 02:47:57 +0000 |
commit | 9b937a73b079d7368cf309247585e63e6a4afbec (patch) | |
tree | cac05cc7178a8fc6f6e74af9a87f9e2917830113 /MdeModulePkg/Core/DxeIplPeim/DxeIpl.h | |
parent | f88f0fb67b9763a4f1f9d55b25e9bcc2d88b1e32 (diff) | |
download | edk2-platforms-9b937a73b079d7368cf309247585e63e6a4afbec.tar.xz |
Code scrub DxeIpl to add back the CONST modifier and solve a typecast warning.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5516 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Core/DxeIplPeim/DxeIpl.h')
-rw-r--r-- | MdeModulePkg/Core/DxeIplPeim/DxeIpl.h | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/MdeModulePkg/Core/DxeIplPeim/DxeIpl.h b/MdeModulePkg/Core/DxeIplPeim/DxeIpl.h index 151f28d222..99968d4438 100644 --- a/MdeModulePkg/Core/DxeIplPeim/DxeIpl.h +++ b/MdeModulePkg/Core/DxeIplPeim/DxeIpl.h @@ -61,6 +61,13 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. //
extern BOOLEAN gInMemory;
+//
+// This PPI is installed to indicate the end of the PEI usage of memory
+//
+extern CONST EFI_PEI_PPI_DESCRIPTOR gEndOfPeiSignalPpi;
+
+
+
/**
Loads and relocates a PE/COFF image into memory.
@@ -84,21 +91,19 @@ PeiLoadFile ( /**
- Find DxeCore driver from all First Volumes.
+ Searches DxeCore in all firmware Volumes and loads the first instance that contains DxeCore.
- @param FileHandle Pointer to FFS file to search.
-
- @return EFI_SUCESS Success to find the FFS in specificed FV
- @return others Fail to find the FFS in specificed FV
+ @param DxeCoreFileName A Pointer to the EFI_GUID to contain the output DxeCore GUID file name.
+ @return FileHandle of DxeCore to load DxeCore.
+
**/
-EFI_STATUS
+EFI_PEI_FILE_HANDLE
DxeIplFindDxeCore (
- OUT EFI_PEI_FILE_HANDLE *FileHandle
+ OUT EFI_GUID *DxeCoreFileName
);
-
/**
This function simply retrieves the function pointer of ImageRead in
ImageContext structure.
@@ -145,14 +150,12 @@ DxeLoadCore ( @param DxeCoreEntryPoint The entrypoint of DxeCore.
@param HobList The start of HobList passed to DxeCore.
- @param EndOfPeiSignal The PPI descriptor for EFI_END_OF_PEI_PPI.
**/
VOID
HandOffToDxeCore (
IN EFI_PHYSICAL_ADDRESS DxeCoreEntryPoint,
- IN EFI_PEI_HOB_POINTERS HobList,
- IN EFI_PEI_PPI_DESCRIPTOR *EndOfPeiSignal
+ IN EFI_PEI_HOB_POINTERS HobList
);
|