From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mx.groups.io with SMTP id smtpd.web12.5353.1616714963804265627 for ; Thu, 25 Mar 2021 16:29:24 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=iMYXIYBu; spf=pass (domain: intel.com, ip: 192.55.52.88, mailfrom: ray.ni@intel.com) IronPort-SDR: pGSbLiPF40mxvCP4QE/bZXftekDhozE9dlvDSqg5QKK+CTtQI3BuISD7rN/0HKMOa9euEGn8i3 5aE9kxv0zQmQ== X-IronPort-AV: E=McAfee;i="6000,8403,9934"; a="211185577" X-IronPort-AV: E=Sophos;i="5.81,278,1610438400"; d="scan'208,217";a="211185577" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Mar 2021 16:29:22 -0700 IronPort-SDR: NBOE+ye98nOMTLWX1JFjNO7TzXbY8qqbjeuq7q+Pli0PyOHf/NTB/gK1XE8iGTyP5G5jgaqFaV ZTdUHudUxv8w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,278,1610438400"; d="scan'208,217";a="605315315" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by fmsmga006.fm.intel.com with ESMTP; 25 Mar 2021 16:29:22 -0700 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) 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:29:21 -0700 Received: from fmsmsx605.amr.corp.intel.com (10.18.126.85) by fmsmsx609.amr.corp.intel.com (10.18.126.89) 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:29:21 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) 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:29:21 -0700 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (104.47.36.51) 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; Thu, 25 Mar 2021 16:29:21 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VcJhEXMY2d1jcR9Xr521ZAJT3dMas2A33j2B34SrvaLCf6mcBxAaI1g4EYQNW0j4EpKKInu0Q5ZKl3AVnyiyIx3uvVG/1wkhxI8chPtFfH+04tirlZHJUa6vWRrgNIMEn0bvMWG417uzfcD2qTiqt7gHCgYVffVwpaTpRtL6O4e1A91KVUkXIDiJR9r0Uh+gEPR9Y2b6r1B5M1l1LGA16C8ehtZdVjheM+bn6jbJ9uL09GZjBAw/c+VUL3fM4WriJ7cdkkwCSO1Vi/yGps8xraE/rcir9Og2OetwJZkLqD1q7+D0Sro5raCvS6DBUFicrtS7Yk63ZlmXjrOmvd2e/Q== 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=eqzn4VY/Oyv5CTpi031IsqUTEec/WX99SeVEoTi0XLU=; b=lBGBaNO3UI7GI6dqMvjmiIaeMa5g0K+C4sPawjfCQrkPNg5oBN1qGaq5xhq6s9kpwn89TH/0/ixfcV6kU0J710DF3XDaZ+T3R2eID8JWnwozUWpFAcbNeTZf9ogeGdk5wVrvJkTTIMWjUU7O6ydW4I7qHAGKRZ9oH5ePRtxSxSNkO3IG9E7N6WHx7Zimp9QexK3vzBbU6GDVQcHC9ZdX3A++FVU5lYDUoPHMSpCmOlCyPs05Hjvv3PyYb+tzcbpS7CLfhmKKq6jDAoUbfsmyfjMBDuEWuoHrYZDM6Gp1ncYattrdn1UInHvVHu8lWF7uO8RjoM4tqa7biZ2QCMdeOA== 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=eqzn4VY/Oyv5CTpi031IsqUTEec/WX99SeVEoTi0XLU=; b=iMYXIYBuujcMmIF62ZNms0tJO+1rLEkyI/xXYvcEPXG3SWDDMmt+FOWI9V24vbH2csshFN+id7jBru3U0lp7MYDP5PFYnhNvSh+UrRhvEy8tTfoVCX/hUZltOYUJQAy6NvFHhgJtNaPzFSm7nzP5YOnXdd6Ywt8gbPh9LqouV4o= Received: from CO1PR11MB4930.namprd11.prod.outlook.com (2603:10b6:303:9b::11) by MWHPR11MB1405.namprd11.prod.outlook.com (2603:10b6:300:21::19) 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:29:20 +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:29:19 +0000 From: "Ni, Ray" To: "Bi, Dandan" , "devel@edk2.groups.io" CC: Andrew Fish Subject: Re: [patch V2 09/29] EmulatorPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib Thread-Topic: [patch V2 09/29] EmulatorPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib Thread-Index: AQHXHvLXoMsbqKf9+E+cnmyBb/YH6aqVXzwq Date: Thu, 25 Mar 2021 23:29:19 +0000 Message-ID: References: <20210322080941.6780-1-dandan.bi@intel.com>,<20210322080941.6780-10-dandan.bi@intel.com> In-Reply-To: <20210322080941.6780-10-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: 5db67275-6e59-4af1-c546-08d8efe5d099 x-ms-traffictypediagnostic: MWHPR11MB1405: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 3Ex1i9qZIwtpaODjt11QKOrH7au9N0eTbXPo1Xlu0IbJX4VI52fQxD51DUNeFlW2/kAzzvY6ecmhsb1T9shmR0RJyISs3E0QrKj1Pot0sMLyO62nLVeKivaFmkSUyKPt33c548qeZCdvGSOnRzJrLgSpP9X49w24+PZz/Mm/8QhrIWipIC1PfBFs7zwtu6X9VbBxAJgrY40rFkmjty41Mbr6jUaCzlQ4uuMiv9QHmMseY5CYe9JvzWOQRB384A6GqIFlnMZY4cLw/rHQ9yatCBrA+wew/8V79LnEdUNTViOmPgt5QQRBv2FXAvfYqua6coC/baUHsRU6LXgWMaC8tvW8EkFWd1sRVgfLZMJISL2N5J2PrX1NdAOpa3lXJluNWNZe/THwUhxP7oXEB9IfobJAVV69VJCrn118toctGAPkUAIVK4865iuXxLFBzWPDJ2ytGbA8NUlqaZ0C+RfM5OhnLg/HZYJs+WmroW3Ljz6swp9S05TvEvHaQ2gAtAZNGrzPPpR6MqKVwN/W61Fr8xY8mulS2w9Rs6acA5JC6zEMOKFhcMfUbVCzyXR2Dim8ot6zVV9Jpp5Kf+Q9I5QQV2RAvdc/DyeNFPmFGqY1wXJXNZD8yxIPgkYSCeB37C5Sp+gOtfkgAyB+FTX4yqQ6f7ouLtXxXlh4fExxwSgxVr0wRdiotF+m8HVvCbGx5OhH3qffltF6M0QY5jfHEObBMlJ93TQY0InYwr5pPvLjHDA= 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:(376002)(366004)(39860400002)(346002)(396003)(136003)(83380400001)(26005)(166002)(9686003)(186003)(55016002)(4326008)(110136005)(38100700001)(33656002)(966005)(316002)(5660300002)(6506007)(52536014)(53546011)(45080400002)(478600001)(86362001)(64756008)(66556008)(76116006)(8676002)(91956017)(2906002)(66946007)(66476007)(71200400001)(7696005)(8936002)(66446008);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?LRGZwVbyCl7YBWgo55KUY6sVydLjAEhNv5lcmjMWdRx9sXNI09qzH2Kuiirz?= =?us-ascii?Q?y+iEdmxFc8cQ1+COpHMTxVUIPMhQccxqZq7ZFNq5qklzAN8fR6gLvATxccpq?= =?us-ascii?Q?H12vwEETUT2wbCHUSUukUYBT01Olr9oEV794YAL7zFVkHG5LCs/kOVqj+/Jd?= =?us-ascii?Q?IHdv4MiyqFX24eGyCS8lNO1UBe2T4BBbELWAtNrOOrpdt8xxakepj59nfL0w?= =?us-ascii?Q?AxwR7xQFVOHbWqmdoJlPqakf1dM/qrjfnBvZdZ1LxfYP1A0LGyCBw585s8pE?= =?us-ascii?Q?bzSrYE39OeC9zagkYwj0F937W0RP6cneUuFLzFIUrLIXhZ0gBmLKL1dU4mZe?= =?us-ascii?Q?6/L1K233OQa6SjVvOdwflI9PzqN9TKdJEP1kD/UXYUClMf1eCwboGn0TkrFp?= =?us-ascii?Q?r5i/3/XIfbxkJ7LOMC+y+yUzGzayyPEDxk5WR9+ribUAZ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VAU4fvRYGNz0VW7VtqrPKKYbFh0VvbexUFWjQo4eMQ=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: 5db67275-6e59-4af1-c546-08d8efe5d099 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Mar 2021 23:29:19.8077 (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: 37Wp33OG1NSxee7oP1tiBBs+zhZ00LdFtWp5j6Q8tZmW8Qn4Fto+IPz9sCd/xXIjS535TYAmq5VJRR1ahbbbUQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR11MB1405 Return-Path: ray.ni@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_CO1PR11MB4930F5CE761AE5234C0DC2278C629CO1PR11MB4930namp_" --_000_CO1PR11MB4930F5CE761AE5234C0DC2278C629CO1PR11MB4930namp_ 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:09:21 PM To: devel@edk2.groups.io Cc: Andrew Fish ; Ni, Ray Subject: [patch V2 09/29] EmulatorPkg: Consume MdeLibs.dsc.inc for Register= FilterLib 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: Andrew Fish Cc: Ray Ni Signed-off-by: Dandan Bi --- EmulatorPkg/EmulatorPkg.dsc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/EmulatorPkg/EmulatorPkg.dsc b/EmulatorPkg/EmulatorPkg.dsc index a7ded49000..b8d1d12ace 100644 --- a/EmulatorPkg/EmulatorPkg.dsc +++ b/EmulatorPkg/EmulatorPkg.dsc @@ -2,11 +2,11 @@ # UEFI/PI Emulation Platform with UEFI HII interface supported. # # The Emulation Platform can be used to debug individual modules, prior to= creating # a real platform. This also provides an example for how an DSC is created= . # -# Copyright (c) 2006 - 2020, Intel Corporation. All rights reserved.
+# Copyright (c) 2006 - 2021, Intel Corporation. All rights reserved.
# Portions copyright (c) 2010 - 2011, Apple Inc. All rights reserved.
# Copyright (c) Microsoft Corporation. # # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -43,10 +43,12 @@ [Defines] [SkuIds] 0|DEFAULT [LibraryClasses] + !include MdePkg/MdeLibs.dsc.inc + # # Entry point # PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf -- 2.18.0.windows.1 --_000_CO1PR11MB4930F5CE761AE5234C0DC2278C629CO1PR11MB4930namp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Reviewed-by: ray.ni@intel.com

thanks,
ray

From: Bi, Dandan <dandan= .bi@intel.com>
Sent: Monday, March 22, 2021 4:09:21 PM
To: devel@edk2.groups.io <devel@edk2.groups.io>
Cc: Andrew Fish <afish@apple.com>; Ni, Ray <ray.ni@intel.co= m>
Subject: [patch V2 09/29] EmulatorPkg: Consume MdeLibs.dsc.inc for R= egisterFilterLib
 
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: Andrew Fish <afish@apple.com>
Cc: Ray Ni <ray.ni@intel.com>
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
---
 EmulatorPkg/EmulatorPkg.dsc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/EmulatorPkg/EmulatorPkg.dsc b/EmulatorPkg/EmulatorPkg.dsc
index a7ded49000..b8d1d12ace 100644
--- a/EmulatorPkg/EmulatorPkg.dsc
+++ b/EmulatorPkg/EmulatorPkg.dsc
@@ -2,11 +2,11 @@
 # UEFI/PI Emulation Platform with UEFI HII interface supported.
 #
 # The Emulation Platform can be used to debug individual modules, pri= or to creating
 # a real platform. This also provides an example for how an DSC is cr= eated.
 #
-# Copyright (c) 2006 - 2020, Intel Corporation. All rights reserved.<BR= >
+# Copyright (c) 2006 - 2021, Intel Corporation. All rights reserved.<BR= >
 # Portions copyright (c) 2010 - 2011, Apple Inc. All rights reserved.= <BR>
 # Copyright (c) Microsoft Corporation.
 #
 # SPDX-License-Identifier: BSD-2-Clause-Patent
 #
@@ -43,10 +43,12 @@ [Defines]
 
 [SkuIds]
   0|DEFAULT
 
 [LibraryClasses]
+  !include MdePkg/MdeLibs.dsc.inc
+
   #
   # Entry point
   #
   PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntr= yPoint.inf
   PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.in= f
--
2.18.0.windows.1

--_000_CO1PR11MB4930F5CE761AE5234C0DC2278C629CO1PR11MB4930namp_--