From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (NAM12-MW2-obe.outbound.protection.outlook.com [40.92.23.74]) by mx.groups.io with SMTP id smtpd.web11.6683.1608370724115298602 for ; Sat, 19 Dec 2020 01:38:44 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@outlook.com header.s=selector1 header.b=ZO70bW5w; spf=pass (domain: outlook.com, ip: 40.92.23.74, mailfrom: kun.q@outlook.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aHCEB6Mvh46lwage6nVkEBFDDV0tg2y+veRlw+CZmRTykZ0g4IZyY/RAOjP4Ee3xM2CQjtejTCVCSwgfA/yOKzExP7DSShzgSe/sejYwDM7XLxbpClezSLduj+Pr45LEms2nPK4VrlGiGvhab4wwByFNFTZjzoM4swZ+IzSJzyOSylBxy5bttpDgzTUVrK1XAMaV7JX1tIskPJjPGWc3KJzFPoCc9U5ac/JdBhsBNRjm25emVAMC1w/3hjQ2Or6PcnO6Su6iQBIFT94p6dm+aDQwhoq4RRREY7uiArZnwtdyc6Kyv+w1oEGpAvUGbLMVKgiSQzCcQ8/0JHZm0xbLRA== 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=TSKHvcrWWsaOytyIOkbMp2x5piKSmVigPxlJ31nYPt8=; b=BtNbJHqXGEfLKXGYhKOySPYJLcNcjfugAkucnkGf9r5q704gdz/9b989T6ISJOmV/k4nm6OVUCFpmKAAH2nOwojj4pJ/3GkRuR2ElPVtMakhOE5szLRo1FGGyP0alMtL/8sZl+Hhi0F34WjNM7x8g/B/ILMJj37QPIayT+63xzrn2M/FcElofkiIR014/kXoxQErZqhz8IG5lCJQYaBhlGzbGk9Ri779ZBWjnTxp56baU0Q7vXjX3otZsLM3D0GOFQQ21GMyNBue7eRmuuUte/boKCeJaeMBhmR3jUURKxsRZ+j2PCfyIBNqY7h0i2nusw+4uHnbZpwduYpPY4MsxA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TSKHvcrWWsaOytyIOkbMp2x5piKSmVigPxlJ31nYPt8=; b=ZO70bW5wjcVQJyyyBdsLEAzUT3L7F9vl+tWp49N/Aho/ex3K5cuGoJR4VM/jEImZT+Pl62Jb4W6mhIASqPNhILwrpdmqWOiafEfFyfTrCI9dJxwxOYBo6zxhJyf1Fj632/1VEooQxiuYmbl0ZIMEGvUz7/vbOxFyumJZDxcZUOzbdlLDQgco+lBz2dv55E/pSGP9LQc6cwOIvq2BKvsWiwOOdXUz4zwPhO7ArQkgaspFYC0+b8L9ey5hmzilrlTZbBmhd2M8lLtx6sqjuOeSkUl5qGRiRf2eohfWiCnVs4DRYhLDZjjRl7B48wzHQ5TcArGDHgnqFXQN4u9eTMEqSQ== Received: from MW2NAM12FT067.eop-nam12.prod.protection.outlook.com (2a01:111:e400:fc65::53) by MW2NAM12HT022.eop-nam12.prod.protection.outlook.com (2a01:111:e400:fc65::101) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3676.10; Sat, 19 Dec 2020 09:38:42 +0000 Received: from MWHPR06MB3102.namprd06.prod.outlook.com (2a01:111:e400:fc65::50) by MW2NAM12FT067.mail.protection.outlook.com (2a01:111:e400:fc65::289) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3676.10 via Frontend Transport; Sat, 19 Dec 2020 09:38:42 +0000 Received: from MWHPR06MB3102.namprd06.prod.outlook.com ([fe80::acb3:ab69:563d:b0d6]) by MWHPR06MB3102.namprd06.prod.outlook.com ([fe80::acb3:ab69:563d:b0d6%5]) with mapi id 15.20.3676.029; Sat, 19 Dec 2020 09:38:42 +0000 From: "Kun Qin" To: "Yao, Jiewen" , "devel@edk2.groups.io" CC: "Wang, Jian J" , "Wu, Hao A" , "Dong, Eric" , "Bi, Dandan" , Liming Gao , "Kinney, Michael D" , "Liu, Zhiguang" , "Ni, Ray" , "Zhang, Qi1" , "Kumar, Rahul1" , Ard Biesheuvel , Sami Mujawar , Supreeth Venkatesh , Laszlo Ersek Subject: Re: [edk2-devel] [PATCH v1 00/15] Extends Support of MM_STANDALONE Type Modules to X64 Thread-Topic: [edk2-devel] [PATCH v1 00/15] Extends Support of MM_STANDALONE Type Modules to X64 Thread-Index: AQHW1W6mM6VCII1Ar0ykM0JZSS1LOqn9y2+AgABAdbs= Date: Sat, 19 Dec 2020 09:38:42 +0000 Message-ID: References: , In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:5685BACF2B9427B7C8B643044C0BDFCE4C45B209188C9107EBFE4120E0F6BD97;UpperCasedChecksum:29209C34FA317317B2B6A2D2A45FC499C30513B2FC6F3EFE075574AE36DC3C04;SizeAsReceived:7597;Count:44 x-tmn: [RoWQrEYXD8hGJIHfPZMGbpTjZxUW2cky] x-ms-publictraffictype: Email x-incomingheadercount: 44 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: e498f5cf-068d-4835-b2cb-08d8a401df52 x-ms-traffictypediagnostic: MW2NAM12HT022: x-ms-exchange-minimumurldomainage: groups.io#3694 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: FC/k+3Y/3V5k8XqgVEwIZFTCkMDG/FulbJJNexh1iDMXaMuKWYDHfIR1+WRtZEARvUJXWOLAFBQ+ryMRxhB85ByhSP5mJKqnxXEyYCL0Fh/3Jy7/5Cp/ialer3x/3NjE3nk5B5hx378USEtJXtefnThCHT7yAfBu+7ry9FNuA8LwphGamCw3ancG3tcyFufUzmBxbPNfUeHaM/rUe9rju9RkQPstbNZqXOs3m9eY86Joxut+2DGE71sbqRh/sWLNHSkTwxI33jdy5djAr2trGVF0z8HTAoGzStrYkpFZrFY= x-ms-exchange-antispam-messagedata: CF9yLWXIdbF/xHmVrHB/Y194XEQ1MhU9FT45Ih/CCLl5a4Sa6YkW/ymZxwCipO5/l5JOWy0v4CG8YFaTUulT+3HEkPhy8bU7iGdWVeYk1XPf3BsGmiwlnRC5Y9LcDN+ws20TDzeAOSl6UpWE+ymQCw== x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-AuthSource: MW2NAM12FT067.eop-nam12.prod.protection.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: e498f5cf-068d-4835-b2cb-08d8a401df52 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Dec 2020 09:38:42.0677 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW2NAM12HT022 Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_MWHPR06MB31024787663817A3BA6A1946F3C20MWHPR06MB3102namp_" --_000_MWHPR06MB31024787663817A3BA6A1946F3C20MWHPR06MB3102namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Jiewen, All these modules are tested on two different proprietary physical platfor= ms (which both have dTPM on board). Standalone and traditional MM are both = validated to be functional on those systems. For some drivers not listed in the patch series (such as Tcg2Smm and Stand= aloneMmCpu) to work on X64 system with StandaloneMm, they will need certain= design changes or heavier modification than minor implementation abstracti= on in contrast to these commits. I think it will be more suitable to send t= hem as separate patches instead of flooding in everything all at once. Plea= se let me know if you think otherwise. Thanks, Kun From: Yao, Jiewen Sent: Friday, December 18, 2020 19:58 To: devel@edk2.groups.io; kun.q@outlook.com Cc: Wang, Jian J; Wu, Hao A; Dong, Eric; Bi, Dandan; Liming Gao; Kinney, Micha= el D; Liu, Zhiguang; Ni, Ray; Zhang, Qi1; Kumar, Rahul1; Ard Biesheuvel; Sami Mujawar; Sup= reeth Venkatesh; Laszlo Ersek Subject: RE: [edk2-devel] [PATCH v1 00/15] Extends Support of MM_STANDALON= E Type Modules to X64 Hi Thanks to add the StandaloneMM support. Would you please share the information on how you test the patch series? For every feature you touched (such as TPM), have you validated both tradi= tional MM and standalone MM feature on some platforms? Thank you Yao Jiewen > -----Original Message----- > From: devel@edk2.groups.io On Behalf Of Kun Qin > Sent: Saturday, December 19, 2020 2:50 AM > To: devel@edk2.groups.io > Cc: Wang, Jian J ; Wu, Hao A > ; Dong, Eric ; Bi, Dandan > ; Liming Gao ; Kinney, > Michael D ; Liu, Zhiguang > ; Ni, Ray ; Yao, Jiewen > ; Zhang, Qi1 ; Kumar, > Rahul1 ; Ard Biesheuvel > ; Sami Mujawar ; > Supreeth Venkatesh ; Laszlo Ersek > > Subject: [edk2-devel] [PATCH v1 00/15] Extends Support of > MM_STANDALONE Type Modules to X64 > > Current MM_STANDALONE type modules are largely focusing on AArch64 > systems, which presents certain gaps to compile or run StandaloneMm on > X64 system. > > This patch series extended support for MM_STANDALONE type modules to > build and run on X64 systems by creating new instances of drivers and > libraries. > > A few minor build time bugs related to this effort are also fixed. > > Patch v1 branch: > https://github.com/kuqin12/edk2/tree/standalone_x64_v1 > > Cc: Jian J Wang > Cc: Hao A Wu > Cc: Eric Dong > Cc: Dandan Bi > Cc: Liming Gao > Cc: Michael D Kinney > Cc: Zhiguang Liu > Cc: Ray Ni > Cc: Jiewen Yao > Cc: Qi Zhang > Cc: Rahul Kumar > Cc: Ard Biesheuvel > Cc: Sami Mujawar > Cc: Supreeth Venkatesh > Cc: Laszlo Ersek > > Kun Qin (15): > StandaloneMmPkg: StandaloneMmCoreEntryPoint: Extends support for > X64 > StandaloneMmPkg: StandaloneMmCoreHobLib: Extend support for x64 > Mm > Core > StandaloneMmPkg: StandaloneMmCoreMemoryAllocationLib: Fix > compiler > warning > StandaloneMmPkg: StandaloneMmMemLib: Extends support for X64 > architecture > MdeModulePkg: SmmLockBoxSmmLib: Support StandaloneMm for > SmmLockBoxLib > MdeModulePkg: SmmReportStatusCodeLib: ReportStatusCodeLib in > StandaloneMm > MdeModulePkg: FirmwarePerformanceDataTable: Added StandaloneMm > support > MdeModulePkg: ReportStatusCodeRouter: Support StandaloneMm RSC > Router > MdePkg: UefiDevicePathLib: Support UefiDevicePathLib under > StandaloneMm > PcAtChipsetPkg: AcpiTimerLib: Added StandaloneMm instance of > AcpiTimerLib > SecurityPkg: Tcg2PhysicalPresenceLib: Introduce StandaloneMm instance > SecurityPkg: Tcg2PpVendorLibNull: Added support for MM_STANDALONE > type > SecurityPkg: Tpm2DeviceLibDTpm: Introduce StandaloneMm instance > UefiCpuPkg: CpuIo2Smm: Support of CpuIo driver under StandaloneMm > UefiCpuPkg: SmmCpuExceptionHandlerLib: Added StandaloneMm module > support > > MdeModulePkg/Library/SmmLockBoxLib/{SmmLockBoxSmmLib.c =3D> > SmmLockBoxMmLib.c} | = 77 ++-- > MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxStandaloneMmLib.c > | 53 +++ > MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxTraditionalMmLib.c > | 53 +++ > MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLib.c > | 16 +- > > MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLibSt > andaloneMm.c | 39 ++ > > MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLibTr > aditional.c | 39 ++ > > MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/{Fir > mwarePerformanceSmm.c =3D> FirmwarePerformanceCommon.c} | 72 > ++-- > > MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/Firm > warePerformanceStandaloneMm.c | 62 ++= + > > MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/Firm > warePerformanceTraditional.c | 62 ++= + > > MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/{ReportStatusCo > deRouterSmm.c =3D> ReportStatusCodeRouterCommon.c} | 43 += - > > MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCo > deRouterStandaloneMm.c | 33 ++ > > MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCo > deRouterTraditional.c | 33 ++ > MdePkg/Library/UefiDevicePathLib/DevicePathUtilities.c > | 33 -- > MdePkg/Library/UefiDevicePathLib/DevicePathUtilitiesDxeSmm.c > | 51 +++ > MdePkg/Library/UefiDevicePathLib/DevicePathUtilitiesStandaloneMm.c > | 40 ++ > PcAtChipsetPkg/Library/AcpiTimerLib/{DxeAcpiTimerLib.c =3D> > CommonAcpiTimerLib.c} | = 8 +- > PcAtChipsetPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.c > | 81 +--- > PcAtChipsetPkg/Library/AcpiTimerLib/StandaloneAcpiTimerLib.c > | 31 ++ > > SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/{SmmTcg2PhysicalPrese > nceLib.c =3D> MmTcg2PhysicalPresenceLibCommon.c} | 29 +- > > SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresen > ceLib.c | 368 +-----= ----------- > > SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/StandaloneMmTcg2Phys > icalPresenceLib.c | 42 ++ > SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.c > | 42 +- > SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpmBase.c > | 69 ++++ > > SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpmStandalone > Mm.c | 67 +++ > SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.c > | 40 +- > SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2Ptp.c > | 15 +- > > StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/X64/Standalone > MmCoreEntryPoint.c | 71 +++= + > StandaloneMmPkg/Library/StandaloneMmCoreHobLib/{ =3D> > AArch64}/StandaloneMmCoreHobLib.c = | 6 +- > StandaloneMmPkg/Library/StandaloneMmCoreHobLib/{ =3D> > X64}/StandaloneMmCoreHobLib.c = | 426 > ++++++++++---------- > > StandaloneMmPkg/Library/StandaloneMmCoreMemoryAllocationLib/Stan > daloneMmCoreMemoryAllocationLib.c | 2 +- > > StandaloneMmPkg/Library/StandaloneMmMemLib/X64/StandaloneMmMe > mLibInternal.c | 67= +++ > UefiCpuPkg/CpuIo2Smm/{CpuIo2Smm.c =3D> CpuIo2Common.c} > | 14 +- > UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.c > | 384 +----------------- > UefiCpuPkg/CpuIo2Smm/CpuIo2StandaloneMm.c > | 31 ++ > MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxLibPrivate.h > | 27 ++ > MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf > | 15 +- > MdeModulePkg/Library/SmmLockBoxLib/{SmmLockBoxSmmLib.inf =3D> > SmmLockBoxStandaloneMmLib.inf} | 2= 6 +- > MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLib.h > | 37 ++ > > MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCode > Lib.inf | 4 += - > > MdeModulePkg/Library/SmmReportStatusCodeLib/{SmmReportStatusCode > Lib.inf =3D> StandaloneMmReportStatusCodeLib.inf} | 17 = +- > MdeModulePkg/MdeModulePkg.dsc > | 6 + > > MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/Firm > warePerformanceCommon.h | 55 ++= + > > MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/Firm > warePerformanceSmm.inf | 11 +- > > MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/{Fir > mwarePerformanceSmm.inf =3D> FirmwarePerformanceStandaloneMm.inf} | > 31 +- > > MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/{ReportStatusCo > deRouterSmm.h =3D> ReportStatusCodeRouterCommon.h} | 50 += +- > > MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCo > deRouterSmm.inf | 13 +- > > MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCo > deRouterStandaloneMm.inf | 49 ++= + > MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf > | 1 + > > MdePkg/Library/UefiDevicePathLib/UefiDevicePathLibOptionalDevicePathPr > otocol.inf | 1 + > MdePkg/Library/UefiDevicePathLib/{UefiDevicePathLib.inf =3D> > UefiDevicePathLibStandaloneMm.inf} | = 11 +- > MdePkg/MdePkg.dsc > | 1 + > PcAtChipsetPkg/Library/AcpiTimerLib/CommonAcpiTimerLib.h > | 25 ++ > PcAtChipsetPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf > | 2 + > PcAtChipsetPkg/Library/AcpiTimerLib/{DxeAcpiTimerLib.inf =3D> > StandaloneAcpiTimerLib.inf} | 1= 9 +- > PcAtChipsetPkg/PcAtChipsetPkg.dsc > | 1 + > > SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/MmTcg2PhysicalPresenc > eLibCommon.h | 35 ++ > > SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresen > ceLib.inf | 6 +- > > SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/{SmmTcg2PhysicalPrese > nceLib.inf =3D> StandaloneMmTcg2PhysicalPresenceLib.inf} | 22 +- > SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibNull.inf > | 2 +- > SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.h > | 68 ++++ > SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf > | 3 + > SecurityPkg/Library/Tpm2DeviceLibDTpm/{Tpm2DeviceLibDTpm.inf =3D> > Tpm2DeviceLibDTpmStandaloneMm.inf} | 13 +- > SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf > | 3 + > SecurityPkg/SecurityPkg.dsc > | 3 + > > StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneMm > CoreEntryPoint.inf | 3 + > > StandaloneMmPkg/Library/StandaloneMmCoreHobLib/StandaloneMmCore > HobLib.inf | 8 += - > > StandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib > .inf | 6= +- > UefiCpuPkg/CpuIo2Smm/{CpuIo2Smm.h =3D> CpuIo2Common.h} > | 18 +- > UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf > | 7 +- > UefiCpuPkg/CpuIo2Smm/{CpuIo2Smm.inf =3D> CpuIo2StandaloneMm.inf} > | 23 +- > > UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib. > inf | 2 +- > UefiCpuPkg/UefiCpuPkg.dsc > | 6 + > 72 files changed, 1704 insertions(+), 1425 deletions(-) > rename MdeModulePkg/Library/SmmLockBoxLib/{SmmLockBoxSmmLib.c > =3D> SmmLockBoxMmLib.c} (89%) > create mode 100644 > MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxStandaloneMmLib.c > create mode 100644 > MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxTraditionalMmLib.c > create mode 100644 > MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLibSt > andaloneMm.c > create mode 100644 > MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLibTr > aditional.c > rename > MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/{Fir > mwarePerformanceSmm.c =3D> FirmwarePerformanceCommon.c} (77%) > create mode 100644 > MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/Firm > warePerformanceStandaloneMm.c > create mode 100644 > MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/Firm > warePerformanceTraditional.c > rename > MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/{ReportStatusCo > deRouterSmm.c =3D> ReportStatusCodeRouterCommon.c} (80%) > create mode 100644 > MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCo > deRouterStandaloneMm.c > create mode 100644 > MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCo > deRouterTraditional.c > create mode 100644 > MdePkg/Library/UefiDevicePathLib/DevicePathUtilitiesDxeSmm.c > create mode 100644 > MdePkg/Library/UefiDevicePathLib/DevicePathUtilitiesStandaloneMm.c > copy PcAtChipsetPkg/Library/AcpiTimerLib/{DxeAcpiTimerLib.c =3D> > CommonAcpiTimerLib.c} (86%) > create mode 100644 > PcAtChipsetPkg/Library/AcpiTimerLib/StandaloneAcpiTimerLib.c > copy > SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/{SmmTcg2PhysicalPrese > nceLib.c =3D> MmTcg2PhysicalPresenceLibCommon.c} (91%) > create mode 100644 > SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/StandaloneMmTcg2Phys > icalPresenceLib.c > create mode 100644 > SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpmBase.c > create mode 100644 > SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpmStandalone > Mm.c > create mode 100644 > StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/X64/Standalone > MmCoreEntryPoint.c > copy StandaloneMmPkg/Library/StandaloneMmCoreHobLib/{ =3D> > AArch64}/StandaloneMmCoreHobLib.c (96%) > rename StandaloneMmPkg/Library/StandaloneMmCoreHobLib/{ =3D> > X64}/StandaloneMmCoreHobLib.c (70%) > create mode 100644 > StandaloneMmPkg/Library/StandaloneMmMemLib/X64/StandaloneMmMe > mLibInternal.c > copy UefiCpuPkg/CpuIo2Smm/{CpuIo2Smm.c =3D> CpuIo2Common.c} (94%) > create mode 100644 UefiCpuPkg/CpuIo2Smm/CpuIo2StandaloneMm.c > copy MdeModulePkg/Library/SmmLockBoxLib/{SmmLockBoxSmmLib.inf =3D> > SmmLockBoxStandaloneMmLib.inf} (52%) > create mode 100644 > MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLib.h > copy > MdeModulePkg/Library/SmmReportStatusCodeLib/{SmmReportStatusCode > Lib.inf =3D> StandaloneMmReportStatusCodeLib.inf} (64%) > create mode 100644 > MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/Firm > warePerformanceCommon.h > copy > MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/{Fir > mwarePerformanceSmm.inf =3D> FirmwarePerformanceStandaloneMm.inf} > (65%) > rename > MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/{ReportStatusCo > deRouterSmm.h =3D> ReportStatusCodeRouterCommon.h} (70%) > create mode 100644 > MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCo > deRouterStandaloneMm.inf > copy MdePkg/Library/UefiDevicePathLib/{UefiDevicePathLib.inf =3D> > UefiDevicePathLibStandaloneMm.inf} (79%) > create mode 100644 > PcAtChipsetPkg/Library/AcpiTimerLib/CommonAcpiTimerLib.h > copy PcAtChipsetPkg/Library/AcpiTimerLib/{DxeAcpiTimerLib.inf =3D> > StandaloneAcpiTimerLib.inf} (70%) > create mode 100644 > SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/MmTcg2PhysicalPresenc > eLibCommon.h > copy > SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/{SmmTcg2PhysicalPrese > nceLib.inf =3D> StandaloneMmTcg2PhysicalPresenceLib.inf} (64%) > create mode 100644 > SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.h > copy SecurityPkg/Library/Tpm2DeviceLibDTpm/{Tpm2DeviceLibDTpm.inf =3D> > Tpm2DeviceLibDTpmStandaloneMm.inf} (70%) > rename UefiCpuPkg/CpuIo2Smm/{CpuIo2Smm.h =3D> CpuIo2Common.h} > (92%) > copy UefiCpuPkg/CpuIo2Smm/{CpuIo2Smm.inf =3D> > CpuIo2StandaloneMm.inf} (56%) > > -- > 2.28.0.windows.1 > > > >=20 > --_000_MWHPR06MB31024787663817A3BA6A1946F3C20MWHPR06MB3102namp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi Jiewen,

 

All these modules are tested on two different propr= ietary physical platforms (which both have dTPM on board). Standalone and t= raditional MM are both validated to be functional on those systems.

 

For some drivers not listed in the patch series (su= ch as Tcg2Smm and StandaloneMmCpu) to work on X64 system with StandaloneMm,= they will need certain design changes or heavier modification than minor i= mplementation abstraction in contrast to these commits. I think it will be more suitable to send them as separa= te patches instead of flooding in everything all at once. Please let me kno= w if you think otherwise.

 

Thanks,

Kun

 

 

Hi
Thanks to add the StandaloneMM support.

Would you please share the information on how you test the patch series?
For every feature you touched (such as TPM), have you validated both tradi= tional MM and standalone MM feature on some platforms?

Thank you
Yao Jiewen



> -----Original Message-----
> From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of = Kun Qin
> Sent: Saturday, December 19, 2020 2:50 AM
> To: devel@edk2.groups.io
> Cc: Wang, Jian J <jian.j.wang@intel.com>; Wu, Hao A
> <hao.a.wu@intel.com>; Dong, Eric <eric.dong@intel.com>; B= i, Dandan
> <dandan.bi@intel.com>; Liming Gao <gaoliming@byosoft.com.cn&= gt;; Kinney,
> Michael D <michael.d.kinney@intel.com>; Liu, Zhiguang
> <zhiguang.liu@intel.com>; Ni, Ray <ray.ni@intel.com>; Yao= , Jiewen
> <jiewen.yao@intel.com>; Zhang, Qi1 <qi1.zhang@intel.com>;= Kumar,
> Rahul1 <rahul1.kumar@intel.com>; Ard Biesheuvel
> <ard.biesheuvel@arm.com>; Sami Mujawar <sami.mujawar@arm.com= >;
> Supreeth Venkatesh <supreeth.venkatesh@arm.com>; Laszlo Ersek > <lersek@redhat.com>
> Subject: [edk2-devel] [PATCH v1 00/15] Extends Support of
> MM_STANDALONE Type Modules to X64
>
> Current MM_STANDALONE type modules are largely focusing on AArch64 > systems, which presents certain gaps to compile or run StandaloneMm o= n
> X64 system.
>
> This patch series extended support for MM_STANDALONE type modules to<= br> > build and run on X64 systems by creating new instances of drivers and=
> libraries.
>
> A few minor build time bugs related to this effort are also fixed. >
> Patch v1 branch:
>
ht= tps://github.com/kuqin12/edk2/tree/standalone_x64_v1
>
> Cc: Jian J Wang <jian.j.wang@intel.com>
> Cc: Hao A Wu <hao.a.wu@intel.com>
> Cc: Eric Dong <eric.dong@intel.com>
> Cc: Dandan Bi <dandan.bi@intel.com>
> Cc: Liming Gao <gaoliming@byosoft.com.cn>
> Cc: Michael D Kinney <michael.d.kinney@intel.com>
> Cc: Zhiguang Liu <zhiguang.liu@intel.com>
> Cc: Ray Ni <ray.ni@intel.com>
> Cc: Jiewen Yao <jiewen.yao@intel.com>
> Cc: Qi Zhang <qi1.zhang@intel.com>
> Cc: Rahul Kumar <rahul1.kumar@intel.com>
> Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
> Cc: Sami Mujawar <sami.mujawar@arm.com>
> Cc: Supreeth Venkatesh <supreeth.venkatesh@arm.com>
> Cc: Laszlo Ersek <lersek@redhat.com>
>
> Kun Qin (15):
>   StandaloneMmPkg: StandaloneMmCoreEntryPoint: Extends supp= ort for
> X64
>   StandaloneMmPkg: StandaloneMmCoreHobLib: Extend support f= or x64
> Mm
>     Core
>   StandaloneMmPkg: StandaloneMmCoreMemoryAllocationLib: Fix=
> compiler
>     warning
>   StandaloneMmPkg: StandaloneMmMemLib: Extends support for = X64
>     architecture
>   MdeModulePkg: SmmLockBoxSmmLib: Support StandaloneMm for<= br> > SmmLockBoxLib
>   MdeModulePkg: SmmReportStatusCodeLib: ReportStatusCodeLib= in
>     StandaloneMm
>   MdeModulePkg: FirmwarePerformanceDataTable: Added Standal= oneMm
> support
>   MdeModulePkg: ReportStatusCodeRouter: Support StandaloneM= m RSC
> Router
>   MdePkg: UefiDevicePathLib: Support UefiDevicePathLib unde= r
>     StandaloneMm
>   PcAtChipsetPkg: AcpiTimerLib: Added StandaloneMm instance= of
>     AcpiTimerLib
>   SecurityPkg: Tcg2PhysicalPresenceLib: Introduce Standalon= eMm instance
>   SecurityPkg: Tcg2PpVendorLibNull: Added support for MM_ST= ANDALONE
> type
>   SecurityPkg: Tpm2DeviceLibDTpm: Introduce StandaloneMm in= stance
>   UefiCpuPkg: CpuIo2Smm: Support of CpuIo driver under Stan= daloneMm
>   UefiCpuPkg: SmmCpuExceptionHandlerLib: Added StandaloneMm= module
>     support
>
>  MdeModulePkg/Library/SmmLockBoxLib/{SmmLockBoxSmmLib.c =3D><= br> > SmmLockBoxMmLib.c}        &nb= sp;            =             &nb= sp;            =       |  77 ++--
>  MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxStandaloneMmLib.c<= br> > |  53 +++
>  MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxTraditionalMmLib.c=
> |  53 +++
>  MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLib= .c
> |  16 +-
>
> MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLibSt
> andaloneMm.c         &nb= sp;            =             &nb= sp;            =     |  39 ++
>
> MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLibTr
> aditional.c         &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;    |  39 ++
>
> MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/{Fir
> mwarePerformanceSmm.c =3D> FirmwarePerformanceCommon.c}  = ;         |  72
> ++--
>
> MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/Firm
> warePerformanceStandaloneMm.c      &nbs= p;            &= nbsp;           &nbs= p;   |  62 +++
>
> MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/Firm
> warePerformanceTraditional.c       = ;            &n= bsp;            = ;    |  62 +++
>
> MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/{ReportStatusCo
> deRouterSmm.c =3D> ReportStatusCodeRouterCommon.c}  &nbs= p;            | = ; 43 +-
>
> MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCo
> deRouterStandaloneMm.c        = ;            &n= bsp;            = ;         |  33 ++
>
> MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCo
> deRouterTraditional.c        =             &nb= sp;            =           |  33 ++
>  MdePkg/Library/UefiDevicePathLib/DevicePathUtilities.c
> |  33 --
>  MdePkg/Library/UefiDevicePathLib/DevicePathUtilitiesDxeSmm.c > |  51 +++
>  MdePkg/Library/UefiDevicePathLib/DevicePathUtilitiesStandaloneM= m.c
> |  40 ++
>  PcAtChipsetPkg/Library/AcpiTimerLib/{DxeAcpiTimerLib.c =3D><= br> > CommonAcpiTimerLib.c}        =             &nb= sp;            =             &nb= sp;   |   8 +-
>  PcAtChipsetPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.c
> |  81 +---
>  PcAtChipsetPkg/Library/AcpiTimerLib/StandaloneAcpiTimerLib.c > |  31 ++
>
> SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/{SmmTcg2PhysicalPrese<= br> > nceLib.c =3D> MmTcg2PhysicalPresenceLibCommon.c}   =            |  29 +-<= br> >
> SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresen<= br> > ceLib.c          &n= bsp;            = ;            &n= bsp;            = ;     | 368 +----------------
>
> SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/StandaloneMmTcg2Phys > icalPresenceLib.c        &nbs= p;            &= nbsp;           &nbs= p;          |  42 ++
>  SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.c
> |  42 +-
>  SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpmBase.c > |  69 ++++
>
> SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpmStandalone
> Mm.c           = ;            &n= bsp;            = ;            &n= bsp;          |  67 +++ >  SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.c
> |  40 +-
>  SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2Ptp.c
> |  15 +-
>
> StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/X64/Standalone
> MmCoreEntryPoint.c        &nb= sp;            =             &nb= sp;           |  71 = ++++
>  StandaloneMmPkg/Library/StandaloneMmCoreHobLib/{ =3D>
> AArch64}/StandaloneMmCoreHobLib.c      =             &nb= sp;            =             | &= nbsp; 6 +-
>  StandaloneMmPkg/Library/StandaloneMmCoreHobLib/{ =3D>
> X64}/StandaloneMmCoreHobLib.c      &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;  | 426
> ++++++++++----------
>
> StandaloneMmPkg/Library/StandaloneMmCoreMemoryAllocationLib/Stan
> daloneMmCoreMemoryAllocationLib.c      =             &nb= sp;            |&nbs= p;  2 +-
>
> StandaloneMmPkg/Library/StandaloneMmMemLib/X64/StandaloneMmMe
> mLibInternal.c         &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;      |  67 +++
>  UefiCpuPkg/CpuIo2Smm/{CpuIo2Smm.c =3D> CpuIo2Common.c}
> |  14 +-
>  UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.c
> | 384 +-----------------
>  UefiCpuPkg/CpuIo2Smm/CpuIo2StandaloneMm.c
> |  31 ++
>  MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxLibPrivate.h
> |  27 ++
>  MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf
> |  15 +-
>  MdeModulePkg/Library/SmmLockBoxLib/{SmmLockBoxSmmLib.inf =3D>= ;
> SmmLockBoxStandaloneMmLib.inf}      &nb= sp;            =             &nb= sp;      |  26 +-
>  MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLib= .h
> |  37 ++
>
> MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCode
> Lib.inf          &n= bsp;            = ;            &n= bsp;            = ;          |   4 +-<= br> >
> MdeModulePkg/Library/SmmReportStatusCodeLib/{SmmReportStatusCode
> Lib.inf =3D> StandaloneMmReportStatusCodeLib.inf}   = ;            &n= bsp; |  17 +-
>  MdeModulePkg/MdeModulePkg.dsc
> |   6 +
>
> MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/Firm
> warePerformanceCommon.h       &nbs= p;            &= nbsp;           &nbs= p;        |  55 +++
>
> MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/Firm
> warePerformanceSmm.inf        = ;            &n= bsp;            = ;         |  11 +-
>
> MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/{Fir
> mwarePerformanceSmm.inf =3D> FirmwarePerformanceStandaloneMm.inf} = |
> 31 +-
>
> MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/{ReportStatusCo
> deRouterSmm.h =3D> ReportStatusCodeRouterCommon.h}  &nbs= p;            | = ; 50 ++-
>
> MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCo
> deRouterSmm.inf         =             &nb= sp;            =             &nb= sp;  |  13 +-
>
> MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCo
> deRouterStandaloneMm.inf       &nb= sp;            =             &nb= sp;       |  49 +++
>  MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
> |   1 +
>
> MdePkg/Library/UefiDevicePathLib/UefiDevicePathLibOptionalDevicePathP= r
> otocol.inf          = ;            &n= bsp;            = ;             |=    1 +
>  MdePkg/Library/UefiDevicePathLib/{UefiDevicePathLib.inf =3D>=
> UefiDevicePathLibStandaloneMm.inf}      = ;            &n= bsp;            = ;    |  11 +-
>  MdePkg/MdePkg.dsc
> |   1 +
>  PcAtChipsetPkg/Library/AcpiTimerLib/CommonAcpiTimerLib.h
> |  25 ++
>  PcAtChipsetPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
> |   2 +
>  PcAtChipsetPkg/Library/AcpiTimerLib/{DxeAcpiTimerLib.inf =3D>= ;
> StandaloneAcpiTimerLib.inf}       =             &nb= sp;            =          |  19 +-
>  PcAtChipsetPkg/PcAtChipsetPkg.dsc
> |   1 +
>
> SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/MmTcg2PhysicalPresenc<= br> > eLibCommon.h         &nb= sp;            =             &nb= sp;            = |  35 ++
>
> SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresen<= br> > ceLib.inf          =             &nb= sp;            =             &nb= sp;   |   6 +-
>
> SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/{SmmTcg2PhysicalPrese<= br> > nceLib.inf =3D> StandaloneMmTcg2PhysicalPresenceLib.inf} &nbs= p;    |  22 +-
>  SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibNull.inf=
> |   2 +-
>  SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.h
> |  68 ++++
>  SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf
> |   3 +
>  SecurityPkg/Library/Tpm2DeviceLibDTpm/{Tpm2DeviceLibDTpm.inf = =3D>
> Tpm2DeviceLibDTpmStandaloneMm.inf}      = ;            &n= bsp;           |  13= +-
>  SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf > |   3 +
>  SecurityPkg/SecurityPkg.dsc
> |   3 +
>
> StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneMm
> CoreEntryPoint.inf        &nb= sp;            =             &nb= sp;            = |   3 +
>
> StandaloneMmPkg/Library/StandaloneMmCoreHobLib/StandaloneMmCore
> HobLib.inf          = ;            &n= bsp;            = ;            &n= bsp;       |   8 +-
>
> StandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib
> .inf           = ;            &n= bsp;            = ;            &n= bsp;            = ;  |   6 +-
>  UefiCpuPkg/CpuIo2Smm/{CpuIo2Smm.h =3D> CpuIo2Common.h}
> |  18 +-
>  UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
> |   7 +-
>  UefiCpuPkg/CpuIo2Smm/{CpuIo2Smm.inf =3D> CpuIo2StandaloneMm.= inf}
> |  23 +-
>
> UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.<= br> > inf           =             &nb= sp;            =             &nb= sp;        |   2 +-
>  UefiCpuPkg/UefiCpuPkg.dsc
> |   6 +
>  72 files changed, 1704 insertions(+), 1425 deletions(-)
>  rename MdeModulePkg/Library/SmmLockBoxLib/{SmmLockBoxSmmLib.c > =3D> SmmLockBoxMmLib.c} (89%)
>  create mode 100644
> MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxStandaloneMmLib.c
>  create mode 100644
> MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxTraditionalMmLib.c
>  create mode 100644
> MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLibSt
> andaloneMm.c
>  create mode 100644
> MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLibTr
> aditional.c
>  rename
> MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/{Fir
> mwarePerformanceSmm.c =3D> FirmwarePerformanceCommon.c} (77%)
>  create mode 100644
> MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/Firm
> warePerformanceStandaloneMm.c
>  create mode 100644
> MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/Firm
> warePerformanceTraditional.c
>  rename
> MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/{ReportStatusCo
> deRouterSmm.c =3D> ReportStatusCodeRouterCommon.c} (80%)
>  create mode 100644
> MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCo
> deRouterStandaloneMm.c
>  create mode 100644
> MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCo
> deRouterTraditional.c
>  create mode 100644
> MdePkg/Library/UefiDevicePathLib/DevicePathUtilitiesDxeSmm.c
>  create mode 100644
> MdePkg/Library/UefiDevicePathLib/DevicePathUtilitiesStandaloneMm.c >  copy PcAtChipsetPkg/Library/AcpiTimerLib/{DxeAcpiTimerLib.c =3D= >
> CommonAcpiTimerLib.c} (86%)
>  create mode 100644
> PcAtChipsetPkg/Library/AcpiTimerLib/StandaloneAcpiTimerLib.c
>  copy
> SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/{SmmTcg2PhysicalPrese<= br> > nceLib.c =3D> MmTcg2PhysicalPresenceLibCommon.c} (91%)
>  create mode 100644
> SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/StandaloneMmTcg2Phys > icalPresenceLib.c
>  create mode 100644
> SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpmBase.c
>  create mode 100644
> SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpmStandalone
> Mm.c
>  create mode 100644
> StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/X64/Standalone
> MmCoreEntryPoint.c
>  copy StandaloneMmPkg/Library/StandaloneMmCoreHobLib/{ =3D> > AArch64}/StandaloneMmCoreHobLib.c (96%)
>  rename StandaloneMmPkg/Library/StandaloneMmCoreHobLib/{ =3D>=
> X64}/StandaloneMmCoreHobLib.c (70%)
>  create mode 100644
> StandaloneMmPkg/Library/StandaloneMmMemLib/X64/StandaloneMmMe
> mLibInternal.c
>  copy UefiCpuPkg/CpuIo2Smm/{CpuIo2Smm.c =3D> CpuIo2Common.c} = (94%)
>  create mode 100644 UefiCpuPkg/CpuIo2Smm/CpuIo2StandaloneMm.c >  copy MdeModulePkg/Library/SmmLockBoxLib/{SmmLockBoxSmmLib.inf = =3D>
> SmmLockBoxStandaloneMmLib.inf} (52%)
>  create mode 100644
> MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLib.h
>  copy
> MdeModulePkg/Library/SmmReportStatusCodeLib/{SmmReportStatusCode
> Lib.inf =3D> StandaloneMmReportStatusCodeLib.inf} (64%)
>  create mode 100644
> MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/Firm
> warePerformanceCommon.h
>  copy
> MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/{Fir
> mwarePerformanceSmm.inf =3D> FirmwarePerformanceStandaloneMm.inf}<= br> > (65%)
>  rename
> MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/{ReportStatusCo
> deRouterSmm.h =3D> ReportStatusCodeRouterCommon.h} (70%)
>  create mode 100644
> MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCo
> deRouterStandaloneMm.inf
>  copy MdePkg/Library/UefiDevicePathLib/{UefiDevicePathLib.inf = =3D>
> UefiDevicePathLibStandaloneMm.inf} (79%)
>  create mode 100644
> PcAtChipsetPkg/Library/AcpiTimerLib/CommonAcpiTimerLib.h
>  copy PcAtChipsetPkg/Library/AcpiTimerLib/{DxeAcpiTimerLib.inf = =3D>
> StandaloneAcpiTimerLib.inf} (70%)
>  create mode 100644
> SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/MmTcg2PhysicalPresenc<= br> > eLibCommon.h
>  copy
> SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/{SmmTcg2PhysicalPrese<= br> > nceLib.inf =3D> StandaloneMmTcg2PhysicalPresenceLib.inf} (64%)
>  create mode 100644
> SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.h
>  copy SecurityPkg/Library/Tpm2DeviceLibDTpm/{Tpm2DeviceLibDTpm.i= nf =3D>
> Tpm2DeviceLibDTpmStandaloneMm.inf} (70%)
>  rename UefiCpuPkg/CpuIo2Smm/{CpuIo2Smm.h =3D> CpuIo2Common.h= }
> (92%)
>  copy UefiCpuPkg/CpuIo2Smm/{CpuIo2Smm.inf =3D>
> CpuIo2StandaloneMm.inf} (56%)
>
> --
> 2.28.0.windows.1
>
>
>
>
>

 

--_000_MWHPR06MB31024787663817A3BA6A1946F3C20MWHPR06MB3102namp_--