From: "Laszlo Ersek" <lersek@redhat.com>
To: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: edk2-devel-groups-io <devel@edk2.groups.io>,
"Jordan Justen" <jordan.l.justen@intel.com>,
"Leif Lindholm" <leif@nuviainc.com>,
"Philippe Mathieu-Daudé" <philmd@redhat.com>
Subject: Re: [PATCH 0/2] OvmfPkg, ArmVirtPkg: sync Timeout with PcdPlatformBootTimeOut
Date: Wed, 4 Mar 2020 15:51:19 +0100 [thread overview]
Message-ID: <929a77fa-0224-86e2-1ed5-231616052f44@redhat.com> (raw)
In-Reply-To: <CAKv+Gu8UN3rUZO7_PwgfHYQKZMMkWAAw0OfStKZdJ6L+dEQ4zQ@mail.gmail.com>
On 03/04/20 10:54, Ard Biesheuvel wrote:
> On Wed, 4 Mar 2020 at 10:44, Laszlo Ersek <lersek@redhat.com> wrote:
>>
>> 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
>>
>
> Provided that the use of the bare 'sizeof <identifier>' doesn't throw
> up any build errors with Clang (I seem to remember a report from Mike
> Kinney about this?)
>
> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
I use the "sizeof" operator exclusively without parens if the operand is
not a type name, at least in packages that I co-maintain. I don't recall
any particular build failures (even from the edk2 CI).
Thanks!
Laszlo
>
>> 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
>>
>
next prev parent reply other threads:[~2020-03-04 14:51 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=929a77fa-0224-86e2-1ed5-231616052f44@redhat.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox