From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mx.groups.io with SMTP id smtpd.web08.4480.1617110665107755590 for ; Tue, 30 Mar 2021 06:24:25 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=zE0G5OR+; spf=pass (domain: intel.com, ip: 192.55.52.115, mailfrom: dandan.bi@intel.com) IronPort-SDR: pgRRdjsgsaigWnvapN8K7EjSC6s8dD9M1kUv9++Aq9n/OXwB8Oh28VTXdUD0ORcXnwUmo1IXCI 3tIqmuTScHbg== X-IronPort-AV: E=McAfee;i="6000,8403,9939"; a="191238775" X-IronPort-AV: E=Sophos;i="5.81,290,1610438400"; d="scan'208";a="191238775" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Mar 2021 06:24:23 -0700 IronPort-SDR: V3BkdgwylObcrJRfllMDKOFDVhY34DhS6p4DnR2CPilTGro5/yrnBHG5VMbxpANLUCAX5rmjV1 I7sVJ97MfH7A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,290,1610438400"; d="scan'208";a="595463571" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orsmga005.jf.intel.com with ESMTP; 30 Mar 2021 06:24:22 -0700 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Tue, 30 Mar 2021 06:24:22 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx608.amr.corp.intel.com (10.18.126.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Tue, 30 Mar 2021 06:24:21 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2 via Frontend Transport; Tue, 30 Mar 2021 06:24:21 -0700 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.176) 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; Tue, 30 Mar 2021 06:24:21 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Y1rdzUCvIJaXp+FD9N6R6YZaT6NjmavQEMY9nzCYKgui6HsgE3X27U0Q4516KNG6vDcV8IQT1KkABASrWUdYp82MPlld2jwydMi6j2Bs8ljAo9OkfgJykcMK3uuUCwVd/ruB93dDjitRpGhTvPGpHDJXcBZwhmPDG+SvcFuk3idtGW7K/l7ccmVMnqcrwgkZD/amOzuRDqMHdiN3Fb54bbrPOsAJNeW0pXpfbFbET0VH7wPfGLXYbWh6QVo08GYFdQc/25nbjfnqf/m5O7KV5ZATOchRAbnjNs+PnLWPcdQSciIT0Zaziv9xlrA+Ntfr/eCg6giJXsgOvsQrQWj7vA== 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=iuiSTM45li+aDyh0p0Knxb3o4GcX0udIfI3oanJ4oEU=; b=B8JAc0cRLMzKYF3+SzcX0KUHvZlDX2u78ph9AqhSTSrTWo1xU1vpreyLfjnvFL1gQFuj8bEvVfHn3ymOrUxrGsbsxy9Xo6mfaRpuabUnTXQ3AueGi3/y0T68zyQ+RFseqjK86Rs+drjzOMncsVj2jY/yLcY1lxSATgc6qSXidwYnKSsq8+hYaMbgWhbLQMc96BvFbDzvWMzzxR9XQ43lkNK2UOayAtUT7cxlpc+AFMzJWK/MMH86qMQH0jc4FOKwNXAWqETNfTuyI631XkwHXWnjoJV07ArmzQSkXkQluV8Q3kznJiIDGsriqLiw4ozrRzhK95IMd5yW1T5/phsp+g== 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=iuiSTM45li+aDyh0p0Knxb3o4GcX0udIfI3oanJ4oEU=; b=zE0G5OR+X6ymaZkYvxrEYDmlaOAJg3W/GzbyxNy/Tq6h3ipPyYCT5AatkV/MG2Le7ecG/ukL1CYAgb4dRQcMNMhV94Rqfy8NpjaVlriAB/qg/NuwNXsNr0hEZFlDcb1u4vO8GsJx4/LWPXKLZssSd1YZ65t8lml8CqZSv8tF8Sc= Received: from SJ0PR11MB4862.namprd11.prod.outlook.com (2603:10b6:a03:2de::16) by BYAPR11MB2901.namprd11.prod.outlook.com (2603:10b6:a03:91::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3977.25; Tue, 30 Mar 2021 13:24:19 +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.033; Tue, 30 Mar 2021 13:24:19 +0000 From: "Dandan Bi" To: "devel@edk2.groups.io" CC: "Kinney, Michael D" , Sean Brogan , Bret Barkelew , Leif Lindholm , Ard Biesheuvel , Laszlo Ersek , "Yao, Jiewen" , "Wang, Jian J" , Sami Mujawar , Alexei Fedorov , Andrew Fish , "Ni, Ray" , "Chiu, Chasel" , "Desimone, Nathaniel L" , "Zeng, Star" , "Gao, Zhichao" , "Wu, Hao A" , "Ma, Maurice" , "Dong, Guo" , "You, Benjamin" , "Dong, Eric" , Maciej Rabeda , "Wu, Jiaxin" , "Fu, Siyuan" , "Justen, Jordan L" , Supreeth Venkatesh , Abner Chang , Nickle Wang , "Liming Gao" , "Liu, Zhiguang" Subject: Re: [edk2-devel] [patch V4 00/29] Add a new library class RegisterFilterLib in edk2 to filter/trace port IO/MMIO/MSR access Thread-Topic: [edk2-devel] [patch V4 00/29] Add a new library class RegisterFilterLib in edk2 to filter/trace port IO/MMIO/MSR access Thread-Index: AQHXI8pV1vAnIFKvakObpj6FTZh8QaqaRHgAgAJBK+A= Date: Tue, 30 Mar 2021 13:24:18 +0000 Message-ID: References: <16707FF9B84D29FC.5213@groups.io> <1670B0B0AC65D7DB.438@groups.io> In-Reply-To: <1670B0B0AC65D7DB.438@groups.io> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.55.46.56] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 4418f46b-9191-4216-7fa6-08d8f37f1fb0 x-ms-traffictypediagnostic: BYAPR11MB2901: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 5zvYgyC72uJmpq5oocE3qT/quGsXS0ivrdfsGeoAoGi7wSRr05iWVExvZKkbvcI/wrR5wxV7FbIkkrgjvC/N/khgDzwhSSfueTzRK2pZdicb3HpXA/co2D+g/99UbB2q7HzxY5veHYMZ7m3MpxNGKqrsaekJRTYC07VrtQ6zhzumcZRaunC/9LNOPiiYcoHrO0X0AjYvKwOMYE5PN2Xq5RKcUrtI14kuSCkXudaQwnMbBaEnn1dpW/TUVvxXAw5X7tKB445W5dvhCBWNxJZi+jlKtOeqoHyIQTIuQCHDp0ui6FaPLoqOZBWv2lQjTuBQo7hDpYCVJZS3yX1wIfu4zsNJv9o+h3RT+tonI6LKcFeXc1MpHBw0FWt9GhKeo3+H//2jKEo/PlKE96Ja/bm4etQYGqFQbcXjWjd8f+NPKX1ulZJpXFTEOVXbqI32bMinuCeQ2OTP01wxTFM0gLfrHAiqd/iO607pBKCHSV15m4sNC9RiJXswjRXRz47292eyq2ztKjI/P/7FaxpdVKiUfOwzRD10pQWVb7FXivscyoid+Arqrko9IA7kvOyOkjWtFVy1mziUX01ViGbv0IT6xrmuIXQbJs3pd6MLOQy+pZbvIWuDe/vlCpF7ho1X9VIakOndJc/U3ValJxHH20rTTVIL3DNE2LdGXXeYvLH9BIakGWMA6vXlZ5y90pc0kXVZhzWOzZIufYSA1QFgF+A5xoenEipdT412x0N5oRuhDVB7FLrRDMRSvJV5QgOkwuA5qpvBOxOO75unnqTEaE6r2UYbwb4PHTIT+fpZIOvL2M4= 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:(346002)(376002)(39860400002)(366004)(396003)(136003)(7696005)(19627235002)(6506007)(53546011)(52536014)(5660300002)(9686003)(64756008)(55016002)(66946007)(71200400001)(186003)(26005)(66446008)(83380400001)(316002)(54906003)(4326008)(66476007)(8936002)(33656002)(2906002)(76116006)(7416002)(966005)(86362001)(478600001)(6916009)(8676002)(38100700001)(66556008)(21314003)(547064002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?4apphrd32vv//kkIa5aP1dnWMo0ESOWYXRrJBZZIBAjibVzbkS97Vmvl/nep?= =?us-ascii?Q?y/ojKyov2bGejuqlkz0oPqCYdJbc1dOMBAGvGgkbowicvd7RMn7PmsPAVQ9o?= =?us-ascii?Q?69VlyCKNfkuq5kb7x9ju62sSwPOC6sExUE+MN4p4+P4PztknjJVNSxIkTGLU?= =?us-ascii?Q?B4KejfnZCAiGtk75IZC/4tTbg3Vuloqtx9QvDgXGQIMOYcQCD8+b0xhbN3eU?= =?us-ascii?Q?Svi0w2hHgbySt5RNoyEzecRQ+GziQIWyu81DxjUXQ8Wimtvloa4ZJW/iZHiy?= =?us-ascii?Q?u4U/eKmTsCy75ot13C0SCL6u2W4Zv+ebwGb3xIDJBqfZsX65T2RVZ1LSb4/o?= =?us-ascii?Q?GagmegAFdV+wQUYuxqLdk+bHv8en/MDqyp7ESx/OlLQwiP4RDRTF/m0cIqe9?= =?us-ascii?Q?al8z7gENnFy4jfxa/PF+ysT6oU6itp/721UrPPjPEu5HbWKv3+gi2ZGO7Y3f?= =?us-ascii?Q?BSo0fyACv3ImuhEichz7whv00K6NyRHlxmBlb2xMdIv/xEHKUvYVTIyM0NKb?= =?us-ascii?Q?SfGHW4ZtL23JzvH5FGWnd34s1AIjXG7l06dgUAb2V0NnKYcJP+MFr+Eeg0KY?= =?us-ascii?Q?aisP8Z1nBCUndUrHS2uX4ogDLgi08gigGgo4B8yqlLn9WGobaS+uVAVQkqMf?= =?us-ascii?Q?SiRtrF7Jm5QEQQ8JFjUimXCrKgX7oagGE3oYlIMv5p1kiFQZG1h8q+dQRF1o?= =?us-ascii?Q?iV3IVGiqjYdlGlUTZ9k3HQDftHqWcktf8iUjNBk1Nq71pNUtLcFmVyzFMmUg?= =?us-ascii?Q?rFHHOnoYr8+vCyCbQRGwfjDyUNPGzqKOTRaT/HdUw1GJq2/3hPjD3zG78U18?= =?us-ascii?Q?X42STJ6vOHj5AuhVlDfCU9sKIrm5+JKNwzAcbe+Q4Q5nkTfjBpCxQ9j2uGcB?= =?us-ascii?Q?+DVfZfGVLLU9yJTDj4XnyJxUB6xsf6jgBOwpcULLQUDwZT1nheqX9QV9T2Qc?= =?us-ascii?Q?buqagi6WW16H7qy/zlTKTDT8xRx0z5j/V1hINHom7BegoVBwopQxri3/qFxz?= =?us-ascii?Q?luWiKvhKkZDpTGYrGR1MAxUEMBmuENOHByRklYOSAJ4PiTdFFqefffUu6HUf?= =?us-ascii?Q?fgzdDRtgUX6bl9WvIqdUXtaZfG3yam2NYRD9gRs5uIWEb+haHPl0J9KVmkjz?= =?us-ascii?Q?TwRN6Zt6D37pAmQrthxTHbKZdTc6XXY1XGM6FpsYcFWUq3bLyQLZWRgYrDg1?= =?us-ascii?Q?5gwA63ReKc+w+zekt5w6PTpL8072uI9wiZFYE7KKH2nLZ+tkSfl9oADe2cWs?= =?us-ascii?Q?u2lPFKWvADxMeW2y2I8EKsVCMst7h3Rv/A6/ttHI+M1QP40I6h8UXM5BIOkb?= =?us-ascii?Q?T6s=3D?= 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: 4418f46b-9191-4216-7fa6-08d8f37f1fb0 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Mar 2021 13:24:18.9080 (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: pEI5gr5tLJoxy2kHJlzddLV3lT5chhUZpDbSGqvFvBIv1QCYqClfD+dVg4E7kK0nh5KxdvGe6ZSlFNUxpjMb9A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB2901 Return-Path: dandan.bi@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi All, Thank you for the patch review. I have submitted patch 1 &2 via following commits. https://github.com/tianocore/edk2/commit/1c11e7a2142b1406ccff5e0af0893c944= 72871c8 https://github.com/tianocore/edk2/commit/98ff7e3c6373d3e0590f953459b6234ab= 12edce6 I plan to submit dsc changes tomorrow afternoon with R-B got from Liming, = Mike, and some maintainers. If you have any concern, please let me know.=20 Thanks, Dandan > -----Original Message----- > From: devel@edk2.groups.io On Behalf Of Dandan > Bi > Sent: Monday, March 29, 2021 10:56 AM > To: devel@edk2.groups.io; Bi, Dandan > Cc: Kinney, Michael D ; Sean Brogan > ; Bret Barkelew > ; Leif Lindholm ; Ard > Biesheuvel ; Laszlo Ersek > ; Yao, Jiewen ; Wang, Jian J > ; Sami Mujawar ; Alexei > Fedorov ; Andrew Fish ; Ni, > Ray ; Chiu, Chasel ; Desimone, > Nathaniel L ; Zeng, Star > ; Gao, Zhichao ; Wu, Hao A > ; Ma, Maurice ; Dong, Guo > ; You, Benjamin ; Dong, > Eric ; Maciej Rabeda > ; Wu, Jiaxin ; Fu, > Siyuan ; Justen, Jordan L ; > Supreeth Venkatesh ; Abner Chang > ; Nickle Wang ; Liming > Gao ; Liu, Zhiguang > Subject: Re: [edk2-devel] [patch V4 00/29] Add a new library class > RegisterFilterLib in edk2 to filter/trace port IO/MMIO/MSR access >=20 > Hi Maintainers/Reviewers, >=20 > For this change serial, could you help review the patch in your package= s in > edk2/edk2-platform repo? Thanks in advance. >=20 >=20 > Thanks, > Dandan > > -----Original Message----- > > From: devel@edk2.groups.io On Behalf Of > Dandan > > Bi > > Sent: Sunday, March 28, 2021 8:02 PM > > To: devel@edk2.groups.io > > Cc: Kinney, Michael D ; Sean Brogan > > ; Bret Barkelew > > ; Leif Lindholm ; Ard > > Biesheuvel ; Laszlo Ersek > > ; Yao, Jiewen ; Wang, Jian J > > ; Sami Mujawar ; > Alexei > > Fedorov ; Andrew Fish ; Ni, > > Ray ; Chiu, Chasel ; > > Desimone, Nathaniel L ; Zeng, Star > > ; Gao, Zhichao ; Wu, Hao > A > > ; Ma, Maurice ; Dong, > Guo > > ; You, Benjamin ; Dong, > > Eric ; Maciej Rabeda > > ; Wu, Jiaxin ; Fu, > > Siyuan ; Justen, Jordan L > > ; Supreeth Venkatesh > > ; Abner Chang ; > > Nickle Wang ; Liming Gao > > ; Liu, Zhiguang > > Subject: [edk2-devel] [patch V4 00/29] Add a new library class > > RegisterFilterLib in edk2 to filter/trace port IO/MMIO/MSR access > > > > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3246 > > RFC: https://edk2.groups.io/g/devel/message/72530 > > Branch for this change: > > https://github.com/dandanbi/edk2/tree/RegisterFilterLibV3 > > > > Patch 1 is to add RegisterFilterLib Library Class in edk2 to > > filter/trace port IO/MMIO/MSR access and add a RegisterFilterLibNull > instance. > > Patch 2 is to add the MdeLibs.dsc.inc file to MdePkg for some default > > libraries provided by MdePkg and add RegisterFilterLib into it as the > > first version of MdeLibs.dsc.inc. > > Last 2 patches are to update APIs in IoLib and BaseLib to filter/trace > > port IO/MMIO/MSR access. > > Remaining patches are to update related dsc files to consume > > MdeLibs.dsc.inc for RegisterFilterLib. > > Will submit patch 1 and 2 firstly. > > And then update related dsc files in edk2 and edk2platform repo to > > consume MdeLibs.dsc.inc for RegisterFilterLib. > > At last will submit the patches to update IoLib and BaseLib to > > filter/trace port IO/MMIO/MSR access. > > > > --- > > V4: > > Consume the MdeLibs.dsc.inc for RegisterFilterLibNull in dsc file > > rather than in xxx.dsc.inc. > > Following 2 patchws were updated for consuming MdeLibs.dsc.inc in > > platform dsc file. > > ArmVirtPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib > > UnitTestFrameworkPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib > > Other patches are the same with V3. > > --- > > V3: > > 1. Don't assume Library instances in MdeLibs.dsc.inc are must in > > common [LibraryClasses] section. > > Can specify different [LibraryClasses] section for the libary > > instances in MdeLibs.dsc.inc. > > 2. Update plaftom dsc to consume the MdeLibs.dsc outside the > > [LibraryClasses] section. > > 3. Pick up the R-B for patch 1, patch 28, patch 29. > > > > Cc: Michael D Kinney > > Cc: Sean Brogan > > Cc: Bret Barkelew > > Cc: Leif Lindholm > > Cc: Ard Biesheuvel > > Cc: Laszlo Ersek > > Cc: Jiewen Yao > > Cc: Jian J Wang > > Cc: Sami Mujawar > > Cc: Alexei Fedorov > > Cc: Andrew Fish > > Cc: Ray Ni > > Cc: Chasel Chiu > > Cc: Nate DeSimone > > Cc: Star Zeng > > Cc: Zhichao Gao > > Cc: Hao A Wu > > Cc: Maurice Ma > > Cc: Guo Dong > > Cc: Benjamin You > > Cc: Eric Dong > > Cc: Maciej Rabeda > > Cc: Jiaxin Wu > > Cc: Siyuan Fu > > Cc: Jordan Justen > > Cc: Supreeth Venkatesh > > Cc: Abner Chang > > Cc: Nickle Wang > > Cc: Liming Gao > > Cc: Zhiguang Liu > > > > Dandan Bi (29): > > MdePkg: Add RegisterFilterLib class and NULL instance > > MdePkg: Add MdeLibs.dsc.inc file to MdePkg > > ArmPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib > > ArmPlatformPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib > > ArmVirtPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib > > CryptoPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib > > DynamicTablesPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib > > EmbeddedPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib > > EmulatorPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib > > FatPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib > > FmpDevicePkg: Consume MdeLibs.dsc.inc for RegisterFilterLib > > IntelFsp2Pkg: Consume MdeLibs.dsc.inc for RegisterFilterLib > > IntelFsp2WrapperPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib > > MdeModulePkg: Consume MdeLibs.dsc.inc for RegisterFilterLib > > MdePkg: Consume MdeLibs.dsc.inc for RegisterFilterLib > > NetworkPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib > > OvmfPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib > > PcAtChipsetPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib > > RedfishPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib > > SecurityPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib > > ShellPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib > > SignedCapsulePkg: Consume MdeLibs.dsc.inc for RegisterFilterLib > > SourceLevelDebugPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib > > StandaloneMmPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib > > UefiCpuPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib > > UefiPayloadPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib > > UnitTestFrameworkPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib > > MdePkg/IoLib: Filter/trace port IO/MMIO access > > MdePkg/Baseib: Filter/trace MSR access for IA32/X64 > > > > ArmPkg/ArmPkg.dsc | 2 + > > ArmPlatformPkg/ArmPlatformPkg.dsc | 2 + > > ArmVirtPkg/ArmVirt.dsc.inc | 4 +- > > CryptoPkg/CryptoPkg.dsc | 5 +- > > DynamicTablesPkg/DynamicTablesPkg.dsc | 2 + > > EmbeddedPkg/EmbeddedPkg.dsc | 5 +- > > EmulatorPkg/EmulatorPkg.dsc | 4 +- > > FatPkg/FatPkg.dsc | 4 +- > > FmpDevicePkg/FmpDevicePkg.dsc | 4 +- > > IntelFsp2Pkg/IntelFsp2Pkg.dsc | 4 +- > > IntelFsp2Pkg/Tools/Tests/QemuFspPkg.dsc | 2 + > > IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dsc | 4 +- > > MdeModulePkg/MdeModulePkg.dsc | 4 +- > > MdePkg/Include/Library/RegisterFilterLib.h | 243 ++++++++++++++++ > > .../BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf | 3 +- > > .../BaseIoLibIntrinsicArmVirt.inf | 3 +- > > .../BaseIoLibIntrinsicInternal.h | 3 +- > > .../BaseIoLibIntrinsicSev.inf | 3 +- > > MdePkg/Library/BaseIoLibIntrinsic/IoLib.c | 95 ++++-- > > .../Library/BaseIoLibIntrinsic/IoLibArmVirt.c | 82 +++++- > > MdePkg/Library/BaseIoLibIntrinsic/IoLibGcc.c | 58 +++- > > MdePkg/Library/BaseIoLibIntrinsic/IoLibMsc.c | 81 ++++-- > > MdePkg/Library/BaseIoLibIntrinsic/IoLibNoIo.c | 74 ++++- > > MdePkg/Library/BaseLib/BaseLib.inf | 5 +- > > MdePkg/Library/BaseLib/Ia32/GccInlinePriv.c | 38 ++- > > MdePkg/Library/BaseLib/Ia32/ReadMsr64.c | 38 ++- > > MdePkg/Library/BaseLib/Ia32/WriteMsr64.c | 22 +- > > MdePkg/Library/BaseLib/X64/GccInlinePriv.c | 43 ++- > > MdePkg/Library/BaseLib/X64/ReadMsr64.c | 15 +- > > MdePkg/Library/BaseLib/X64/WriteMsr64.c | 13 +- > > .../RegisterFilterLibNull.c | 271 +++++++++++++++++= + > > .../RegisterFilterLibNull.inf | 23 ++ > > .../RegisterFilterLibNull.uni | 13 + > > MdePkg/MdeLibs.dsc.inc | 15 + > > MdePkg/MdePkg.dec | 7 +- > > MdePkg/MdePkg.dsc | 6 +- > > NetworkPkg/NetworkPkg.dsc | 4 +- > > OvmfPkg/AmdSev/AmdSevX64.dsc | 5 +- > > OvmfPkg/Bhyve/BhyveX64.dsc | 5 +- > > OvmfPkg/OvmfPkgIa32.dsc | 5 +- > > OvmfPkg/OvmfPkgIa32X64.dsc | 5 +- > > OvmfPkg/OvmfPkgX64.dsc | 5 +- > > OvmfPkg/OvmfXen.dsc | 5 +- > > PcAtChipsetPkg/PcAtChipsetPkg.dsc | 4 +- > > RedfishPkg/RedfishPkg.dsc | 4 +- > > SecurityPkg/SecurityPkg.dsc | 4 +- > > ShellPkg/ShellPkg.dsc | 4 +- > > SignedCapsulePkg/SignedCapsulePkg.dsc | 4 +- > > SourceLevelDebugPkg/SourceLevelDebugPkg.dsc | 4 +- > > StandaloneMmPkg/StandaloneMmPkg.dsc | 5 +- > > UefiCpuPkg/UefiCpuPkg.dsc | 4 +- > > UefiPayloadPkg/UefiPayloadPkg.dsc | 5 +- > > .../UnitTestFrameworkPkgTarget.dsc.inc | 4 +- > > 53 files changed, 1131 insertions(+), 145 deletions(-) create mode > > 100644 MdePkg/Include/Library/RegisterFilterLib.h > > create mode 100644 > > MdePkg/Library/RegisterFilterLibNull/RegisterFilterLibNull.c > > create mode 100644 > > MdePkg/Library/RegisterFilterLibNull/RegisterFilterLibNull.inf > > create mode 100644 > > MdePkg/Library/RegisterFilterLibNull/RegisterFilterLibNull.uni > > create mode 100644 MdePkg/MdeLibs.dsc.inc > > > > -- > > 2.18.0.windows.1 > > > > > > > > > > >=20 >=20 >=20 >=20 >=20