From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (NAM11-DM6-obe.outbound.protection.outlook.com [40.92.19.17]) by mx.groups.io with SMTP id smtpd.web09.1154.1608317428468199695 for ; Fri, 18 Dec 2020 10:50:29 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@outlook.com header.s=selector1 header.b=hu0ZTRyc; spf=pass (domain: outlook.com, ip: 40.92.19.17, mailfrom: kun.q@outlook.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=amvjwKsc964/oTgW+P6tZJNQZI6no2OPom4Dj+cWTUKefzMXCCdkYmolnUbwA5Wx6Tnria95CeHNGX4wyqMMiLDo3lHvFrH0FhDvLVqkzEvqdPUCOOejOQr8EJi0g9fKJvYNtbqSwxYKh1Wef7+ZlF4cRHYUoYQiitOIB15zrFaQQiJP/6ZVdIk0NtAl8n/A/arHsXkZ4HjERhrFH6diW3IgXU+Z13uqkk//9ChG05yHb2ovbamfLcjmAkFg1fJWHIbxvFMwSVf2XjMtCD3gRrVDA4gxAUzJcP6VMbHwFGtH7GHdyCRUt1uDHhjYwryVKDZNLBw/8h/y4ha9BF9mMw== 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=efK7KlwEW0Yce6Gba79k018z6goz+yHHftP3s0BhlMc=; b=fMHjEj4kVVEgKiFfZaT0iIw7zsl3DlzmTkM+TgpBiNY+aJpB4i+SuBoEcqZEQPEJ3En3pjWrsvMbp/pAIQoZ+PHOD09EU0ZX30O4c3cJ59PiuCrVIBBcb5ISazrCk716PJzamnaqsM5YJutYV4FzZCteMcuj6jbHxipbjX+vVZMVMIHKqzWDhxPPKaxjV9aIcC6v5KyF5rk2vIeNH8fcmBuCJfK8lPQIXM3VKYnArTQD3XfWEGnNexHLLRIntKW7Hq0xvL8aSB/tJNeQ7u7I6ge8/FfPiwtOQCBbe7lzY04j/GkLKRtBbIEe073a2D6gUsGcps3b5m83GaxkSsc/oQ== 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=efK7KlwEW0Yce6Gba79k018z6goz+yHHftP3s0BhlMc=; b=hu0ZTRycB3qS3oPgMEtLzgXrkfolq+JmXptw+zBeZ5wH8AuRnXlZAqCzw4kJjPpYwrqL0FGwXvZmD1lClgGx3VDZVW11U5xpJju8k7CbMM+W+s6WXQDBTv9u5XIdVOtb9kXiQMEVkuHHSqblUS9vzIMBc3ssoFu75prIVpcRUeddPWYVKtnjH+HJN/QwZHw5bYYk7/WUm5ishigggsCH8LJKMQunKSH/qeV4GstkRIX5GRxdr1VT9N1m7nlA7+I63u36/JvnPEVpu0GZH1XRQ8sqMuD1y4jYD8FEqe5+fyH4Oypk3UToy6Dq8tgXIwhRuUAtN4RR/SDPdtaeVflByQ== Received: from DM6NAM11FT039.eop-nam11.prod.protection.outlook.com (2a01:111:e400:fc4d::42) by DM6NAM11HT005.eop-nam11.prod.protection.outlook.com (2a01:111:e400:fc4d::442) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3676.25; Fri, 18 Dec 2020 18:50:27 +0000 Received: from MWHPR06MB3102.namprd06.prod.outlook.com (2a01:111:e400:fc4d::48) by DM6NAM11FT039.mail.protection.outlook.com (2a01:111:e400:fc4d::83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3676.25 via Frontend Transport; Fri, 18 Dec 2020 18:50:27 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:5DF581BC03B8B77DC5DE3E41A7F3F1409ED29C7C12C1EBA089C535FA07D1C273;UpperCasedChecksum:093B46A901BFDE1DBD33E868469736755297D78DAFBF9B9CB498E51110AA9B90;SizeAsReceived:7780;Count:45 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.3654.026; Fri, 18 Dec 2020 18:50:27 +0000 From: "Kun Qin" To: devel@edk2.groups.io CC: Jian J Wang , Hao A Wu , Eric Dong , Dandan Bi , Liming Gao , Michael D Kinney , Zhiguang Liu , Ray Ni , Jiewen Yao , Qi Zhang , Rahul Kumar , Ard Biesheuvel , Sami Mujawar , Supreeth Venkatesh , Laszlo Ersek Subject: [PATCH v1 00/15] Extends Support of MM_STANDALONE Type Modules to X64 Date: Fri, 18 Dec 2020 10:49:56 -0800 Message-ID: X-Mailer: git-send-email 2.28.0.windows.1 X-TMN: [fUuPsaxLnGYTUG7DOanhIttawrbXh1us] X-ClientProxiedBy: MW2PR16CA0018.namprd16.prod.outlook.com (2603:10b6:907::31) To MWHPR06MB3102.namprd06.prod.outlook.com (2603:10b6:301:3e::35) Return-Path: kun.q@outlook.com X-Microsoft-Original-Message-ID: <20201218185011.1366-1-kun.q@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (50.35.88.161) by MW2PR16CA0018.namprd16.prod.outlook.com (2603:10b6:907::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Fri, 18 Dec 2020 18:50:26 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 45 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 4a60bc3f-8ca8-422c-97c1-08d8a385c94b X-MS-TrafficTypeDiagnostic: DM6NAM11HT005: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 1bx/TJalZ+Z9QiTCqCbKIALSbcMMmF3uxDi9Uwkua+3gRxDHOqkJHDQ1BdrdDeBsScbefxYgA4thJLMDL4mK0BPMYrO4oABbPWxViodrdcppZTMEHgntJtDOb6tYPjX5VGm6URv+9tRTBCL07D//obnexhIAa0876gARJObVjJw7cPb7g4DioIcDWZJHTHFjwQjXTxpznmYFnpM+1Q0hb7qZ/fv+nezWnFVccm2r7HrbyvD1JyEAFAWtvamKQ5QTM447ynbA4HIdFM+Bknt0B12bVRr5Ws0+rSJTzvnzwls= X-MS-Exchange-AntiSpam-MessageData: AgQezPfeMpOOU286Uo1g3sxkEBc+c1v6vB0pHfAAj3pL+t2+yzTqs626JUR86Kb6NIavX88I74kFRqAiHegp8h3Xy9Ho6/7wcjiflUVvVhIkufZ8F0iesUQk3yDil5Hu6Xl7HaGUWeTEwMsBzlLJhw== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Dec 2020 18:50:27.5737 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-Network-Message-Id: 4a60bc3f-8ca8-422c-97c1-08d8a385c94b X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT039.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6NAM11HT005 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain 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> SmmLockBoxMmLi= b.c} | 77 ++-- MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxStandaloneMmLib.c = | 53 +++ MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxTraditionalMmLib.c = | 53 +++ MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLib.c = | 16 +- MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLibStandaloneM= m.c | 39 ++ MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLibTraditional= .c | 39 ++ MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/{FirmwarePerfo= rmanceSmm.c =3D> FirmwarePerformanceCommon.c} | 72 ++-- MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/FirmwarePerfor= manceStandaloneMm.c | 62 +++ MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/FirmwarePerfor= manceTraditional.c | 62 +++ MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/{ReportStatusCodeRouterS= mm.c =3D> ReportStatusCodeRouterCommon.c} | 43 +- MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCodeRouterSt= andaloneMm.c | 33 ++ MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCodeRouterTr= aditional.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> CommonAcpiTime= rLib.c} | 8 +- PcAtChipsetPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.c = | 81 +--- PcAtChipsetPkg/Library/AcpiTimerLib/StandaloneAcpiTimerLib.c = | 31 ++ SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/{SmmTcg2PhysicalPresenceLib= .c =3D> MmTcg2PhysicalPresenceLibCommon.c} | 29 +- SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresenceLib.= c | 368 +--------------= -- SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/StandaloneMmTcg2PhysicalPre= senceLib.c | 42 ++ SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.c = | 42 +- SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpmBase.c = | 69 ++++ SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpmStandaloneMm.c = | 67 +++ SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.c = | 40 +- SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2Ptp.c = | 15 +- StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/X64/StandaloneMmCoreEnt= ryPoint.c | 71 ++++ StandaloneMmPkg/Library/StandaloneMmCoreHobLib/{ =3D> AArch64}/StandaloneM= mCoreHobLib.c | 6 +- StandaloneMmPkg/Library/StandaloneMmCoreHobLib/{ =3D> X64}/StandaloneMmCor= eHobLib.c | 426 ++++++++++---= ------- StandaloneMmPkg/Library/StandaloneMmCoreMemoryAllocationLib/StandaloneMmCo= reMemoryAllocationLib.c | 2 +- StandaloneMmPkg/Library/StandaloneMmMemLib/X64/StandaloneMmMemLibInternal.= 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> SmmLockBoxSt= andaloneMmLib.inf} | 26 +- MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLib.h = | 37 ++ MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCodeLib.inf = | 4 +- MdeModulePkg/Library/SmmReportStatusCodeLib/{SmmReportStatusCodeLib.inf = =3D> StandaloneMmReportStatusCodeLib.inf} | 17 +- MdeModulePkg/MdeModulePkg.dsc = | 6 + MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/FirmwarePerfor= manceCommon.h | 55 +++ MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/FirmwarePerfor= manceSmm.inf | 11 +- MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/{FirmwarePerfo= rmanceSmm.inf =3D> FirmwarePerformanceStandaloneMm.inf} | 31 +- MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/{ReportStatusCodeRouterS= mm.h =3D> ReportStatusCodeRouterCommon.h} | 50 ++- MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCodeRouterSm= m.inf | 13 +- MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCodeRouterSt= andaloneMm.inf | 49 +++ MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf = | 1 + MdePkg/Library/UefiDevicePathLib/UefiDevicePathLibOptionalDevicePathProtoc= ol.inf | 1 + MdePkg/Library/UefiDevicePathLib/{UefiDevicePathLib.inf =3D> UefiDevicePat= hLibStandaloneMm.inf} | 11 +- MdePkg/MdePkg.dsc = | 1 + PcAtChipsetPkg/Library/AcpiTimerLib/CommonAcpiTimerLib.h = | 25 ++ PcAtChipsetPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf = | 2 + PcAtChipsetPkg/Library/AcpiTimerLib/{DxeAcpiTimerLib.inf =3D> StandaloneAc= piTimerLib.inf} | 19 +- PcAtChipsetPkg/PcAtChipsetPkg.dsc = | 1 + SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/MmTcg2PhysicalPresenceLibCo= mmon.h | 35 ++ SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresenceLib.= inf | 6 +- SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/{SmmTcg2PhysicalPresenceLib= .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> Tpm2Devi= ceLibDTpmStandaloneMm.inf} | 13 +- SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf = | 3 + SecurityPkg/SecurityPkg.dsc = | 3 + StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneMmCoreEntryPo= int.inf | 3 + StandaloneMmPkg/Library/StandaloneMmCoreHobLib/StandaloneMmCoreHobLib.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> SmmLock= BoxMmLib.c} (89%) create mode 100644 MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxStandalone= MmLib.c create mode 100644 MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxTraditiona= lMmLib.c create mode 100644 MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatu= sCodeLibStandaloneMm.c create mode 100644 MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatu= sCodeLibTraditional.c rename MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/{Firmwa= rePerformanceSmm.c =3D> FirmwarePerformanceCommon.c} (77%) create mode 100644 MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTabl= eSmm/FirmwarePerformanceStandaloneMm.c create mode 100644 MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTabl= eSmm/FirmwarePerformanceTraditional.c rename MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/{ReportStatusCode= RouterSmm.c =3D> ReportStatusCodeRouterCommon.c} (80%) create mode 100644 MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/Repor= tStatusCodeRouterStandaloneMm.c create mode 100644 MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/Repor= tStatusCodeRouterTraditional.c create mode 100644 MdePkg/Library/UefiDevicePathLib/DevicePathUtilitiesDxe= Smm.c create mode 100644 MdePkg/Library/UefiDevicePathLib/DevicePathUtilitiesSta= ndaloneMm.c copy PcAtChipsetPkg/Library/AcpiTimerLib/{DxeAcpiTimerLib.c =3D> CommonAcp= iTimerLib.c} (86%) create mode 100644 PcAtChipsetPkg/Library/AcpiTimerLib/StandaloneAcpiTimer= Lib.c copy SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/{SmmTcg2PhysicalPresen= ceLib.c =3D> MmTcg2PhysicalPresenceLibCommon.c} (91%) create mode 100644 SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/Standalo= neMmTcg2PhysicalPresenceLib.c create mode 100644 SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm= Base.c create mode 100644 SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm= StandaloneMm.c create mode 100644 StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/X64/= StandaloneMmCoreEntryPoint.c copy StandaloneMmPkg/Library/StandaloneMmCoreHobLib/{ =3D> AArch64}/Standa= loneMmCoreHobLib.c (96%) rename StandaloneMmPkg/Library/StandaloneMmCoreHobLib/{ =3D> X64}/Standalo= neMmCoreHobLib.c (70%) create mode 100644 StandaloneMmPkg/Library/StandaloneMmMemLib/X64/Standalo= neMmMemLibInternal.c copy UefiCpuPkg/CpuIo2Smm/{CpuIo2Smm.c =3D> CpuIo2Common.c} (94%) create mode 100644 UefiCpuPkg/CpuIo2Smm/CpuIo2StandaloneMm.c copy MdeModulePkg/Library/SmmLockBoxLib/{SmmLockBoxSmmLib.inf =3D> SmmLock= BoxStandaloneMmLib.inf} (52%) create mode 100644 MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatu= sCodeLib.h copy MdeModulePkg/Library/SmmReportStatusCodeLib/{SmmReportStatusCodeLib.i= nf =3D> StandaloneMmReportStatusCodeLib.inf} (64%) create mode 100644 MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTabl= eSmm/FirmwarePerformanceCommon.h copy MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/{Firmware= PerformanceSmm.inf =3D> FirmwarePerformanceStandaloneMm.inf} (65%) rename MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/{ReportStatusCode= RouterSmm.h =3D> ReportStatusCodeRouterCommon.h} (70%) create mode 100644 MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/Repor= tStatusCodeRouterStandaloneMm.inf copy MdePkg/Library/UefiDevicePathLib/{UefiDevicePathLib.inf =3D> UefiDevi= cePathLibStandaloneMm.inf} (79%) create mode 100644 PcAtChipsetPkg/Library/AcpiTimerLib/CommonAcpiTimerLib.= h copy PcAtChipsetPkg/Library/AcpiTimerLib/{DxeAcpiTimerLib.inf =3D> Standal= oneAcpiTimerLib.inf} (70%) create mode 100644 SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/MmTcg2Ph= ysicalPresenceLibCommon.h copy SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/{SmmTcg2PhysicalPresen= ceLib.inf =3D> StandaloneMmTcg2PhysicalPresenceLib.inf} (64%) create mode 100644 SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm= .h copy SecurityPkg/Library/Tpm2DeviceLibDTpm/{Tpm2DeviceLibDTpm.inf =3D> Tpm= 2DeviceLibDTpmStandaloneMm.inf} (70%) rename UefiCpuPkg/CpuIo2Smm/{CpuIo2Smm.h =3D> CpuIo2Common.h} (92%) copy UefiCpuPkg/CpuIo2Smm/{CpuIo2Smm.inf =3D> CpuIo2StandaloneMm.inf} (56%= ) --=20 2.28.0.windows.1