From: "Anthony PERARD" <anthony.perard@citrix.com>
To: "Kinney, Michael D" <michael.d.kinney@intel.com>
Cc: "devel@edk2.groups.io" <devel@edk2.groups.io>,
"lersek@redhat.com" <lersek@redhat.com>,
"Wang, Jian J" <jian.j.wang@intel.com>,
"Ni, Ray" <ray.ni@intel.com>,
Ard Biesheuvel <ard.biesheuvel@linaro.org>,
"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>
Subject: Re: [edk2-devel] [PATCH 0/4] Define SERIAL_DXE_FILE_GUID only once
Date: Thu, 6 Jun 2019 13:33:13 +0100 [thread overview]
Message-ID: <20190606123313.GL2126@perard.uk.xensource.com> (raw)
In-Reply-To: <E92EE9817A31E24EB0585FDF735412F5B9D230E9@ORSMSX113.amr.corp.intel.com>
> > So, ultimately, we are asking Anthony to:
> >
> > (1) please introduce the new GUID as
> > EDKII_SERIAL_VENDOR_GUID and gEdkiiSerialVendorGuid,
>
> Yes.
>
> >
> > (2) please append another patch to this series,
> > replacing EFI_CALLER_ID_GUID -- and the comment! -- with
> > EDKII_SERIAL_VENDOR_GUID, in the "mSerialDevicePath"
> > initializer (in
> > "MdeModulePkg/Universal/SerialDxe/SerialIo.c").
> >
> > Correct?
>
> Yes.
>
> >
> > Can we suggest an include file name too, in place of
> > "MdeModulePkg/Include/Guid/SerialDxe.h"?
>
> The SerialDxe module uses the services of the SeriaPortLib to
> produce the Serial I/O Protocol. Instead of a physical register
> interface such as UART in HW, the SW APIs of the SerialPortLib are
> used. The GUIDed Vendor HW node in the device path for the HW
> register case would be a GUID value and name(s) that represents
> the HW device used to perform the Serial I/O actions. Applying
> this to the SerialPortLib access would imply GUID and Include
> file names that are associated with the SerialPortLib. Perhaps:
>
> MdeModulePkg/Include/Guid/SerialPortLibVendor.h
>
> EDKII_SERIAL_PORT_LIB_VENDOR_GUID
>
> gEdkiiSerialPortLibVendorGuid
Thank you all, I'll update the patches.
--
Anthony PERARD
prev parent reply other threads:[~2019-06-06 12:33 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
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 [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=20190606123313.GL2126@perard.uk.xensource.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