From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mx.groups.io with SMTP id smtpd.web11.9361.1616744190426246759 for ; Fri, 26 Mar 2021 00:36:30 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=jK/SqbTu; spf=pass (domain: intel.com, ip: 134.134.136.126, mailfrom: dandan.bi@intel.com) IronPort-SDR: SuFqSRSG/haeTaqY3fstTLlERa0cHFmbfly0lyoCNqZ7Mn1NeNV1TO3rKcL3hiq1zX/ev3wwfs HKggMZKnl++w== X-IronPort-AV: E=McAfee;i="6000,8403,9934"; a="178647747" X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208,217";a="178647747" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2021 00:36:29 -0700 IronPort-SDR: weyL/kCntkXX7PtGAOicDQW7iMGD3rWDFyVLvwfP65M6yK7owstB2L6PlTpgb6XD1jUNdgA3lG Wtywdz27WSXw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208,217";a="414461464" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by orsmga007.jf.intel.com with ESMTP; 26 Mar 2021 00:36:20 -0700 Received: from fmsmsx607.amr.corp.intel.com (10.18.126.87) 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; Fri, 26 Mar 2021 00:36:19 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx607.amr.corp.intel.com (10.18.126.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2 via Frontend Transport; Fri, 26 Mar 2021 00:36:19 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.177) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2106.2; Fri, 26 Mar 2021 00:36:19 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=h/9rQi4DMQGiuf6q1q+7DDPiT1NDmFSgVvSfpfSQyyO0iAeduVEq4CECr4SSZmUa7AdERKeC7y1Jey4XsmXOTSO4jsIW97uC5FEkJE5sjYuo7bY7KwiJ51G5AmnD1aUls88QANEqpkda02A/UY7kM5iCsc6u/fY6kWsp1Ooq79daNc4osW8huP+UMHUmLOzncqSNVhGVPJXFluHXdaGVgFSXSf3PKHXNWjIeDPoSan8fPW/lzSdSxRA6q0/GfRS3/KknQaPl6bwNbt+aNbGeXRArJJG40XVXczjM0ISww+6InQJtdEl2gBiSUa7nUefbcRjz05JIRZK6xrrO/qjuSw== 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=MsjLeGdHY7s3r3n3gJHIJOoV9fwExrbIjHsTo52qxDw=; b=kARK4V9sVYFOtmkxv9frA/N+gZNb03CFUXDwEhM65INW3w+HYNd2+FpjljW/B6oHvoBm39OJeHZwiLwnJwuY8sl++ctfb4JsdCENLBGU9G9Lv6dlbv3qEjzUCnzk2N6UCRU0lHV4+w1RT7N3Gsvr7+2BTrSBSvpJsE5lDk1Rj9vVymqrXFep3v+ChXhrlb+s+bi/VlZgbv8K3t9NJhUy060xCtQqCnk2xdDyolBpw5KSqBkHqfecoIPhDWXMx1Mj1Vp3n21FP0l4RQK3Yqb4nNIBlwy+jVjl0U1fLaXIOEuxW5B64hRa30BapfiFGki/33x3PL7qs4JpLfuM6SPM2A== 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=MsjLeGdHY7s3r3n3gJHIJOoV9fwExrbIjHsTo52qxDw=; b=jK/SqbTuLKpbek4IDf5rUcKXnY5Eoo8BxZPDxLgp+orkCqSb/gIjKyC/II9XpYfozFiwvT6NHjxKcTNKvg4ET4AslyDVnJBqMmUR5CBssxfAd+H7ut24c765KSgVVlvxPPNcOO7i2B/TAgLe9LsQNX+ex1F007kkiURsKt7RUyQ= Received: from SJ0PR11MB4862.namprd11.prod.outlook.com (2603:10b6:a03:2de::16) by BY5PR11MB4103.namprd11.prod.outlook.com (2603:10b6:a03:18c::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3955.18; Fri, 26 Mar 2021 07:36:18 +0000 Received: from SJ0PR11MB4862.namprd11.prod.outlook.com ([fe80::1928:2ae6:91e3:e431]) by SJ0PR11MB4862.namprd11.prod.outlook.com ([fe80::1928:2ae6:91e3:e431%7]) with mapi id 15.20.3977.030; Fri, 26 Mar 2021 07:36:18 +0000 From: "Dandan Bi" To: Bret Barkelew , "devel@edk2.groups.io" CC: "Kinney, Michael D" , Sean Brogan Subject: Re: [EXTERNAL] [patch V2 27/29] UnitTestFrameworkPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib Thread-Topic: [EXTERNAL] [patch V2 27/29] UnitTestFrameworkPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib Thread-Index: AQHXHvLbOJcmucF+kUuI2H+dRaEnjKqQU3E2gAB8TVCABD0t1YAA199A Date: Fri, 26 Mar 2021 07:36:18 +0000 Message-ID: References: <20210322080941.6780-1-dandan.bi@intel.com>,<20210322080941.6780-28-dandan.bi@intel.com> , In-Reply-To: Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=True;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2021-03-22T18:25:00.8511658Z;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Method=Privileged authentication-results: microsoft.com; dkim=none (message not signed) header.d=none;microsoft.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.102.204.55] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 1c6079de-1b2e-4927-2a39-08d8f029d81d x-ms-traffictypediagnostic: BY5PR11MB4103: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Pa+KNXghKqvl4U1Y6uqytOqW8vjW9UUqRtvmP1DybnzFtLjxyUh5sPFFiOX5nKJanHrq/PepQbabcM4ApWl8SS+Mr9DCBF7a5KwO03RMPfzqEO4uKXxXd1Ebcv2T7Hii0bgxo0TOxg7oW9GK6BNYDq16Pleov1dsllyUELbFI9seKwQCAkAc6rH37IncEkJQqvYx/W7r1WSrYmFD8ShdTR5182E1yrCAPE/FTunwu9xrCEskay1ByCekBJGtSL/9pW1ozx/6jtFUDd2NNG20g4Ys7xOc1eQUqmuOZkCFyV+PEcOrCen6IO8VtFyiK/n7MFR02hJ79uUXrqnw5lgxtoqSblnAlAi7G1jrGK3xQxoe2u5PmPDJ7IbSwJkmeLL6HfZQF4mfmp7a0JePVazIhOQh9iyznAiDAYD8fn/AJRclNnznhY4sbPMAzIPqyJHG/LUxdZcHw9+laLJOHxbuxqBxvtxBcDzrBXxL9g1bcZFO+T3NeyhI/P9fjAvenZPIzVIUWMxVrAfpuO4buqqOWykmU+3CsTT1Dq732XiOiYk5nXnwGhk4NFFQkbBqywHudLwBqd7NzEPHczvoh2ytcXWA3Pv7dW3mVzJSM6i2ikw0E60HdiQUmsSTf1P5VhU900W/Omc+wNuJ8c95XN9+A9za867wC/I0wiX2Bv4ZuYXXaZb4ZjJNEE37OHm8sY5ZdOHUaGkobfXwIJo/tNfsoXIQp5W177WlMlQFGsTwSuWWrmKkpjD+MziED9ayp+Ld x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SJ0PR11MB4862.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(376002)(396003)(39860400002)(136003)(366004)(346002)(55016002)(8676002)(4326008)(66946007)(38100700001)(9326002)(478600001)(66476007)(33656002)(7696005)(86362001)(52536014)(45080400002)(66556008)(8936002)(76116006)(5660300002)(316002)(71200400001)(166002)(2906002)(26005)(6506007)(54906003)(966005)(186003)(66446008)(83380400001)(53546011)(64756008)(9686003)(110136005);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?OWEvsCsTORx2bTvkXMT1sWsfSBBftlkShF/tAiKYcAT/R+gWq4oy8BJVL4Qr?= =?us-ascii?Q?FtqW4GUv00oDl9t11put5/az5hgj5hdCU3s+/4blJZSRj4VzRNaFA4wvbtWd?= =?us-ascii?Q?gqyMIzmeUwh7/pdwnY7IToLvjLG6g7BL//647xcTEmSoRLEzZ7FnylDqndkA?= =?us-ascii?Q?dnXUZQzOY+893PIA4voMSrgsArwtKP3VY6mYqrbjeRNtpTtzRRS4g/R0zGkW?= =?us-ascii?Q?DfwMjwEKjelq4gV5eyWA4bftw8GPCbYCcX5GbuXyANAtqbuDylJxmQe74Vzk?= =?us-ascii?Q?SC4DU8zYta0afcfgr5dY9qO8nhFrz9P6HTRlA8r/yPCrjxIEyzzrM7ORfUAx?= =?us-ascii?Q?xNbMil90WZT4EkpbRMMt0Og0q3sGTxY9G325KDnhxcitPN5lQboinnroAppy?= =?us-ascii?Q?SFs0fSzsl+YLueB2qvsHgtpfyez38WW7tcJApbyfbndL/ucZWVGoY0ApbylL?= =?us-ascii?Q?/z34gdtUTs6lG9CClqYnePwGEP6gTRiBEmFKpHehr8rRqdm00uSWynC/PjND?= =?us-ascii?Q?JWVsWlBVsmT5UnaaeTy902OD1NbWvcacgJohLSRx4BXfNouEKsVJtasO6JnX?= =?us-ascii?Q?eRJ4ql9Dhp1eFoK279dMZjMr3awRjSUC4H7evdKHlJkTIysAfifONyJUNVZj?= =?us-ascii?Q?duba4PRqeXVz++sCqWKOXJ4xx+HKasfqUAAcVGm+iBc3Jl3oK5nDgjl+vWQL?= =?us-ascii?Q?tlPhHZYMkpjAotln3FE8GexKZjHz6n0pG94yZvHkpXLy3QDfviXw2Nrkz2eU?= =?us-ascii?Q?lFsk1egjdEWYAatDSTQf0kkQqBl/mp2Sd6ahdkD98axpgGhBamOkoYm/rzID?= =?us-ascii?Q?89trNqRiQANabWmKOp2FMyHZ+2pTPJpLbbjkuDLpSpQQfw6nLoxlRkA1hF3l?= =?us-ascii?Q?n8luK1P1Y2VJMb2zzBp1HzuhYS5u6DjRATMNgFAGwaMiSMGwj+CFf7cxAUDg?= =?us-ascii?Q?8jRB2C7Z1z0mF5VQWTAXVcHs+Qqg38pHJ5fae5ELIjhmq/zWsVue9fRk63kv?= =?us-ascii?Q?Azii6ALqZrzXYXikajmCpcDs6LimGSIiykznpQ1tIrC3627M6cIIAZcKWWh9?= =?us-ascii?Q?vXnm4rxnnDm3Li7IKOikpL3CeemtvBip4quBjxMOtPReTlJ72zHgahq5ahDA?= =?us-ascii?Q?zTsWdk62J5N1xQaW6AWU7Qz2u0FUnYf0vikJKxRhyxL3Y2dms5R5yXa8Vc/r?= =?us-ascii?Q?NdDIV5AaBh18Xv5eF1+VK13h50Kboz/fG4mbedGNToMxq4G41xXJMgtQpsC6?= =?us-ascii?Q?/+O3psl824ZY119CnCrd1XyLMf/ato0vzwDMXq03NOfa/5aYxsNYBWZf3+Cq?= =?us-ascii?Q?6+/QeQZxGj3j/sv7QeUo4Cjb?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ0PR11MB4862.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1c6079de-1b2e-4927-2a39-08d8f029d81d X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Mar 2021 07:36:18.1596 (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: orj/AWQjH6H5oJBzzgKWHeDzu1mL/44d+CwcEhgdSUr4ecW6+4geLt6Iin3rx6oyfjuUmroC89fxM9L1kdGGAA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR11MB4103 Return-Path: dandan.bi@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_SJ0PR11MB4862A9C4BB5FC5B938C9E08EEA619SJ0PR11MB4862namp_" --_000_SJ0PR11MB4862A9C4BB5FC5B938C9E08EEA619SJ0PR11MB4862namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Bret, 1. We don't want to introduce duplicated codes and too many instances wi= ll also make people confused to consume. 2. If we add a new instance of IoLib, consumer will also only use one, I= think should not have the symbol collision issue. Thanks, Dandan From: Bret Barkelew Sent: Friday, March 26, 2021 2:35 AM To: Bi, Dandan ; devel@edk2.groups.io Cc: Kinney, Michael D ; Sean Brogan Subject: RE: [EXTERNAL] [patch V2 27/29] UnitTestFrameworkPkg: Consume MdeL= ibs.dsc.inc for RegisterFilterLib Thanks, Dandan! Apologies if this has already been asked, but is this necessary because C d= oesn't have any options for symbol namespacing? In other words, would it be just as easy to do this with a new implementati= on of IoLib if we didn't have to worry about the symbol collisions? - Bret From: Bi, Dandan Sent: Monday, March 22, 2021 6:52 PM To: Bret Barkelew; devel@edk2.groups.io= Cc: Kinney, Michael D; Sean Brogan Subject: RE: [EXTERNAL] [patch V2 27/29] UnitTestFrameworkPkg: Consume MdeL= ibs.dsc.inc for RegisterFilterLib Hi Bret, Here is the branch and PR I just created for this change, please help revie= w. Thanks. https://github.com/dandanbi/edk2/tree/RegisterFilterLibV2 https://github.com/tianocore/edk2/pull/1509 Thanks, Dandan From: Bret Barkelew > Sent: Tuesday, March 23, 2021 2:25 AM To: Bi, Dandan >; devel@edk= 2.groups.io Cc: Kinney, Michael D >; Sean Brogan > Subject: RE: [EXTERNAL] [patch V2 27/29] UnitTestFrameworkPkg: Consume MdeL= ibs.dsc.inc for RegisterFilterLib Is there a PR somewhere that has a branch with all these changes applied? I= 'd like to poke around a little. Thanks! - Bret From: Dandan Bi Sent: Monday, March 22, 2021 1:10 AM To: devel@edk2.groups.io Cc: Kinney, Michael D; Sean Brogan; Bret Barkelew Subject: [EXTERNAL] [patch V2 27/29] UnitTestFrameworkPkg: Consume MdeLibs.= dsc.inc for RegisterFilterLib REF: https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fbu= gzilla.tianocore.org%2Fshow_bug.cgi%3Fid%3D3246&data=3D04%7C01%7CBret.B= arkelew%40microsoft.com%7C77dd99e3296941afb9b408d8ed09fd3c%7C72f988bf86f141= af91ab2d7cd011db47%7C1%7C0%7C637519974445661033%7CUnknown%7CTWFpbGZsb3d8eyJ= WIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&= sdata=3DoDafPDNi1k2MRYGrp%2Frhy1dB43tk%2B0YwF8%2FxdLqBXt8%3D&reserved= =3D0 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: Michael D Kinney > Cc: Sean Brogan > Cc: Bret Barkelew > Signed-off-by: Dandan Bi > --- UnitTestFrameworkPkg/UnitTestFrameworkPkgTarget.dsc.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/UnitTestFrameworkPkg/UnitTestFrameworkPkgTarget.dsc.inc b/Unit= TestFrameworkPkg/UnitTestFrameworkPkgTarget.dsc.inc index 8adf690098..4adb98aff5 100644 --- a/UnitTestFrameworkPkg/UnitTestFrameworkPkgTarget.dsc.inc +++ b/UnitTestFrameworkPkg/UnitTestFrameworkPkgTarget.dsc.inc @@ -1,14 +1,16 @@ ## @file # UnitTestFrameworkPkg DSC include file for target based test DSC # -# Copyright (c) 2019 - 2020, Intel Corporation. All rights reserved.
+# Copyright (c) 2019 - 2021, Intel Corporation. All rights reserved.
# SPDX-License-Identifier: BSD-2-Clause-Patent # ## [LibraryClasses] + !include MdePkg/MdeLibs.dsc.inc + # # Entry point # PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntry= Point.inf -- 2.18.0.windows.1 --_000_SJ0PR11MB4862A9C4BB5FC5B938C9E08EEA619SJ0PR11MB4862namp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi Bret,

 

  1. We don’t want to introduce duplicated codes and too many instan= ces will also make people confused to consume.
  2. If we a= dd a new instance of IoLib, consumer will also only use one, I think should= not have the symbol collision issue.

 

 

Thanks,

Dandan

From: Bret Barkelew <Bret.Barkelew@microso= ft.com>
Sent: Friday, March 26, 2021 2:35 AM
To: Bi, Dandan <dandan.bi@intel.com>; devel@edk2.groups.io
Cc: Kinney, Michael D <michael.d.kinney@intel.com>; Sean Broga= n <sean.brogan@microsoft.com>
Subject: RE: [EXTERNAL] [patch V2 27/29] UnitTestFrameworkPkg: Consu= me MdeLibs.dsc.inc for RegisterFilterLib

 

Thanks, Dandan!

 

Apologies if this has already been asked, but is thi= s necessary because C doesn’t have any options for symbol namespacing= ?

In other words, would it be just as easy to do this = with a new implementation of IoLib if we didn’t have to worry about t= he symbol collisions?

 

- Bret

 

From: = Bi, Dandan
Sent: Monday, March 22, 2021 6:52 PM
To: Bret Barkelew= ; devel@edk2.groups.io
Cc: Kinney, Michael D<= /a>; Sean Brogan
Subject: RE: [EXTERNAL] [patch V2 27/29] UnitTestFrameworkPkg: Consu= me MdeLibs.dsc.inc for RegisterFilterLib

 

Hi Bret,

 

Here is the branch and PR I just created for this ch= ange, please help review. Thanks.

https://github.com/dandanbi/edk2= /tree/RegisterFilterLibV2

https://github.com/tianocore/edk2/pull/1509

 

 

 

Thanks,

Dandan

 

From: Bret Barkelew <Bret.Barkelew@microsoft.com>
Sent: Tuesday, March 23, 2021 2:25 AM
To: Bi, Dandan <dandan.bi@= intel.com>; devel@edk2.groups.io
Cc: Kinney, Michael D <michael.d.kinney@intel.com>; Sean Brogan <sean.brogan@microsoft.com>
Subject: RE: [EXTERNAL] [patch V2 27/29] UnitTestFrameworkPkg: Consu= me MdeLibs.dsc.inc for RegisterFilterLib

 

Is there a PR somewhere that has a branch with all t= hese changes applied? I’d like to poke around a little.

 

Thanks!

 

- Bret

 

From: = Dandan Bi
Sent: Monday, March 22, 2021 1:10 AM
To: devel@edk2.groups.io=
Cc: Kinney, Michael D<= /a>; Sean Brogan; Bret Barkel= ew
Subject: [EXTERNAL] [patch V2 27/29] UnitTestFrameworkPkg: Consume M= deLibs.dsc.inc for RegisterFilterLib

 

REF: https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fbugzill= a.tianocore.org%2Fshow_bug.cgi%3Fid%3D3246&amp;data=3D04%7C01%7CBret.Ba= rkelew%40microsoft.com%7C77dd99e3296941afb9b408d8ed09fd3c%7C72f988bf86f141a= f91ab2d7cd011db47%7C1%7C0%7C637519974445661033%7CUnknown%7CTWFpbGZsb3d8eyJW= IjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&a= mp;sdata=3DoDafPDNi1k2MRYGrp%2Frhy1dB43tk%2B0YwF8%2FxdLqBXt8%3D&amp;res= erved=3D0

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: Michael D Kinney <mich= ael.d.kinney@intel.com>
Cc: Sean Brogan <sean.broga= n@microsoft.com>
Cc: Bret Barkelew <Bret.B= arkelew@microsoft.com>
Signed-off-by: Dandan Bi <dandan.= bi@intel.com>
---
 UnitTestFrameworkPkg/UnitTestFrameworkPkgTarget.dsc.inc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/UnitTestFrameworkPkg/UnitTestFrameworkPkgTarget.dsc.inc b/Unit= TestFrameworkPkg/UnitTestFrameworkPkgTarget.dsc.inc
index 8adf690098..4adb98aff5 100644
--- a/UnitTestFrameworkPkg/UnitTestFrameworkPkgTarget.dsc.inc
+++ b/UnitTestFrameworkPkg/UnitTestFrameworkPkgTarget.dsc.inc
@@ -1,14 +1,16 @@
 ## @file
 # UnitTestFrameworkPkg DSC include file for target based test DSC
 #
-# Copyright (c) 2019 - 2020, Intel Corporation. All rights reserved.<BR= >
+# Copyright (c) 2019 - 2021, Intel Corporation. All rights reserved.<BR= >
 # SPDX-License-Identifier: BSD-2-Clause-Patent
 #
 ##
 
 [LibraryClasses]
+  !include MdePkg/MdeLibs.dsc.inc
+
   #
   # Entry point
   #
   PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.in= f
   UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiD= riverEntryPoint.inf
--
2.18.0.windows.1

 

 

--_000_SJ0PR11MB4862A9C4BB5FC5B938C9E08EEA619SJ0PR11MB4862namp_--