From nobody Sun Feb 8 19:26:11 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+42009+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1559826909; cv=none; d=zoho.com; s=zohoarc; b=L9z7ce8eGd+F4zAFID7omhjLpAEOCkpv0orwdZkbb/W6CJkdR5B+T5xEn/JlO0Je/iciQ0iFh6XIb75Eqw42NLFXuSKWk2JYeiRbhL68b+KysMXJqS3aThmGbkzDjX16Rzv2za82H5Z57L+h4uFKv00Y3PMKsfvCBG+BZKfH1Cw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1559826909; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To:ARC-Authentication-Results; bh=roKQhpa/JWN8ND50SXD3jqvysl1SBLMyphhc56zUORU=; b=hdWB+wVRWYsrh+61dekh+2oZ+GjRSigqPlPPisVeYgSAEjRy9dIi7J25y5o+Izj7K6zXFga3JGQ6pN+bmewrf/5ldSMPPAQQ9CMooycCrExl7TBIztI57lyFI52MMtZHnwQU4skrqT0w35uPH2qe3CxP0Nv0nkCWcavW2lIGq/U= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+42009+1787277+3901457@groups.io Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1559826909811911.5608110459482; Thu, 6 Jun 2019 06:15:09 -0700 (PDT) Return-Path: X-Received: from esa1.hc3370-68.iphmx.com (esa1.hc3370-68.iphmx.com []) by groups.io with SMTP; Thu, 06 Jun 2019 06:15:08 -0700 Received-SPF: pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+42009+1787277+3901457@groups.io; helo=web01.groups.io; Received-SPF: None (esa1.hc3370-68.iphmx.com: no sender authenticity information available from domain of anthony.perard@citrix.com) identity=pra; client-ip=162.221.158.21; receiver=esa1.hc3370-68.iphmx.com; envelope-from="anthony.perard@citrix.com"; x-sender="anthony.perard@citrix.com"; x-conformance=sidf_compatible Received-SPF: SoftFail (esa1.hc3370-68.iphmx.com: domain of anthony.perard@citrix.com is inclined to not designate 162.221.158.21 as permitted sender) identity=mailfrom; client-ip=162.221.158.21; receiver=esa1.hc3370-68.iphmx.com; envelope-from="anthony.perard@citrix.com"; x-sender="anthony.perard@citrix.com"; x-conformance=sidf_compatible; x-record-type="v=spf1"; x-record-text="v=spf1 include:spf.citrix.com include:spf2.citrix.com include:ironport.citrix.com exists:%{i}._spf.mta.salesforce.com ~all" Received-SPF: None (esa1.hc3370-68.iphmx.com: no sender authenticity information available from domain of postmaster@mail.citrix.com) identity=helo; client-ip=162.221.158.21; receiver=esa1.hc3370-68.iphmx.com; envelope-from="anthony.perard@citrix.com"; x-sender="postmaster@mail.citrix.com"; x-conformance=sidf_compatible IronPort-SDR: 7EQ2SAG2bHf5azKRa+VpFlLdkpKge0QrjnGKM56mV5XpmaHX63gU+RtzzahdZXVkF6FMavnGUx DrRo+HvROE2+q00eX+O7yv3/1bnru12m4X+Biy2DyLjj4DGwvChtgIPTGnDJrbhvHTjKLPyxz1 LhHOugyZQv34gWp72n/2jS2YeEiS9AO/fK4KJJX1DAY8o6sK0T5M8d6vXuUxDa0F71kGoykI3i CQBnlnrDM58ChY8IbAkHgPtHT7rmaOo+Bps48dyM6Jcr4UGJ/K7ynV2FMfgtVyI2UvEVhJimKR ttk= X-SBRS: -0.9 X-MesageID: 1407202 X-Ironport-Server: esa1.hc3370-68.iphmx.com X-Remote-IP: 162.221.158.21 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.63,559,1557201600"; d="scan'208";a="1407202" From: "Anthony PERARD" To: CC: Ray Ni , Julien Grall , "Ard Biesheuvel" , Leif Lindholm , Laszlo Ersek , Jian J Wang , Hao A Wu , Star Zeng , Anthony PERARD Subject: [edk2-devel] [PATCH v2 1/4] MdeModulePkg: Introduce EDKII_SERIAL_PORT_LIB_VENDOR_GUID Date: Thu, 6 Jun 2019 14:14:56 +0100 Message-ID: <20190606131459.1464-2-anthony.perard@citrix.com> In-Reply-To: <20190606131459.1464-1-anthony.perard@citrix.com> References: <20190606131459.1464-1-anthony.perard@citrix.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,anthony.perard@citrix.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1559826909; bh=WQZVdE2wJmR3ayEjVfUBcIuTlgSW6QBTH5A530SPqtw=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=gsj1lPe9L3qBr4C0ufQ5nleaSf1Wl2YFgVDhWQDGe/sToeIcaWM4LOTAGEYkJY2algB jJ/o6H4H+GZ9glYczdqYkRHi/cTx1BSZ4hk7f/mpnBY4HxhKE4Rdm1JBJ6Ae3jV8Bwzcy cq6E3PIJoUGgURqNWepNDF6uaCxSHdA6Lmo= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" SERIAL_DXE_FILE_GUID is used in different places, create a single define that other can use. Also fix SerialDxe to actually use EDKII_SERIAL_PORT_LIB_VENDOR_GUID in the device path instead of the FILE_GUID. Suggested-by: Laszlo Ersek Signed-off-by: Anthony PERARD Acked-by: Ard Biesheuvel Reviewed-by: Hao A Wu Reviewed-by: Laszlo Ersek Tested-by: Laszlo Ersek --- Notes: Suggested in: Message-ID: <7d6adf5d-baca-7e9c-68ef-2f8479bbd902@redhat.= com> MdeModulePkg/MdeModulePkg.dec | 3 +++ .../Universal/SerialDxe/SerialDxe.inf | 1 + .../Include/Guid/SerialPortLibVendor.h | 19 +++++++++++++++++++ MdeModulePkg/Universal/SerialDxe/SerialIo.c | 3 ++- 4 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 MdeModulePkg/Include/Guid/SerialPortLibVendor.h diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec index 6cba729982..2dee139ba3 100644 --- a/MdeModulePkg/MdeModulePkg.dec +++ b/MdeModulePkg/MdeModulePkg.dec @@ -396,6 +396,9 @@ [Guids] ## Include/Guid/S3StorageDeviceInitList.h gS3StorageDeviceInitListGuid =3D { 0x310e9b8c, 0xcf90, 0x421e, { 0x8e, 0= x9b, 0x9e, 0xef, 0xb6, 0x17, 0xc8, 0xef } } =20 + ## Include/Guid/SerialPortLibVendor.h + gEdkiiSerialPortLibVendorGuid =3D { 0xD3987D4B, 0x971A, 0x435F, { 0x8C, = 0xAF, 0x49, 0x67, 0xEB, 0x62, 0x72, 0x41 } } + [Ppis] ## Include/Ppi/AtaController.h gPeiAtaControllerPpiGuid =3D { 0xa45e60d1, 0xc719, 0x44aa, { 0xb0,= 0x7a, 0xaa, 0x77, 0x7f, 0x85, 0x90, 0x6d }} diff --git a/MdeModulePkg/Universal/SerialDxe/SerialDxe.inf b/MdeModulePkg/= Universal/SerialDxe/SerialDxe.inf index 81066a26a2..b6c85b3f84 100644 --- a/MdeModulePkg/Universal/SerialDxe/SerialDxe.inf +++ b/MdeModulePkg/Universal/SerialDxe/SerialDxe.inf @@ -22,6 +22,7 @@ [Sources.common] =20 [Packages] MdePkg/MdePkg.dec + MdeModulePkg/MdeModulePkg.dec =20 [LibraryClasses] UefiDriverEntryPoint diff --git a/MdeModulePkg/Include/Guid/SerialPortLibVendor.h b/MdeModulePkg= /Include/Guid/SerialPortLibVendor.h new file mode 100644 index 0000000000..887f96c30a --- /dev/null +++ b/MdeModulePkg/Include/Guid/SerialPortLibVendor.h @@ -0,0 +1,19 @@ +/** @file + Define the SerialDxe GUID. + + Copyright (c) 2019, Citrix Systems, Inc. + + SPDX-License-Identifier: BSD-2-Clause-Patent +**/ + +#ifndef __SERIAL_PORT_LIB_VENDOR_H__ +#define __SERIAL_PORT_LIB_VENDOR_H__ + +#define EDKII_SERIAL_PORT_LIB_VENDOR_GUID { \ + 0xD3987D4B, 0x971A, 0x435F, \ + { 0x8C, 0xAF, 0x49, 0x67, 0xEB, 0x62, 0x72, 0x41 } \ + } + +extern EFI_GUID gEdkiiSerialPortLibVendorGuid; + +#endif // __SERIAL_PORT_LIB_VENDOR_H__ diff --git a/MdeModulePkg/Universal/SerialDxe/SerialIo.c b/MdeModulePkg/Uni= versal/SerialDxe/SerialIo.c index 720a3f264a..fb816a1611 100644 --- a/MdeModulePkg/Universal/SerialDxe/SerialIo.c +++ b/MdeModulePkg/Universal/SerialDxe/SerialIo.c @@ -16,6 +16,7 @@ =20 #include #include +#include =20 typedef struct { VENDOR_DEVICE_PATH Guid; @@ -159,7 +160,7 @@ EFI_HANDLE mSerialHandle =3D NULL; SERIAL_DEVICE_PATH mSerialDevicePath =3D { { { HARDWARE_DEVICE_PATH, HW_VENDOR_DP, { sizeof (VENDOR_DEVICE_PATH), 0= } }, - EFI_CALLER_ID_GUID // Use the driver's GUID + EDKII_SERIAL_PORT_LIB_VENDOR_GUID }, { { MESSAGING_DEVICE_PATH, MSG_UART_DP, { sizeof (UART_DEVICE_PATH), 0} = }, --=20 Anthony PERARD -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#42009): https://edk2.groups.io/g/devel/message/42009 Mute This Topic: https://groups.io/mt/31950875/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Sun Feb 8 19:26:11 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+42005+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1559826904; cv=none; d=zoho.com; s=zohoarc; b=lmzf33zFMGUh3E3hS+7kdw3WbJYRfQ6Ov+u5uLmC/EMUfgPpC0/HG+4q8sRtnZqV3Y/Vk5ho/kECGSiSVMR1h+ZWm9VNYEkBl+7JTLFRM5OGDOAd2lkiAsggyOCo2ZHpRpJbIjNjxx1CF7mTqBlQ6dqzXh/rDokPkZtgZVwxE4w= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1559826904; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To:ARC-Authentication-Results; bh=ixdclT9FgliftDtuaHTUEbIxmxoxRZ0t05XL9StYZpI=; b=P91zt0ppLRN9CZR8tDXX+9lN9ANGsTjX6ZhmHn0RSA37zeSIKXwcQBM9k3Qfs4UeA7UsWsw1QTJvsIWj/kUkelAtfnaPGciL1ffBg/f0bKwZb2bsEwzk+1Y3s4JcmliRb3CaXf3WaX/ElE+BnEt8gDeT94wFcNPCZ4V2whbEtvs= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+42005+1787277+3901457@groups.io Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1559826904912661.411329925897; Thu, 6 Jun 2019 06:15:04 -0700 (PDT) Return-Path: X-Received: from esa1.hc3370-68.iphmx.com (esa1.hc3370-68.iphmx.com [216.71.145.142]) by groups.io with SMTP; Thu, 06 Jun 2019 06:15:02 -0700 Received-SPF: pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+42005+1787277+3901457@groups.io; helo=web01.groups.io; Received-SPF: None (esa1.hc3370-68.iphmx.com: no sender authenticity information available from domain of anthony.perard@citrix.com) identity=pra; client-ip=162.221.158.21; receiver=esa1.hc3370-68.iphmx.com; envelope-from="anthony.perard@citrix.com"; x-sender="anthony.perard@citrix.com"; x-conformance=sidf_compatible Received-SPF: SoftFail (esa1.hc3370-68.iphmx.com: domain of anthony.perard@citrix.com is inclined to not designate 162.221.158.21 as permitted sender) identity=mailfrom; client-ip=162.221.158.21; receiver=esa1.hc3370-68.iphmx.com; envelope-from="anthony.perard@citrix.com"; x-sender="anthony.perard@citrix.com"; x-conformance=sidf_compatible; x-record-type="v=spf1"; x-record-text="v=spf1 include:spf.citrix.com include:spf2.citrix.com include:ironport.citrix.com exists:%{i}._spf.mta.salesforce.com ~all" Received-SPF: None (esa1.hc3370-68.iphmx.com: no sender authenticity information available from domain of postmaster@mail.citrix.com) identity=helo; client-ip=162.221.158.21; receiver=esa1.hc3370-68.iphmx.com; envelope-from="anthony.perard@citrix.com"; x-sender="postmaster@mail.citrix.com"; x-conformance=sidf_compatible IronPort-SDR: jSkNTq5KgI1UUfyeRmEVTvAyNntR7GhG4zZ7OpY0LxBH6Yrf1y5yAICg2q248iSQNyznCyZBgO yAYEJOT93dHH3yBN1j3PsRoQv6OxMOH7UHY1ECT0w5v+GHBimJRl8Gj0aZ4ZEVBHgrbhMaCFm6 qGYL6wsMGchxa6Jbur0NCQDIeW7E7+yx4jvy/+xgBbPf9tLA4TFX4MqFeA083rJ/hPe4/VhvQJ 7YJqPf5MZFcYV9l6JFV4Zemxb8FpQ7p8P7+q6e60q57JDfpi4a1kLFU/kJAHXg/QMLeX0Et/RG Ilw= X-SBRS: -0.9 X-MesageID: 1407174 X-Ironport-Server: esa1.hc3370-68.iphmx.com X-Remote-IP: 162.221.158.21 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.63,559,1557201600"; d="scan'208";a="1407174" From: "Anthony PERARD" To: CC: Ray Ni , Julien Grall , "Ard Biesheuvel" , Leif Lindholm , Laszlo Ersek , Jian J Wang , Hao A Wu , Star Zeng , Anthony PERARD Subject: [edk2-devel] [PATCH v2 2/4] ArmVirtPkg/PlatformBootManagerLib: Use EDKII_SERIAL_PORT_LIB_VENDOR_GUID from MdeModulePkg Date: Thu, 6 Jun 2019 14:14:57 +0100 Message-ID: <20190606131459.1464-3-anthony.perard@citrix.com> In-Reply-To: <20190606131459.1464-1-anthony.perard@citrix.com> References: <20190606131459.1464-1-anthony.perard@citrix.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,anthony.perard@citrix.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1559826903; bh=LBqLfuMyCj0/7foOTFu5de2LDonP414OpvxFcp/Rbp0=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=EYogxcUFWcAULgLe3VYI2PBVurWAH/OJwM9V3sveytYXAyp98rxUauwAxgob40+eJcY xVMWr253ty8Qgj2jG3zQ9xxiyTN/pMU4Hp1v2DF+vryzq1RLID4vBmGUUtyv4Kun2uspI EZF91zSLOo0wJQ/6iR9bZHDK9j6j+ZsOIZg= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" SERIAL_DXE_FILE_GUID is now defined in MdeModulePkg as EDKII_SERIAL_PORT_LIB_VENDOR_GUID, simply use it. Signed-off-by: Anthony PERARD Acked-by: Ard Biesheuvel Reviewed-by: Laszlo Ersek Tested-by: Laszlo Ersek --- ArmVirtPkg/Library/PlatformBootManagerLib/PlatformBm.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/ArmVirtPkg/Library/PlatformBootManagerLib/PlatformBm.c b/ArmVi= rtPkg/Library/PlatformBootManagerLib/PlatformBm.c index b8f50ea96b..30c015eec5 100644 --- a/ArmVirtPkg/Library/PlatformBootManagerLib/PlatformBm.c +++ b/ArmVirtPkg/Library/PlatformBootManagerLib/PlatformBm.c @@ -26,6 +26,7 @@ #include #include #include +#include =20 #include "PlatformBm.h" =20 @@ -41,18 +42,13 @@ typedef struct { } PLATFORM_SERIAL_CONSOLE; #pragma pack () =20 -#define SERIAL_DXE_FILE_GUID { \ - 0xD3987D4B, 0x971A, 0x435F, \ - { 0x8C, 0xAF, 0x49, 0x67, 0xEB, 0x62, 0x72, 0x41 } \ - } - STATIC PLATFORM_SERIAL_CONSOLE mSerialConsole =3D { // // VENDOR_DEVICE_PATH SerialDxe // { { HARDWARE_DEVICE_PATH, HW_VENDOR_DP, DP_NODE_LEN (VENDOR_DEVICE_PATH)= }, - SERIAL_DXE_FILE_GUID + EDKII_SERIAL_PORT_LIB_VENDOR_GUID }, =20 // --=20 Anthony PERARD -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#42005): https://edk2.groups.io/g/devel/message/42005 Mute This Topic: https://groups.io/mt/31950871/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Sun Feb 8 19:26:11 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+42008+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1559826909; cv=none; d=zoho.com; s=zohoarc; b=h/cAQn811Y+xfTSTOwhiPCPRhC+w0I0LmYKxzWx2DwoCNF8jCo2DmFAz4t1GjWCj52o9vnBN+ISybpI11FN2qYAuCOp2mxkXoefQX4k4DAhxSeJdX2ZZrGy/MeF7Bq64PgdbtwqsBDH9PU04+AFDiKSPDk9ROqfnJxKCvFzTdlA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1559826909; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To:ARC-Authentication-Results; bh=qt07E/1sSufZkra17ixPovse8ofXsvzkGz1V89EAvwg=; b=l4zjW9vHx2rMcmf9BOrWKn8dbTyzYftQrq5IksnimLo8GuOtmejIkQC0ZHliwlX6Nh+axXFy8dSbBc0q9sQUvMl+AGiXnPWLaVhvnl2lHOkrcCjslbA3Nn0K8l238mrYgVrU0m0ni+GcHBIW/QSzmt+y6REJ1BBejDNQ211bqzw= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+42008+1787277+3901457@groups.io Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1559826909584752.5293440210855; Thu, 6 Jun 2019 06:15:09 -0700 (PDT) Return-Path: X-Received: from esa1.hc3370-68.iphmx.com (esa1.hc3370-68.iphmx.com []) by groups.io with SMTP; Thu, 06 Jun 2019 06:15:07 -0700 Received-SPF: pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+42008+1787277+3901457@groups.io; helo=web01.groups.io; Received-SPF: None (esa1.hc3370-68.iphmx.com: no sender authenticity information available from domain of anthony.perard@citrix.com) identity=pra; client-ip=162.221.158.21; receiver=esa1.hc3370-68.iphmx.com; envelope-from="anthony.perard@citrix.com"; x-sender="anthony.perard@citrix.com"; x-conformance=sidf_compatible Received-SPF: SoftFail (esa1.hc3370-68.iphmx.com: domain of anthony.perard@citrix.com is inclined to not designate 162.221.158.21 as permitted sender) identity=mailfrom; client-ip=162.221.158.21; receiver=esa1.hc3370-68.iphmx.com; envelope-from="anthony.perard@citrix.com"; x-sender="anthony.perard@citrix.com"; x-conformance=sidf_compatible; x-record-type="v=spf1"; x-record-text="v=spf1 include:spf.citrix.com include:spf2.citrix.com include:ironport.citrix.com exists:%{i}._spf.mta.salesforce.com ~all" Received-SPF: None (esa1.hc3370-68.iphmx.com: no sender authenticity information available from domain of postmaster@mail.citrix.com) identity=helo; client-ip=162.221.158.21; receiver=esa1.hc3370-68.iphmx.com; envelope-from="anthony.perard@citrix.com"; x-sender="postmaster@mail.citrix.com"; x-conformance=sidf_compatible IronPort-SDR: KJwJUkq5cSfJC8Iw/Lar7lc/mMP87nAvL7qJySnuZ5JJZOvbNmfLl+531pF9qJ6fCqAa/hBGjs JchFtQBbvCM8Vp1kJHGpa27pKTC1PgJwlhkSCs3eTtlARo4EwiDBnCH8KUh71Vrmkh4en9URbo Riebd7UiQqyg9WbObjRTVLRq5q9YkK93wT7Fa7mS0PvufOTjdf63dbCxRgIraXUSJvWjwn38SZ 1wOwvkV34Phfk6rMeby6+wECWRuhnSmTiwa9cRZapTuuSMAbT083+Q8+0yvZA70jZfjFOgr2Ry be4= X-SBRS: -0.9 X-MesageID: 1407195 X-Ironport-Server: esa1.hc3370-68.iphmx.com X-Remote-IP: 162.221.158.21 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.63,559,1557201600"; d="scan'208";a="1407195" From: "Anthony PERARD" To: CC: Ray Ni , Julien Grall , "Ard Biesheuvel" , Leif Lindholm , Laszlo Ersek , Jian J Wang , Hao A Wu , Star Zeng , Anthony PERARD Subject: [edk2-devel] [PATCH v2 3/4] ArmPkg/PlatformBootManagerLib: Use EDKII_SERIAL_PORT_LIB_VENDOR_GUID from MdeModulePkg Date: Thu, 6 Jun 2019 14:14:58 +0100 Message-ID: <20190606131459.1464-4-anthony.perard@citrix.com> In-Reply-To: <20190606131459.1464-1-anthony.perard@citrix.com> References: <20190606131459.1464-1-anthony.perard@citrix.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,anthony.perard@citrix.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1559826908; bh=JQ+E6KvTFG8IQAczcuLe+KiSusFwaOt4shHpdfgYSCg=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=X670RCjseTe5tOB39QeoSSTk2Q/x5CHbD84R4w8+dExjV2baJ1mfynd9fOxFuysGGSa nFtNYfDfes5U7awgAs53Z8FRfiiimloGRNsOq8dKztreqMKwv8KPlB/UyqGvYB6f9cvJR k1GnnO4IYBopw+u58zE/6SBAh4zkOSzggWs= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" SERIAL_DXE_FILE_GUID is now defined in MdeModulePkg as EDKII_SERIAL_PORT_LIB_VENDOR_GUID, simply use it. Signed-off-by: Anthony PERARD Acked-by: Ard Biesheuvel Tested-by: Laszlo Ersek --- ArmPkg/Library/PlatformBootManagerLib/PlatformBm.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/ArmPkg/Library/PlatformBootManagerLib/PlatformBm.c b/ArmPkg/Li= brary/PlatformBootManagerLib/PlatformBm.c index 0f91692c1a..1e30f148b3 100644 --- a/ArmPkg/Library/PlatformBootManagerLib/PlatformBm.c +++ b/ArmPkg/Library/PlatformBootManagerLib/PlatformBm.c @@ -28,6 +28,7 @@ #include #include #include +#include =20 #include "PlatformBm.h" =20 @@ -42,18 +43,13 @@ typedef struct { } PLATFORM_SERIAL_CONSOLE; #pragma pack () =20 -#define SERIAL_DXE_FILE_GUID { \ - 0xD3987D4B, 0x971A, 0x435F, \ - { 0x8C, 0xAF, 0x49, 0x67, 0xEB, 0x62, 0x72, 0x41 } \ - } - STATIC PLATFORM_SERIAL_CONSOLE mSerialConsole =3D { // // VENDOR_DEVICE_PATH SerialDxe // { { HARDWARE_DEVICE_PATH, HW_VENDOR_DP, DP_NODE_LEN (VENDOR_DEVICE_PATH)= }, - SERIAL_DXE_FILE_GUID + EDKII_SERIAL_PORT_LIB_VENDOR_GUID }, =20 // --=20 Anthony PERARD -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#42008): https://edk2.groups.io/g/devel/message/42008 Mute This Topic: https://groups.io/mt/31950874/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Sun Feb 8 19:26:11 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+42007+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1559826905; cv=none; d=zoho.com; s=zohoarc; b=AeCpf1SI9VPss27mvRbZwzlEIccrEwr9do/+0j8AxhVctTHAygCX5hwN2gM4oZpX6y6BRnMLRV4gks5OV+bjybeo2Y37f6aiZWVoWtLhbinjAkdimE6stW/vslRKx8WTh8ZrdmZOrKYMCCvqlyb60EBvejPnAd5ISYPCY8Z5F3s= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1559826905; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To:ARC-Authentication-Results; bh=KvbveLK55UmT/8PZuzyy+Lf7sAvEr44kmdLIfFxEMOs=; b=CqDuNBoke6/aHibqnZZVjYChfbblhHKzYEuW7za+cffZl2EVn+H89v9l20kjymEzi43OaWWaIlDsWui9xT0YKhRl1wugGSxM3cnOtuYenVD1CLy49AeHxC1urO+8YBQVvzfUaB7nzcZKSunEteL/B1QNbNQESma+SirBEtca4a4= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+42007+1787277+3901457@groups.io Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1559826905481605.807585314283; Thu, 6 Jun 2019 06:15:05 -0700 (PDT) Return-Path: X-Received: from esa1.hc3370-68.iphmx.com (esa1.hc3370-68.iphmx.com []) by groups.io with SMTP; Thu, 06 Jun 2019 06:15:04 -0700 Received-SPF: pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+42007+1787277+3901457@groups.io; helo=web01.groups.io; Received-SPF: None (esa1.hc3370-68.iphmx.com: no sender authenticity information available from domain of anthony.perard@citrix.com) identity=pra; client-ip=162.221.158.21; receiver=esa1.hc3370-68.iphmx.com; envelope-from="anthony.perard@citrix.com"; x-sender="anthony.perard@citrix.com"; x-conformance=sidf_compatible Received-SPF: SoftFail (esa1.hc3370-68.iphmx.com: domain of anthony.perard@citrix.com is inclined to not designate 162.221.158.21 as permitted sender) identity=mailfrom; client-ip=162.221.158.21; receiver=esa1.hc3370-68.iphmx.com; envelope-from="anthony.perard@citrix.com"; x-sender="anthony.perard@citrix.com"; x-conformance=sidf_compatible; x-record-type="v=spf1"; x-record-text="v=spf1 include:spf.citrix.com include:spf2.citrix.com include:ironport.citrix.com exists:%{i}._spf.mta.salesforce.com ~all" Received-SPF: None (esa1.hc3370-68.iphmx.com: no sender authenticity information available from domain of postmaster@mail.citrix.com) identity=helo; client-ip=162.221.158.21; receiver=esa1.hc3370-68.iphmx.com; envelope-from="anthony.perard@citrix.com"; x-sender="postmaster@mail.citrix.com"; x-conformance=sidf_compatible IronPort-SDR: GWis7vo3PD8a12+/5Y/YqGgGHXZ4AcibNsJ4TVL9TkO+8ECzsdAO2w+GK2fSf/9z9e2g0iPoNU z9FfZsNf7BMyjKANq2neb+EN9YTl4PwOPK1TO/axHSocHgm7oK4zEv2pXRAsWdaodQTPm/cDEf RnLuacndhapiVrmm+4IVszHZgF7DNg1rm4XPnbqhQFLfuIYMoqN7bGeLZ57Ua2o6xbmqhexBbO NUSrk+O0CuJr5xT5s0RTmYpGpR7XWLVG8fqdVadcPkasmQtCySzj6cbt7N64wwM55KIQycMr3F NC4= X-SBRS: -0.9 X-MesageID: 1407177 X-Ironport-Server: esa1.hc3370-68.iphmx.com X-Remote-IP: 162.221.158.21 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.63,559,1557201600"; d="scan'208";a="1407177" From: "Anthony PERARD" To: CC: Ray Ni , Julien Grall , "Ard Biesheuvel" , Leif Lindholm , Laszlo Ersek , Jian J Wang , Hao A Wu , Star Zeng , Anthony PERARD Subject: [edk2-devel] [PATCH v2 4/4] UefiPayloadPkg/PlatformBootManagerLib: Use EDKII_SERIAL_PORT_LIB_VENDOR_GUID from MdeModulePkg Date: Thu, 6 Jun 2019 14:14:59 +0100 Message-ID: <20190606131459.1464-5-anthony.perard@citrix.com> In-Reply-To: <20190606131459.1464-1-anthony.perard@citrix.com> References: <20190606131459.1464-1-anthony.perard@citrix.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,anthony.perard@citrix.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1559826904; bh=VF9sk5FOj9WCSU2RwdbttMf2KII5/Hn7RlHGO0iljWc=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=e/3r96CNTOZ1K13e1EirYmvBtfxHW8JFJMnfHmwK2JFTlMAvmMM/d9UxNH0ssqXJL4C YvnJ0KGfgkZVxPkMoWh/CT1vAYqWiKlvh04ijW8OXJVlr8GSSQzxhj9uEQPstmWsIUWti 8MV52zNa6uI2YYPvIQe0euNYbTzZt5qNT90= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" EDKII_SERIAL_PORT_LIB_VENDOR_GUID is now defined in MdeModulePkg, simply use it. Signed-off-by: Anthony PERARD Acked-by: Ard Biesheuvel Reviewed-by: Maurice Ma Tested-by: Laszlo Ersek --- .../Library/PlatformBootManagerLib/PlatformConsole.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformConsole.= c b/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformConsole.c index 80a11d7451..ee2d8c8d1e 100644 --- a/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformConsole.c +++ b/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformConsole.c @@ -8,6 +8,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent =20 #include "PlatformBootManager.h" #include "PlatformConsole.h" +#include =20 #define PCI_DEVICE_PATH_NODE(Func, Dev) \ { \ @@ -53,7 +54,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent (UINT8) ((sizeof (VENDOR_DEVICE_PATH)) >> 8) \ } \ }, \ - {0xD3987D4B, 0x971A, 0x435F, {0x8C, 0xAF, 0x49, 0x67, 0xEB, 0x62, 0x72= , 0x41}} \ + EDKII_SERIAL_PORT_LIB_VENDOR_GUID \ } =20 #define gUart \ --=20 Anthony PERARD -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#42007): https://edk2.groups.io/g/devel/message/42007 Mute This Topic: https://groups.io/mt/31950873/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-