public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 0/2] OvmfPkg, ArmVirtPkg: sync Timeout with PcdPlatformBootTimeOut
@ 2020-03-04  9:44 Laszlo Ersek
  2020-03-04  9:44 ` [PATCH 1/2] OvmfPkg/PlatformBootManagerLib: " Laszlo Ersek
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Laszlo Ersek @ 2020-03-04  9:44 UTC (permalink / raw)
  To: edk2-devel-groups-io
  Cc: Ard Biesheuvel, Jordan Justen, Leif Lindholm,
	Philippe Mathieu-Daudé

Repo:   https://pagure.io/lersek/edk2.git
Branch: timeout_var

In the PlatformBootManagerLib instances, set the Timeout global variable
to the same value as PcdPlatformBootTimeOut. This way the "setvar"
command in the UEFI shell, and the "efibootmgr" command in a Linux
guest, can report the front page timeout that was requested on the QEMU
command line (see GetFrontPageTimeoutFromQemu() in
"OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.c").

A DEBUG_VERBOSE message is logged on success too, for our QE team's
sake.

Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Philippe Mathieu-Daudé <philmd@redhat.com>

Thanks
Laszlo

Laszlo Ersek (2):
  OvmfPkg/PlatformBootManagerLib: sync Timeout with
    PcdPlatformBootTimeOut
  ArmVirtPkg/PlatformBootManagerLib: sync Timeout with
    PcdPlatformBootTimeOut

 ArmVirtPkg/Library/PlatformBootManagerLib/PlatformBm.c               | 27 ++++++++++++++++++--
 ArmVirtPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf |  1 +
 OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c                 | 26 +++++++++++++++++--
 OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf    |  2 ++
 4 files changed, 52 insertions(+), 4 deletions(-)

-- 
2.19.1.3.g30247aa5d201


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

end of thread, other threads:[~2020-03-05  8:56 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-04  9:44 [PATCH 0/2] OvmfPkg, ArmVirtPkg: sync Timeout with PcdPlatformBootTimeOut Laszlo Ersek
2020-03-04  9:44 ` [PATCH 1/2] OvmfPkg/PlatformBootManagerLib: " Laszlo Ersek
2020-03-04  9:44 ` [PATCH 2/2] ArmVirtPkg/PlatformBootManagerLib: " Laszlo Ersek
2020-03-04  9:54 ` [PATCH 0/2] OvmfPkg, ArmVirtPkg: " Ard Biesheuvel
2020-03-04 14:51   ` Laszlo Ersek
2020-03-04 14:52     ` Ard Biesheuvel
2020-03-04 15:50 ` Philippe Mathieu-Daudé
2020-03-04 18:11   ` Laszlo Ersek
2020-03-05  8:56 ` [edk2-devel] " Laszlo Ersek

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