public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Wu, Hao A" <hao.a.wu@intel.com>
To: "Zhang, Shenglei" <shenglei.zhang@intel.com>,
	"devel@edk2.groups.io" <devel@edk2.groups.io>
Cc: "Wang, Jian J" <jian.j.wang@intel.com>
Subject: Re: [PATCH 2/2] MdeModulePkg/SerialDxe: Update the file Guid in SerialDxe.inf
Date: Mon, 9 Sep 2019 01:20:35 +0000	[thread overview]
Message-ID: <B80AF82E9BFB8E4FBD8C89DA810C6A093C93111B@SHSMSX104.ccr.corp.intel.com> (raw)
In-Reply-To: <20190905074722.13564-3-shenglei.zhang@intel.com>

> -----Original Message-----
> From: Zhang, Shenglei
> Sent: Thursday, September 05, 2019 3:47 PM
> To: devel@edk2.groups.io
> Cc: Wang, Jian J; Wu, Hao A
> Subject: [PATCH 2/2] MdeModulePkg/SerialDxe: Update the file Guid in
> SerialDxe.inf
> 
> FILE GUID in MdeModulePkg\Universal\SerialDxe\SerialDxe.inf is
> same to the one gEdkiiSerialPortLibVendorGuid.


The reason that these two GUIDs are identical roots from the fact that before
commit cf78c9d18a:
* MdeModulePkg: Introduce EDKII_SERIAL_PORT_LIB_VENDOR_GUID

the SerialDxe driver uses its own FILE_GUID for constructing a device path node
on a handle that it creates. And PlatformBootManagerLib instances have to refer
to this FILE_GUID.

After commits b0663641c9..fec63bb922, a new definition
EDKII_SERIAL_PORT_LIB_VENDOR_GUID was added (which has the same value with the
FILE_GUID of SerialDxe), so that consumers can use this one instead and the
compatibility is also kept.


> Its FILE GUID should be updated to another value.


Since all the PlatformBootManagerLib instances have been updated to use
EDKII_SERIAL_PORT_LIB_VENDOR_GUID, it should be safe to change the FILE_GUID of
SerialDxe. So for the patch:

Reviewed-by: Hao A Wu <hao.a.wu@intel.com>

Best Regards,
Hao Wu


> https://bugzilla.tianocore.org/show_bug.cgi?id=2144
> 
> Cc: Jian J Wang <jian.j.wang@intel.com>
> Cc: Hao A Wu <hao.a.wu@intel.com>
> Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com>
> ---
>  MdeModulePkg/Universal/SerialDxe/SerialDxe.inf | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/MdeModulePkg/Universal/SerialDxe/SerialDxe.inf
> b/MdeModulePkg/Universal/SerialDxe/SerialDxe.inf
> index b6c85b3f848d..ab5e045ead3d 100644
> --- a/MdeModulePkg/Universal/SerialDxe/SerialDxe.inf
> +++ b/MdeModulePkg/Universal/SerialDxe/SerialDxe.inf
> @@ -11,7 +11,7 @@ [Defines]
>    INF_VERSION                    = 0x00010005
>    BASE_NAME                      = SerialDxe
>    MODULE_UNI_FILE                = SerialDxe.uni
> -  FILE_GUID                      = D3987D4B-971A-435F-8CAF-4967EB627241
> +  FILE_GUID                      = 3bd86846-4ad0-4e94-81e6-9ea34cd34cxb
>    MODULE_TYPE                    = DXE_DRIVER
>    VERSION_STRING                 = 1.0
> 
> --
> 2.18.0.windows.1


  reply	other threads:[~2019-09-09  1:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-05  7:47 [PATCH 0/2] Update file guids in INF files Zhang, Shenglei
2019-09-05  7:47 ` [PATCH 1/2] EmulatorPkg/PeiEmuSerialPortLib: Update the INF file Guid Zhang, Shenglei
2019-09-05  7:47 ` [PATCH 2/2] MdeModulePkg/SerialDxe: Update the file Guid in SerialDxe.inf Zhang, Shenglei
2019-09-09  1:20   ` Wu, Hao A [this message]
     [not found] ` <15C17B3D71A3600C.31066@groups.io>
     [not found]   ` <C0706E73DB8C124D9B9C38AA364E5D5E0562C748@SHSMSX106.ccr.corp.intel.com>
2019-09-16  6:38     ` [edk2-devel] [PATCH 1/2] EmulatorPkg/PeiEmuSerialPortLib: Update the INF file Guid Ni, Ray

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=B80AF82E9BFB8E4FBD8C89DA810C6A093C93111B@SHSMSX104.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