]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFspPkg/FspDxeIpl/DxeIpl.c
Move EndOfPei signal earlier before giving control back to FspInitDone.
[mirror_edk2.git] / IntelFspPkg / FspDxeIpl / DxeIpl.c
index 24e6ef75cd0b8f95849a8f300381f72894fa56f6..cddc29e054b55227a5f14783aad32814bfe18ea1 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