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/Ia32 | |
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/Ia32')
-rw-r--r-- | MdeModulePkg/Core/DxeIplPeim/Ia32/DxeLoadFunc.c | 8 | ||||
-rw-r--r-- | MdeModulePkg/Core/DxeIplPeim/Ia32/ImageRead.c | 3 |
2 files changed, 3 insertions, 8 deletions
diff --git a/MdeModulePkg/Core/DxeIplPeim/Ia32/DxeLoadFunc.c b/MdeModulePkg/Core/DxeIplPeim/Ia32/DxeLoadFunc.c index 4458ddd8ff..65c7ceac17 100644 --- a/MdeModulePkg/Core/DxeIplPeim/Ia32/DxeLoadFunc.c +++ b/MdeModulePkg/Core/DxeIplPeim/Ia32/DxeLoadFunc.c @@ -53,14 +53,12 @@ GLOBAL_REMOVE_IF_UNREFERENCED IA32_DESCRIPTOR gLidtDescriptor = { @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
)
{
EFI_STATUS Status;
@@ -106,7 +104,7 @@ HandOffToDxeCore ( //
// End of PEI phase singal
//
- Status = PeiServicesInstallPpi (EndOfPeiSignal);
+ Status = PeiServicesInstallPpi (&gEndOfPeiSignalPpi);
ASSERT_EFI_ERROR (Status);
AsmWriteCr3 (PageTables);
@@ -169,7 +167,7 @@ HandOffToDxeCore ( //
// End of PEI phase singal
//
- Status = PeiServicesInstallPpi (EndOfPeiSignal);
+ Status = PeiServicesInstallPpi (&gEndOfPeiSignalPpi);
ASSERT_EFI_ERROR (Status);
//
diff --git a/MdeModulePkg/Core/DxeIplPeim/Ia32/ImageRead.c b/MdeModulePkg/Core/DxeIplPeim/Ia32/ImageRead.c index a303c90721..747026364e 100644 --- a/MdeModulePkg/Core/DxeIplPeim/Ia32/ImageRead.c +++ b/MdeModulePkg/Core/DxeIplPeim/Ia32/ImageRead.c @@ -56,9 +56,6 @@ PeiImageRead ( }
-
-
-
/**
This function simply retrieves the function pointer of ImageRead in
ImageContext structure.
|