From: Ard Biesheuvel <ard.biesheuvel@linaro.org>
To: Leif Lindholm <leif.lindholm@linaro.org>
Cc: "edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Subject: Re: [PATCH v2 3/3] EmbeddedPkg: use central variable definitions in .vfr files
Date: Thu, 22 Feb 2018 16:33:07 +0000 [thread overview]
Message-ID: <CAKv+Gu8UZyGVsyyiasu1FaM=RWOH_LuQXmkZLE328CfCztsCbQ@mail.gmail.com> (raw)
In-Reply-To: <20171215165925.12306-4-leif.lindholm@linaro.org>
On 15 December 2017 at 16:59, Leif Lindholm <leif.lindholm@linaro.org> wrote:
> Use UefiMultiPhase.h in Vfr.vfr instead of duplicating EFI_VARIABLE_*
> definitions.
>
> Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
> Contributed-under: TianoCore Contribution Agreement 1.1
> Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
> ---
> EmbeddedPkg/Drivers/ConsolePrefDxe/ConsolePrefHii.vfr | 9 +--------
> EmbeddedPkg/Drivers/DtPlatformDxe/DtPlatformHii.vfr | 9 +--------
> 2 files changed, 2 insertions(+), 16 deletions(-)
>
> diff --git a/EmbeddedPkg/Drivers/ConsolePrefDxe/ConsolePrefHii.vfr b/EmbeddedPkg/Drivers/ConsolePrefDxe/ConsolePrefHii.vfr
> index a1e603abf0..725fbf52a5 100644
> --- a/EmbeddedPkg/Drivers/ConsolePrefDxe/ConsolePrefHii.vfr
> +++ b/EmbeddedPkg/Drivers/ConsolePrefDxe/ConsolePrefHii.vfr
> @@ -12,16 +12,9 @@
> *
> **/
>
> +#include <Uefi/UefiMultiPhase.h>
> #include "ConsolePrefDxe.h"
>
> -//
> -// EFI Variable attributes
> -//
> -#define EFI_VARIABLE_NON_VOLATILE 0x00000001
> -#define EFI_VARIABLE_BOOTSERVICE_ACCESS 0x00000002
> -#define EFI_VARIABLE_RUNTIME_ACCESS 0x00000004
> -#define EFI_VARIABLE_READ_ONLY 0x00000008
> -
> formset
> guid = CONSOLE_PREF_FORMSET_GUID,
> title = STRING_TOKEN(STR_FORM_SET_TITLE),
> diff --git a/EmbeddedPkg/Drivers/DtPlatformDxe/DtPlatformHii.vfr b/EmbeddedPkg/Drivers/DtPlatformDxe/DtPlatformHii.vfr
> index 3516746c4d..80c6f36425 100644
> --- a/EmbeddedPkg/Drivers/DtPlatformDxe/DtPlatformHii.vfr
> +++ b/EmbeddedPkg/Drivers/DtPlatformDxe/DtPlatformHii.vfr
> @@ -12,16 +12,9 @@
> *
> **/
>
> +#include <Uefi/UefiMultiPhase.h>
> #include "DtPlatformDxe.h"
>
> -//
> -// EFI Variable attributes
> -//
> -#define EFI_VARIABLE_NON_VOLATILE 0x00000001
> -#define EFI_VARIABLE_BOOTSERVICE_ACCESS 0x00000002
> -#define EFI_VARIABLE_RUNTIME_ACCESS 0x00000004
> -#define EFI_VARIABLE_READ_ONLY 0x00000008
> -
> formset
> guid = DT_PLATFORM_FORMSET_GUID,
> title = STRING_TOKEN(STR_FORM_SET_TITLE),
> --
> 2.11.0
>
prev parent reply other threads:[~2018-02-22 16:27 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-15 16:59 [PATCH v2 0/3] Use central definitions for EFI_VARIABLE_* Leif Lindholm
2017-12-15 16:59 ` [PATCH v2 1/3] MdePkg: restrict UefiMultiPhase.h contents if VFRCOMPILE defined Leif Lindholm
2017-12-17 11:23 ` Zeng, Star
2018-02-22 20:09 ` Leif Lindholm
2018-02-23 2:33 ` Zeng, Star
2018-02-23 10:25 ` Gao, Liming
2018-02-23 14:24 ` Leif Lindholm
2018-02-23 11:40 ` Leif Lindholm
2017-12-15 16:59 ` [PATCH v2 2/3] MdeModulePkg: use central variable definitions in DriverSampleDxe Leif Lindholm
2017-12-17 11:20 ` Zeng, Star
2017-12-15 16:59 ` [PATCH v2 3/3] EmbeddedPkg: use central variable definitions in .vfr files Leif Lindholm
2018-02-22 16:33 ` Ard Biesheuvel [this message]
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='CAKv+Gu8UZyGVsyyiasu1FaM=RWOH_LuQXmkZLE328CfCztsCbQ@mail.gmail.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