summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPete Batard <pete@akeo.ie>2019-09-25 23:50:05 +0800
committerLiming Gao <liming.gao@intel.com>2019-10-08 22:10:51 +0800
commit2de1f611be06ded3a59726a4052a9039be7d459b (patch)
treed99f82c48bbdd1a6dc71ddec21dedf066c4e3bee
parent410c4d00d9f7e369d1ce183e9e8de98cb59c4d20 (diff)
downloadedk2-2de1f611be06ded3a59726a4052a9039be7d459b.tar.gz
edk2-2de1f611be06ded3a59726a4052a9039be7d459b.tar.bz2
edk2-2de1f611be06ded3a59726a4052a9039be7d459b.zip
MdeModulePkg/BdsDxe: Also call PlatformBootManagerWaitCallback on 0
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>
-rw-r--r--MdeModulePkg/Universal/BdsDxe/BdsEntry.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/MdeModulePkg/Universal/BdsDxe/BdsEntry.c b/MdeModulePkg/Universal/BdsDxe/BdsEntry.c
index f3d5e5ac06..7968a58f34 100644
--- a/MdeModulePkg/Universal/BdsDxe/BdsEntry.c
+++ b/MdeModulePkg/Universal/BdsDxe/BdsEntry.c
@@ -341,6 +341,7 @@ BdsWait (
TimeoutRemain--;
}
}
+ PlatformBootManagerWaitCallback (0);
DEBUG ((EFI_D_INFO, "[Bds]Exit the waiting!\n"));
}