summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuiyu Ni <ruiyu.ni@intel.com>2016-11-08 20:16:39 +0800
committerRuiyu Ni <ruiyu.ni@intel.com>2016-11-10 15:58:27 +0800
commit9789894e3ba3dae87bfc384e97f946caeab389e0 (patch)
treeaf004e940f0ae3b5d6ea91a9943a5d37be88e234
parent34cd940294e5616068e977dbd5f1d44d47db1fe5 (diff)
downloadedk2-platforms-9789894e3ba3dae87bfc384e97f946caeab389e0.tar.xz
OvmfPkg/PlatformBds: Dispatch deferred images after EndOfDxe
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Cc: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Sunny Wang <sunnywang@hpe.com>
-rw-r--r--OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c b/OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c
index 66ee590f42..cc35630fcf 100644
--- a/OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c
+++ b/OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c
@@ -389,6 +389,11 @@ Returns:
NULL);
ASSERT_EFI_ERROR (Status);
+ //
+ // Dispatch deferred images after EndOfDxe event and ReadyToLock installation.
+ //
+ EfiBootManagerDispatchDeferredImages ();
+
PlatformInitializeConsole (gPlatformConsole);
PcdStatus = PcdSet16S (PcdPlatformBootTimeOut,
GetFrontPageTimeoutFromQemu ());