]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ArmPkg: Dispatch deferred images after EndOfDxe
authorSami Mujawar <sami.mujawar@arm.com>
Thu, 11 Apr 2019 18:41:36 +0000 (11:41 -0700)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 5 Dec 2019 20:28:44 +0000 (20:28 +0000)
Third party driver images loaded from Option ROM get queued
for execution after EndOfDxe. These queued images need to be
dispatched from the PlatformBootManagerLib.

Since the queued images were not dispatched, the PCI Option
ROM drivers were not getting loaded on Juno. Therefore,
add call to EfiBootManagerDispatchDeferredImages() for
dispatching deferred images from PlatformBootManagerLib.

Signed-off-by: Sami Mujawar <sami.mujawar@arm.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
ArmPkg/Library/PlatformBootManagerLib/PlatformBm.c

index 39b892a4b29b6006191c4b7e828e9585cfae72ff..e6e788e0f10715415ff8ff6519b10c55625a5b18 100644 (file)
@@ -2,7 +2,7 @@
   Implementation for PlatformBootManagerLib library class interfaces.\r
 \r
   Copyright (C) 2015-2016, Red Hat, Inc.\r
-  Copyright (c) 2014, ARM Ltd. All rights reserved.<BR>\r
+  Copyright (c) 2014 - 2019, ARM Ltd. All rights reserved.<BR>\r
   Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR>\r
   Copyright (c) 2016, Linaro Ltd. All rights reserved.<BR>\r
 \r
@@ -549,6 +549,11 @@ PlatformBootManagerBeforeConsole (
   //\r
   EfiEventGroupSignal (&gEfiEndOfDxeEventGroupGuid);\r
 \r
+  //\r
+  // Dispatch deferred images after EndOfDxe event.\r
+  //\r
+  EfiBootManagerDispatchDeferredImages ();\r
+\r
   //\r
   // Locate the PCI root bridges and make the PCI bus driver connect each,\r
   // non-recursively. This will produce a number of child handles with PciIo on\r