[edk2-devel] [PATCH 0/1] MdeModulePkg/BdsDxe: Fix calling PlatformBootManagerWaitCallback on 0

Pete Batard posted 1 patch 4 years, 6 months ago
Failed in applying to current master (apply log)
MdeModulePkg/Universal/BdsDxe/BdsEntry.c | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
[edk2-devel] [PATCH 0/1] MdeModulePkg/BdsDxe: Fix calling PlatformBootManagerWaitCallback on 0
Posted by Pete Batard 4 years, 6 months ago
Independently of the OvmfPkg fix, I think Lazlo's fix is what we ultimately
want to have, as the logic of not wanting to get calls for progress updates
if the Timeout Pcd is zet to zero stands. Plus we want to handle the 0xFFFF
case.

Therefore I am submitting Lazlo's proposed patch as well, which, even if it
seems redundant, I don't think invalidates the OvmfPkg one, as a call that
may produce a division by zero should consider that case unless it can have
absolute certainty that it will never be called for the zero value, which I
don't think we can or should rely on here.

Laszlo Ersek (1):
  MdeModulePkg/BdsDxe: Fix calling PlatformBootManagerWaitCallback on 0

 MdeModulePkg/Universal/BdsDxe/BdsEntry.c | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

-- 
2.21.0.windows.1


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#48841): https://edk2.groups.io/g/devel/message/48841
Mute This Topic: https://groups.io/mt/34494976/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-