summaryrefslogtreecommitdiffstats
path: root/ArmVirtPkg/Library
diff options
context:
space:
mode:
authorPete Batard <pete@akeo.ie>2019-10-14 16:03:10 +0100
committerLaszlo Ersek <lersek@redhat.com>2019-10-16 18:27:37 +0200
commitc3c90d8aa7e6c43e8564cb44dc8f73d0565ad122 (patch)
treed272c33c78e6bd35dfafe4eaf369645e60b94964 /ArmVirtPkg/Library
parentcd70b1a71d30d0fff4c549a309682fdf127aaae6 (diff)
downloadedk2-c3c90d8aa7e6c43e8564cb44dc8f73d0565ad122.tar.gz
edk2-c3c90d8aa7e6c43e8564cb44dc8f73d0565ad122.tar.bz2
edk2-c3c90d8aa7e6c43e8564cb44dc8f73d0565ad122.zip
OvmfPkg/PlatformBootManagerLib: Don't update progress if Pcd is 0
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2266 Independently of how we decide to address other aspects of the regression introduced with commit 2de1f611be06ded3a59726a4052a9039be7d459b, it doesn't make much sense to call for a progress update if PcdPlatformBootTimeOut is zero. PcdPlatformBootTimeOut 0, which is the cause of the bug (division by zero) should be considered to indicate that a platform is not interested in displaying a progress report, so we alter PlatformBootManagerWaitCallback to behave that way. We also change one variable name to make the code more explicit. Signed-off-by: Pete Batard <pete@akeo.ie> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com> Message-Id: <20191014150311.16740-2-pete@akeo.ie>
Diffstat (limited to 'ArmVirtPkg/Library')
0 files changed, 0 insertions, 0 deletions