Move EndOfPei signal earlier before giving control back to FspInitDone.
authorYao, Jiewen <jiewen.yao@intel.com>
Sat, 6 Dec 2014 01:05:19 +0000 (01:05 +0000)
committerjyao1 <jyao1@Edk2>
Sat, 6 Dec 2014 01:05:19 +0000 (01:05 +0000)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Yao, Jiewen" <jiewen.yao@intel.com>
Reviewed-by: "Rangarajan, Ravi P" <ravi.p.rangarajan@intel.com>
Reviewed-by: "Ma, Maurice" <maurice.ma@intel.com>
Reviewed-by: "Mudusuru, Giri P" <giri.p.mudusuru@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16480 6f19259b-4bc3-4df7-8a09-765794883524

IntelFspPkg/FspDxeIpl/DxeIpl.c

index 24e6ef7..cddc29e 100644 (file)
@@ -423,6 +423,12 @@ DxeLoadCore (
 \r
   DEBUG ((DEBUG_INFO | DEBUG_INIT, "FSP HOB is located at 0x%08X\n", HobList));\r
 \r
+  //\r
+  // End of PEI phase signal\r
+  //\r
+  Status = PeiServicesInstallPpi (&gEndOfPeiSignalPpi);\r
+  ASSERT_EFI_ERROR (Status);\r
+\r
   //\r
   // Give control back to bootloader after FspInit\r
   //\r
@@ -434,11 +440,6 @@ DxeLoadCore (
   //\r
   FspWaitForNotify ();\r
 \r
-  //\r
-  // End of PEI phase signal\r
-  //\r
-  Status = PeiServicesInstallPpi (&gEndOfPeiSignalPpi);\r
-  ASSERT_EFI_ERROR (Status);\r
 \r
   //\r
   // Give control back to the boot loader framework caller\r