summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/Library/PlatformBootManagerLib
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 /OvmfPkg/Library/PlatformBootManagerLib
parent34cd940294e5616068e977dbd5f1d44d47db1fe5 (diff)
downloadedk2-9789894e3ba3dae87bfc384e97f946caeab389e0.tar.gz
edk2-9789894e3ba3dae87bfc384e97f946caeab389e0.tar.bz2
edk2-9789894e3ba3dae87bfc384e97f946caeab389e0.zip
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>
Diffstat (limited to 'OvmfPkg/Library/PlatformBootManagerLib')
-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 ());