public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Zeng, Star" <star.zeng@intel.com>
To: "devel@edk2.groups.io" <devel@edk2.groups.io>,
	"ard.biesheuvel@linaro.org" <ard.biesheuvel@linaro.org>,
	Anthony PERARD <anthony.perard@citrix.com>
Cc: "Wang, Jian J" <jian.j.wang@intel.com>,
	"Ni, Ray" <ray.ni@intel.com>, "Wu, Hao A" <hao.a.wu@intel.com>,
	Julien Grall <julien.grall@arm.com>,
	"Leif Lindholm" <leif.lindholm@linaro.org>,
	Laszlo Ersek <lersek@redhat.com>,
	"Zeng, Star" <star.zeng@intel.com>
Subject: Re: [edk2-devel] [PATCH 0/4] Define SERIAL_DXE_FILE_GUID only once
Date: Sat, 1 Jun 2019 08:26:46 +0000	[thread overview]
Message-ID: <0C09AFA07DD0434D9E2A0C6AEB048310403065AD@shsmsx102.ccr.corp.intel.com> (raw)
In-Reply-To: <CAKv+Gu9NFsMxPD6x3tDna2DgX3Jm=Zfxu2rsSCiCXV4HC9PD0A@mail.gmail.com>

I would suggest using gEdkii (for global variable) and EDKII (for definition) as the prefixes.

Thanks,
Star
> -----Original Message-----
> From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of
> Ard Biesheuvel
> Sent: Friday, May 31, 2019 5:12 PM
> To: edk2-devel-groups-io <devel@edk2.groups.io>; Anthony PERARD
> <anthony.perard@citrix.com>
> Cc: Wang, Jian J <jian.j.wang@intel.com>; Ni, Ray <ray.ni@intel.com>; Zeng,
> Star <star.zeng@intel.com>; Wu, Hao A <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
> 
> 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.
> 
> 


  reply	other threads:[~2019-06-01  8:26 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 ` [edk2-devel] [PATCH 0/4] Define SERIAL_DXE_FILE_GUID only once Ard Biesheuvel
2019-06-01  8:26   ` Zeng, Star [this message]
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=0C09AFA07DD0434D9E2A0C6AEB048310403065AD@shsmsx102.ccr.corp.intel.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