summaryrefslogtreecommitdiff
path: root/IntelFspPkg/FspDxeIpl/DxeIpl.c
diff options
context:
space:
mode:
authorYao, Jiewen <jiewen.yao@intel.com>2014-12-06 01:05:19 +0000
committerjyao1 <jyao1@Edk2>2014-12-06 01:05:19 +0000
commitbaaacdc82378d432f1c9c6ae0625869a26c174e0 (patch)
treee27b792e8dab14059b53e14b59a81c6d64810496 /IntelFspPkg/FspDxeIpl/DxeIpl.c
parent0b559c1a1d2f76f87aeafcab2764ca00bb7f8f13 (diff)
downloadedk2-platforms-baaacdc82378d432f1c9c6ae0625869a26c174e0.tar.xz
Move EndOfPei signal earlier before giving control back to FspInitDone.
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
Diffstat (limited to 'IntelFspPkg/FspDxeIpl/DxeIpl.c')
-rw-r--r--IntelFspPkg/FspDxeIpl/DxeIpl.c11
1 files changed, 6 insertions, 5 deletions
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
@@ -424,6 +424,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
//
DEBUG ((DEBUG_INFO | DEBUG_INIT, "FSP is waiting for NOTIFY\n"));
@@ -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