From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mx.groups.io with SMTP id smtpd.web09.5230.1616715108006590652 for ; Thu, 25 Mar 2021 16:31:48 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=NkAjP78E; spf=pass (domain: intel.com, ip: 134.134.136.65, mailfrom: ray.ni@intel.com) IronPort-SDR: ycYzOo09kDS5DmqaeJafM3+7bVeAirDzcyMctHZbemewLioJ0+pyBbTmlmkrSrHUDta06Dtgqq xBD5VT55xDdg== X-IronPort-AV: E=McAfee;i="6000,8403,9934"; a="191072520" X-IronPort-AV: E=Sophos;i="5.81,278,1610438400"; d="scan'208,217";a="191072520" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Mar 2021 16:31:43 -0700 IronPort-SDR: twAcmaGvO4OHbvxBDJQ8sA/GNalE65qTOq9EFxd6Kujywt1DueMQ9MNHZEID7Pr3aTWJ6jgKFZ fFA2xlmI/YPw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,278,1610438400"; d="scan'208,217";a="605316245" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by fmsmga006.fm.intel.com with ESMTP; 25 Mar 2021 16:31:40 -0700 Received: from fmsmsx605.amr.corp.intel.com (10.18.126.85) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Thu, 25 Mar 2021 16:31:40 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2 via Frontend Transport; Thu, 25 Mar 2021 16:31:40 -0700 Received: from NAM02-CY1-obe.outbound.protection.outlook.com (104.47.37.59) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2106.2; Thu, 25 Mar 2021 16:31:40 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RaKoENgNNaEcu6HzbmXIMbIKx/XbPGTeoXNB4DDNRP0oA0/lrDDXOqU4hnpXR79urRok8M6JZPrREaQGnYbS77165Kzu3gS/V5hFfOgmE6hrZBjpYkcaE5nyM2I2WOc3Idgokl13pI+h393S+Dp15owFgByUAFQgCqyLDO8dFzQmRRJkYAMf2G5j7BwYnvn5K5ClspG5NlY2nUEeHYRcGfgGpIMIsXEE+5ifAA4npB9Beif8iGjV4akfIINlxUoXv1uckqkZuY9AvbQTNuP+ucd16ZwG/NrP6r7rDkukd99e75/hT5P4bwiKj6i+PPEoLRVMsQZkHZoVV8MSILRSBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=aZIbQLAm85cMozQmL2dGb9el1VEDX2UDiwwDdTT4NNc=; b=MV8magUtN8g5OgGoS7BYwWv0oSc+v27YDHe6MSq+I9e49w+zvcDlGBqNCdJU9aN18cawd+DUnJ4mm1LWq//n8GDvTGOGDX8k+ojAD/opCk3GiEsWq3GQJHB4owaU8JFKL9im50oO9/QJrXVz4UZFxFngW82Kc8auMYVJPQ2ZsHokJF54Pjl4EvYygWEOfisYfdnJ7I4wpD5+x4KIYK8IwUIYqfDUBn1uuiw9rv44lo9yy4zaOq9QLZx15H5DqkF7LAziEXHMcCcDs+6gJjTSvo5Gzq4ULGUkrH+cZNKcQCn0Jbn9hVz9+9ZlMB38sF2RG369bjDOkhNKdLsxniauZA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=aZIbQLAm85cMozQmL2dGb9el1VEDX2UDiwwDdTT4NNc=; b=NkAjP78EaA+T2xcYyx83gU7ol8xzZ/zU8xk8WRfmoSgZQHnemYBgaWz5o2Jr2AIc93v4k3cTWh5oLIu8ukfKaDaAmF9wRJEzzUUY1F28eNqbE16/nPhQb/ez3zhRIjYLEOsp5i2yP+te7V8LF/vMTTNphjxCj8N1snfCAB9dznI= Received: from CO1PR11MB4930.namprd11.prod.outlook.com (2603:10b6:303:9b::11) by CO1PR11MB5108.namprd11.prod.outlook.com (2603:10b6:303:92::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3977.24; Thu, 25 Mar 2021 23:31:39 +0000 Received: from CO1PR11MB4930.namprd11.prod.outlook.com ([fe80::8d64:91ed:c259:e95]) by CO1PR11MB4930.namprd11.prod.outlook.com ([fe80::8d64:91ed:c259:e95%7]) with mapi id 15.20.3977.025; Thu, 25 Mar 2021 23:31:39 +0000 From: "Ni, Ray" To: "Bi, Dandan" , "devel@edk2.groups.io" Subject: Re: [edk2-platforms] [patch V2 03/35] Drivers/OptionRomPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib Thread-Topic: [edk2-platforms] [patch V2 03/35] Drivers/OptionRomPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib Thread-Index: AQHXHvRVDJsre36lDEaCR5HQrgGBN6qVYBKu Date: Thu, 25 Mar 2021 23:31:39 +0000 Message-ID: References: <20210322082040.14104-1-dandan.bi@intel.com>,<20210322082040.14104-4-dandan.bi@intel.com> In-Reply-To: <20210322082040.14104-4-dandan.bi@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [124.77.195.36] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e4881f14-bbee-478f-a33d-08d8efe623b0 x-ms-traffictypediagnostic: CO1PR11MB5108: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: nboxOg+wbL68KTpOMh2w91B69OQBc6pa/l8Ua5jJ6CyQhbE4k1HbwqPObXPllLYB9oJPGdSkCnVdxnoY0yL+tEqkejFSSu0KqTeHZHtglPCqm4A/QkC2URMmYe233BUeksoa3BnM0V0ZKarlpYOulFNqRVbR0ObB5XUwG6xMzHQzBhPUNs4hjJ4RH5z7kv4SHs5z1wILC9BbIpvXzDUN6091yLJ0JZjFzaqi3ClnW/H5Ntki1H2dSHOnal37elitEKRqNQ1EhKUaeOr7EHEu0u+e3GOS5hwmpmchzSI4wtsjdSESzB2OXpdQUqpQDbaG6U7YsIO56KYfzTU86kB0uGCZQyKW5R1O0jb341lPDXKRFXmt6hOp93L0iHVoMIZ/UVqSC6EUTqU/7g428dZRfMfS3DkqX3z6RFnTjyfnutSDR14eze63EDknUKkfeIpg9Tvf0h0tUmCPJQoSUvuZbZNmx05JEiWN4uNZp1guplh//VdyqazJ0CpfexRoml5+vbS1CMX11FGdjryAz1rZ2fAZiB1Cc2f1MkLo/Olmp7W/JbtcuZEYN6HVdsRgdEcdkCTUxpQA8+DStDl+KlwYIAYlN0wKh2Okw/oSOTJM/sa2qQQ8b3Vc6zEtxsxJSM/jA2IiQTC0MXJ0ogbDJt5pfcZtQt2ZBSrV8GHJiAaP+O+Imu3t1unJ7oo9L3rQ6zH/Qvxl3WeCt4PRol5asGFh0EbVf4B2/JOcihsCEH6YzUc= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CO1PR11MB4930.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(396003)(136003)(346002)(39860400002)(376002)(366004)(9686003)(6506007)(186003)(26005)(5660300002)(52536014)(53546011)(166002)(55016002)(91956017)(66476007)(76116006)(66556008)(64756008)(66946007)(33656002)(38100700001)(2906002)(7696005)(478600001)(966005)(316002)(8936002)(8676002)(86362001)(66446008)(83380400001)(110136005)(71200400001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?Jr/n+x4aEWqUkUSFBSZKQf7AXLeSzgBiOX68j8iSLScW/IeOL/IgmQxnpCIv?= =?us-ascii?Q?WBKJidedq0FkfAHmj9scSuBE3xZHGrXHqo5O42KlANtJ3faFYWcPTxSrExj9?= =?us-ascii?Q?LxINOt2HhOKd/HckjA2vlXJ9HmgmvSuqAVnmT5uIvSICLRTJ/8jDjVR+ODj4?= =?us-ascii?Q?z6Yuycw1wZZrzB0FGjiQ3UXYb/pO/to2CuiF05B+THKgGVAzZpPy8HErRY+J?= =?us-ascii?Q?BxykKJLE3SRiZgPcQjZJcIwINtCMzHNUyHEV55kqEP6PH7AYmdN0cJ9O9lQ+?= =?us-ascii?Q?ipqNOM5UeCDJ2+3FFvTLyivekY5CDYY3D4eWOOoZF/dtOOEFaZ3IvLi7NhSn?= =?us-ascii?Q?DjKtHDNI6SsMaW4vmdXmTXNtjH8TaWdbiwLhAHYLV5NEtOlXxZLhFQl6Iqtp?= =?us-ascii?Q?sv5ZBosTcztYOxkuq+LGa4uvAyUDHTaGjiChztV1FhXqyfFb2jGe+ZiZ2GmD?= =?us-ascii?Q?uBngUvnMN1C1irWnXtg9rR1qtDnf/bk97gZVinefDjrlftzVnEkjDHOfgYb8?= =?us-ascii?Q?C1mcLjVzWgXikV5CzjzAkm7xHQPlz5j4hamhQpiIVWhEGiDPCle7YpqwVW+b?= =?us-ascii?Q?6bV9OVNTaAX/gz1uhQHWctNJoJ0/PdDkj1N0zFk/ZBjilygs3HtVgs6FVDrV?= =?us-ascii?Q?1MKtnBA3Qpyzo0qFmIcq+GCyCdvc9zF7giW1Vmv0+stFiyJzEYTvTDbhMy4g?= =?us-ascii?Q?i2o7QwypHB8Zzu5sigxlTTnvxw8DFPCgt1rUhjZXFE5JDq0vaGMmrxtXWlys?= =?us-ascii?Q?a0cEOyg19DyHFp8PqtSQxYNd5F1qGl2pJaLeQeqjK7msjZ2YPJal+BjJsfg3?= =?us-ascii?Q?bmg4ns9r7BYoMQ3BpoFb5rNpo2uyjK5zXfqEd+mjDbGkAgxABizlxRvVkIcn?= =?us-ascii?Q?6/xd58+U103acEk2FxGYWoR8DfgQBe+zOhbNCEr8jTFP7KCoKV0rnSoDY3cU?= =?us-ascii?Q?PGxHXlxrheo8lgl5wOdvAuFzAbUJI3A4fXoxwYQ8ff5Xr+0tmRCMQoXVHq11?= =?us-ascii?Q?3dmS/P7DLsW+NzXyPYlXwvriCYc5hFzNRDumG246sIv7xtLPQWDDM1kantCp?= =?us-ascii?Q?/ZCvK6CbF4gxetZBwvMRghVGXIZNDk8c+KKwhxr5HhVp1EUIdyznAO/JALiv?= =?us-ascii?Q?H4/Tkr7xI+Mb4r25Xw8G4CMeUY2bXBM+LvB3NkdHdZqFWY2kR6Ws62bS5WDo?= =?us-ascii?Q?rUZoCmoHxEoc9ugPYmM9zc/FJEswxD+elicPQVVxgti7YBZK0sFw0sSAykid?= =?us-ascii?Q?F1gyT+c3lw2P7T74CM4x2lEJnxgnZOTdJlPAjbOEW3bFp1pzCJSImMS2SHVy?= =?us-ascii?Q?/5y8WI24Zk4c/+y/y+QEuzgvIHwm6aBvQ5ZAKaEnpL+qRw=3D=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO1PR11MB4930.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: e4881f14-bbee-478f-a33d-08d8efe623b0 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Mar 2021 23:31:39.2394 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: fCyzbYvZTQWled2mMyvlO4nkaKRxvEhCXGGnAs3cZtEzRNailB/mXkj7B2YnqHVhN2y5k9VWFxb5OBgnx+LgMA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR11MB5108 Return-Path: ray.ni@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_CO1PR11MB49305DD2DF5088100AF234918C629CO1PR11MB4930namp_" --_000_CO1PR11MB49305DD2DF5088100AF234918C629CO1PR11MB4930namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: ray.ni@intel.com thanks, ray ________________________________ From: Bi, Dandan Sent: Monday, March 22, 2021 4:20:08 PM To: devel@edk2.groups.io Cc: Ni, Ray Subject: [edk2-platforms] [patch V2 03/35] Drivers/OptionRomPkg: Consume Md= eLibs.dsc.inc for RegisterFilterLib REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3246 MdeLibs.dsc.inc was added for some basic/default library instances provided by MdePkg and RegisterFilterLibNull Library was also added into it as the first version of MdeLibs.dsc.inc. So update platform dsc to consume MdeLibs.dsc.inc for RegisterFilterLibNull which will be consumed by IoLib and BaseLib. Cc: Ray Ni Signed-off-by: Dandan Bi --- Drivers/OptionRomPkg/OptionRomPkg.dsc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Drivers/OptionRomPkg/OptionRomPkg.dsc b/Drivers/OptionRomPkg/O= ptionRomPkg.dsc index 8a13cc54e6..d6bd88b58e 100644 --- a/Drivers/OptionRomPkg/OptionRomPkg.dsc +++ b/Drivers/OptionRomPkg/OptionRomPkg.dsc @@ -4,11 +4,11 @@ # This package is designed to interoperate with the EDK II open source pro= ject # at http://www.tianocore.org, and this package is required to build PCI c= ompliant # Option ROM image for all CPU architectures, including EBC target. # A single driver can support mixes of EFI 1.1, UEFI 2.0 and UEFI 2.1. # -# Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.
+# Copyright (c) 2007 - 2021, Intel Corporation. All rights reserved.
# Copyright (c) 2016, Linaro Ltd. All rights reserved.
# Copyright (c) 2020, ARM Limited. All rights reserved. # # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -37,10 +37,12 @@ [Defines] ##########################################################################= ###### [SkuIds] 0|DEFAULT # The entry: 0|DEFAULT is reserved and always req= uired. [LibraryClasses] + !include MdePkg/MdeLibs.dsc.inc + DebugLib|MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseD= ebugPrintErrorLevelLib.inf BaseLib|MdePkg/Library/BaseLib/BaseLib.inf BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf BltLib|OptionRomPkg/Library/GopBltLib/GopBltLib.inf -- 2.18.0.windows.1 --_000_CO1PR11MB49305DD2DF5088100AF234918C629CO1PR11MB4930namp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
From: Bi, Dandan <dandan= .bi@intel.com>
Sent: Monday, March 22, 2021 4:20:08 PM
To: devel@edk2.groups.io <devel@edk2.groups.io>
Cc: Ni, Ray <ray.ni@intel.com>
Subject: [edk2-platforms] [patch V2 03/35] Drivers/OptionRomPkg: Con= sume MdeLibs.dsc.inc for RegisterFilterLib
 
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3246

MdeLibs.dsc.inc was added for some basic/default library
instances provided by MdePkg and RegisterFilterLibNull Library
was also added into it as the first version of MdeLibs.dsc.inc.

So update platform dsc to consume MdeLibs.dsc.inc for
RegisterFilterLibNull which will be consumed by IoLib and BaseLib.

Cc: Ray Ni <ray.ni@intel.com>
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
---
 Drivers/OptionRomPkg/OptionRomPkg.dsc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Drivers/OptionRomPkg/OptionRomPkg.dsc b/Drivers/OptionRomPkg/O= ptionRomPkg.dsc
index 8a13cc54e6..d6bd88b58e 100644
--- a/Drivers/OptionRomPkg/OptionRomPkg.dsc
+++ b/Drivers/OptionRomPkg/OptionRomPkg.dsc
@@ -4,11 +4,11 @@
 # This package is designed to interoperate with the EDK II open sourc= e project
 # at http://www.tianocore.org, and this package is required to build PCI compliant
 # Option ROM image for all CPU architectures, including EBC target.  # A single driver can support mixes of EFI 1.1, UEFI 2.0 and UEFI 2.1= .
 #
-# Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR= >
+# Copyright (c) 2007 - 2021, Intel Corporation. All rights reserved.<BR= >
 # Copyright (c) 2016, Linaro Ltd. All rights reserved.<BR>
 # Copyright (c) 2020, ARM Limited. All rights reserved.
 #
 # SPDX-License-Identifier: BSD-2-Clause-Patent
 #
@@ -37,10 +37,12 @@ [Defines]
 #####################################################################= ###########
 [SkuIds]
   0|DEFAULT         = ;     # The entry: 0|DEFAULT is reserved and always req= uired.
 
 [LibraryClasses]
+  !include MdePkg/MdeLibs.dsc.inc
+
   DebugLib|MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.= inf
   DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLeve= lLib/BaseDebugPrintErrorLevelLib.inf 
   BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
   BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf    BltLib|OptionRomPkg/Library/GopBltLib/GopBltLib.inf
--
2.18.0.windows.1

--_000_CO1PR11MB49305DD2DF5088100AF234918C629CO1PR11MB4930namp_--