]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg/BdsDxe: Also call PlatformBootManagerWaitCallback on 0
authorPete Batard <pete@akeo.ie>
Wed, 25 Sep 2019 15:50:05 +0000 (23:50 +0800)
committerLiming Gao <liming.gao@intel.com>
Tue, 8 Oct 2019 14:10:51 +0000 (22:10 +0800)
The existing loop is set to call PlatformBootManagerWaitCallback every
second except the last one. We believe this is a mistake as it prevents
the called code from performing timeout expiration tasks such as, for
instance, ensuring that the last segment of a progress bar is displayed
before continuing (which is a current issue for the RPi3 platform).

Signed-off-by: Pete Batard <pete@akeo.ie>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
MdeModulePkg/Universal/BdsDxe/BdsEntry.c

index f3d5e5ac0615a7abbf55bbaf523a1d0238365faa..7968a58f3454dd6a19c9dac049ea4cbc7e7a08e8 100644 (file)
@@ -341,6 +341,7 @@ BdsWait (
       TimeoutRemain--;\r
     }\r
   }\r
+  PlatformBootManagerWaitCallback (0);\r
   DEBUG ((EFI_D_INFO, "[Bds]Exit the waiting!\n"));\r
 }\r
 \r