From: Yao, Jiewen Date: Sat, 6 Dec 2014 01:05:19 +0000 (+0000) Subject: Move EndOfPei signal earlier before giving control back to FspInitDone. X-Git-Tag: edk2-stable201903~10554 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=baaacdc82378d432f1c9c6ae0625869a26c174e0 Move EndOfPei signal earlier before giving control back to FspInitDone. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: "Yao, Jiewen" Reviewed-by: "Rangarajan, Ravi P" Reviewed-by: "Ma, Maurice" Reviewed-by: "Mudusuru, Giri P" git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16480 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/IntelFspPkg/FspDxeIpl/DxeIpl.c b/IntelFspPkg/FspDxeIpl/DxeIpl.c index 24e6ef75cd..cddc29e054 100644 --- a/IntelFspPkg/FspDxeIpl/DxeIpl.c +++ b/IntelFspPkg/FspDxeIpl/DxeIpl.c @@ -423,6 +423,12 @@ DxeLoadCore ( DEBUG ((DEBUG_INFO | DEBUG_INIT, "FSP HOB is located at 0x%08X\n", HobList)); + // + // End of PEI phase signal + // + Status = PeiServicesInstallPpi (&gEndOfPeiSignalPpi); + ASSERT_EFI_ERROR (Status); + // // Give control back to bootloader after FspInit // @@ -434,11 +440,6 @@ DxeLoadCore ( // FspWaitForNotify (); - // - // End of PEI phase signal - // - Status = PeiServicesInstallPpi (&gEndOfPeiSignalPpi); - ASSERT_EFI_ERROR (Status); // // Give control back to the boot loader framework caller