public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 0/1] MdeModulePkg/BdsDxe: Fix calling PlatformBootManagerWaitCallback on 0
@ 2019-10-11 15:43 Pete Batard
  2019-10-11 15:43 ` [PATCH 1/1] " Pete Batard
  0 siblings, 1 reply; 5+ messages in thread
From: Pete Batard @ 2019-10-11 15:43 UTC (permalink / raw)
  To: devel; +Cc: afish, lersek, liming.gao

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-10-15  0:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-11 15:43 [PATCH 0/1] MdeModulePkg/BdsDxe: Fix calling PlatformBootManagerWaitCallback on 0 Pete Batard
2019-10-11 15:43 ` [PATCH 1/1] " Pete Batard
2019-10-12  1:44   ` Liming Gao
2019-10-14 14:45     ` Laszlo Ersek
2019-10-15  0:17       ` [edk2-devel] " Liming Gao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox