From: "Ard Biesheuvel" <ard.biesheuvel@linaro.org>
To: edk2-devel-groups-io <devel@edk2.groups.io>,
Anthony PERARD <anthony.perard@citrix.com>
Cc: Jian J Wang <jian.j.wang@intel.com>, Ray Ni <ray.ni@intel.com>,
Star Zeng <star.zeng@intel.com>, Hao A Wu <hao.a.wu@intel.com>,
Julien Grall <julien.grall@arm.com>,
Leif Lindholm <leif.lindholm@linaro.org>,
Laszlo Ersek <lersek@redhat.com>
Subject: Re: [edk2-devel] [PATCH 0/4] Define SERIAL_DXE_FILE_GUID only once
Date: Fri, 31 May 2019 11:12:09 +0200 [thread overview]
Message-ID: <CAKv+Gu9NFsMxPD6x3tDna2DgX3Jm=Zfxu2rsSCiCXV4HC9PD0A@mail.gmail.com> (raw)
In-Reply-To: <20190529113723.23186-1-anthony.perard@citrix.com>
On Wed, 29 May 2019 at 13:37, Anthony PERARD <anthony.perard@citrix.com> wrote:
>
> The macro SERIAL_DXE_FILE_GUID is already been defined twice and the GUID is
> been used once without defining the macro. This patch series define the macro
> in MdeModulePkg where the SerialDxe is, and replace all other use by this new
> one.
>
> Note that I haven't build/test those changes, but I have test the first patch
> by applying a similar change to a patch series I'm working on.
>
> Patch series available in this git branch:
> https://xenbits.xen.org/git-http/people/aperard/ovmf.git br.serial-dxe-guid-v1
>
> Anthony PERARD (4):
> MdeModulePkg: Add SERIAL_DXE_FILE_GUID
> ArmVirtPkg/PlatformBootManagerLib: Use SERIAL_DXE_FILE_GUID from
> MdeModulePkg
> ArmPkg/PlatformBootManagerLib: Use SERIAL_DXE_FILE_GUID from
> MdeModulePkg
> UefiPayloadPkg/PlatformBootManagerLib: Use SERIAL_DXE_FILE_GUID from
> MdeModulePkg
>
> MdeModulePkg/MdeModulePkg.dec | 3 +++
> MdeModulePkg/Include/Guid/SerialDxe.h | 19 +++++++++++++++++++
> .../PlatformBootManagerLib/PlatformBm.c | 6 +-----
> .../PlatformBootManagerLib/PlatformBm.c | 6 +-----
> .../PlatformBootManagerLib/PlatformConsole.c | 3 ++-
> 5 files changed, 26 insertions(+), 11 deletions(-)
> create mode 100644 MdeModulePkg/Include/Guid/SerialDxe.h
>
Hello Anthony,
If the MdeModulePkg maintainers are ok with this, then I'm fine with it as well.
I would like to suggest to include a patch that does
diff --git a/MdeModulePkg/Universal/SerialDxe/SerialDxe.inf
b/MdeModulePkg/Universal/SerialDxe/SerialDxe.inf
index 81066a26a278..761c2e6649de 100644
--- a/MdeModulePkg/Universal/SerialDxe/SerialDxe.inf
+++ b/MdeModulePkg/Universal/SerialDxe/SerialDxe.inf
@@ -11,7 +11,7 @@
INF_VERSION = 0x00010005
BASE_NAME = SerialDxe
MODULE_UNI_FILE = SerialDxe.uni
- FILE_GUID = D3987D4B-971A-435F-8CAF-4967EB627241
+ FILE_GUID =
D3987D4B-971A-435F-8CAF-4967EB627241 # SERIAL_DXE_FILE_GUID
MODULE_TYPE = DXE_DRIVER
VERSION_STRING = 1.0
so that it is clear for future users that there is a symbolic GUID
constant they can use.
next prev parent reply other threads:[~2019-05-31 9:12 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-29 11:37 [PATCH 0/4] Define SERIAL_DXE_FILE_GUID only once Anthony PERARD
2019-05-29 11:37 ` [PATCH 1/4] MdeModulePkg: Add SERIAL_DXE_FILE_GUID Anthony PERARD
2019-05-29 11:37 ` [PATCH 2/4] ArmVirtPkg/PlatformBootManagerLib: Use SERIAL_DXE_FILE_GUID from MdeModulePkg Anthony PERARD
2019-05-29 11:37 ` [PATCH 3/4] ArmPkg/PlatformBootManagerLib: " Anthony PERARD
2019-05-29 11:37 ` [PATCH 4/4] UefiPayloadPkg/PlatformBootManagerLib: " Anthony PERARD
2019-05-31 9:12 ` Ard Biesheuvel [this message]
2019-06-01 8:26 ` [edk2-devel] [PATCH 0/4] Define SERIAL_DXE_FILE_GUID only once Zeng, Star
2019-06-01 17:00 ` Michael D Kinney
2019-06-03 10:24 ` Anthony PERARD
2019-06-03 12:01 ` Laszlo Ersek
2019-06-03 14:50 ` Michael D Kinney
2019-06-03 16:31 ` Laszlo Ersek
2019-06-03 17:06 ` Michael D Kinney
2019-06-06 12:33 ` Anthony PERARD
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+Gu9NFsMxPD6x3tDna2DgX3Jm=Zfxu2rsSCiCXV4HC9PD0A@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