From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (NAM02-SN1-obe.outbound.protection.outlook.com [40.92.5.27]) by mx.groups.io with SMTP id smtpd.web08.1553.1609873192669577225 for ; Tue, 05 Jan 2021 10:59:54 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@outlook.com header.s=selector1 header.b=jtIzVN/P; spf=pass (domain: outlook.com, ip: 40.92.5.27, mailfrom: kun.q@outlook.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=C7uw0bKsVZsbHT4G020OlaFRhHVTY+ZOt7Il95HqnUXKAY+miX7lng5rxP6ND/ceRWOv0zN6oCsAR8+MZXloNyNxH7KmqY7JNVJwYR13UHKbB7TTEmtukMSMZxcZlh2ulMxbUNHjZ85SWDXSzh+ekjCf8bmfQkF6RYN384Q2LFhA35rmCS0NY5fc4WaDO5LsaUDlSqSaKCLN0aVNARliKC3m2/cM+nn9dGQwUY5CMiG5LOKQ1iz3ciICy49D/OWToDxlKVyJCunKGupiB+jpCQQTnXezwXLHM8IccOjRJwk5x7lO14W+neJLfgGu4IZrMWqdfQ4G0m4ajiS2RM1kOg== 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=86Iw9tUirpfBDiSYapGlq2wGR11b182B9z/NrK7W5iE=; b=YiGaqjY9eqkyOVRj+smTPu6+r50uodqtcfzNeZzLSVtTg07GBRsSWAvc1jIVRILf+wTB40yKeKChPFWQ6HmFDvveGSVkVskEkLeCQ9SE9zb3olBSUWFEppQmZRcekRuJxdg5BZQGZpsFojf3IN5kf6qII50LP+EDXhJGHY+pJWIQMmqRkcLHRDGf2LsiuXb78HBvdNMRU7ZU95sP63/xTtgNgNCt2Z/Oxhl3LFVFyQRGFjKZP0J9SzkdchBIZVwFHuLkfV46KUph5Dis95Zz8otNpnqaYG2bMkO6ibsh4O/AQ4USVoQ4KZs7tflTjhHT8O31GN1T4N5uxDWQEmcgCw== 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=86Iw9tUirpfBDiSYapGlq2wGR11b182B9z/NrK7W5iE=; b=jtIzVN/PcCpdXjkOUMqR8TMmoavbbBdjwof4MX06DcaeTA98RF76FCV+PHt25pvXSmM5WcerYoWHuobZkMopDm9xfIzdjvHEyAYhXHEVi+ERvBNXWSepXW4KYl5aRNwwVaqTj/V8arbaQhyxI9ckt8E162AcmPa+YUsBBdoqx3a5O1XMbhaFWNM9FpmI9VKmdw2HFqbEqNcv9sHM1dqCxGwDjDp5bwK9hp0G7VdtgVdugJcTE/ZomLP13wYwfjTuKfwaIN79H24ky+3tJ/R6v4h4vdKcjlFKZEA5Rp0cKVMej1rB94pnhjqrVcf+wjKWcAjUudIrYbMuogEHvMpXgQ== Received: from CY1NAM02FT003.eop-nam02.prod.protection.outlook.com (10.152.74.55) by CY1NAM02HT104.eop-nam02.prod.protection.outlook.com (10.152.74.134) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.22; Tue, 5 Jan 2021 18:59:51 +0000 Received: from MWHPR06MB3102.namprd06.prod.outlook.com (2a01:111:e400:7e45::53) by CY1NAM02FT003.mail.protection.outlook.com (2a01:111:e400:7e45::151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.22 via Frontend Transport; Tue, 5 Jan 2021 18:59:51 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:A824780CDF57F1DD453387EEE7CF36AD8C9CDB644BD2198B845E718D56A1BAD6;UpperCasedChecksum:9F79F25000C0014CA84835717E040B9B7E68E50489CB0AFF4EF2A7878130DF02;SizeAsReceived:7798;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.3721.024; Tue, 5 Jan 2021 18:59:51 +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 v2 00/16] Extends Support of MM_STANDALONE Type Modules to X64 Date: Tue, 5 Jan 2021 10:59:19 -0800 Message-ID: X-Mailer: git-send-email 2.30.0.windows.1 X-TMN: [TE8p7hvx9r/529HOuUd7dXiwOv9EfzeE] X-ClientProxiedBy: MWHPR22CA0045.namprd22.prod.outlook.com (2603:10b6:300:69::31) To MWHPR06MB3102.namprd06.prod.outlook.com (2603:10b6:301:3e::35) Return-Path: kun.q@outlook.com X-Microsoft-Original-Message-ID: <20210105185935.3769-1-kun.q@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (50.35.88.161) by MWHPR22CA0045.namprd22.prod.outlook.com (2603:10b6:300:69::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3742.6 via Frontend Transport; Tue, 5 Jan 2021 18:59:49 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 45 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: c29a313f-87df-4606-70d6-08d8b1ac149c X-MS-TrafficTypeDiagnostic: CY1NAM02HT104: X-MS-Exchange-MinimumUrlDomainAge: groups.io#3711 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 0blrhMWxVF0s11WYaaXFhjcN2rS1ANBaPAPhkyvy0dB98Yw5hS2w71k133bi36IGOe1ydrbougaYq3gS3IzSpyOjFahpUXzVi3M2WZ1YhrRFEm5d8WmuxiC1BcTo4W3qjFdks6ZMRQ8JKTIVt9YPbezdWEeUDSToB35RXY9L9Jj4QLpoCSt22UACRGBFpkGf80DQ5swtK4acmL6NNqNgl8HOkGWIiKbXuobGUyHoa5Hlez6Ikw5lpZIxNh3817q41AgJTW607OeSUbjuEbRVS6yHTETWS1GvDC+QJXutMy4= X-MS-Exchange-AntiSpam-MessageData: 3YzWD9JMoG38Fx/oY8vWEKMQeiKuFKNJ2grZw5oyWfU7QYN21SHHbkSySTdRhBwwsGsQZZxW36RfEFbrPgjdlOWHWyN6k715T5OL2jBjmt3MvFbs+ZrJ9ieWTy1W6EW8BoR/xwfkL0AIfj9p2CBfcQ== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jan 2021 18:59:51.0203 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-Network-Message-Id: c29a313f-87df-4606-70d6-08d8b1ac149c X-MS-Exchange-CrossTenant-AuthSource: CY1NAM02FT003.eop-nam02.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: CY1NAM02HT104 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3129 This patch series is a follow up of previous submission: https://edk2.groups.io/g/devel/message/69217 These module changes are validated on two different physical platforms. Standalone and traditional MM are both tested to be functional on these systems. v2 patches mainly focus on feedback for reviewed commits in v1 patches, including: a. Adding "Reviewed-by" tags for applicable patches; b. 'EFIAPI' removal for internal functions; c. Centralizing HobLib implementation to common file; d. Bugzilla 3128 fixes for x86 MmMemLib not initializing variables; e. Function description update for self-consistency; f. Support of 'StatusCodeHandler' driver under Standalone MM; Patch v2 branch: https://github.com/kuqin12/edk2/tree/standalone_x64_v2 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 (16): 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: StatusCodeHandler: StatusCodeHandler driver 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} | 82 ++--- MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxStandaloneMmLib.c = | 53 +++ MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxTraditionalMmLib.c = | 53 +++ MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLib.c = | 16 +- MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLibStandaloneM= m.c | 38 ++ MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLibTraditional= .c | 38 ++ MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/{FirmwarePerfo= rmanceSmm.c =3D> FirmwarePerformanceCommon.c} | 76 ++-- MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/FirmwarePerfor= manceStandaloneMm.c | 61 ++++ MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/FirmwarePerfor= manceTraditional.c | 61 ++++ MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/{ReportStatusCodeRouterS= mm.c =3D> ReportStatusCodeRouterCommon.c} | 55 ++- MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCodeRouterSt= andaloneMm.c | 33 ++ MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCodeRouterTr= aditional.c | 33 ++ MdeModulePkg/Universal/StatusCodeHandler/Smm/MemoryStatusCodeWorker.c = | 36 +- MdeModulePkg/Universal/StatusCodeHandler/Smm/SerialStatusCodeWorker.c = | 2 +- MdeModulePkg/Universal/StatusCodeHandler/Smm/{StatusCodeHandlerSmm.c =3D> = StatusCodeHandlerMm.c} | 23 +- MdeModulePkg/Universal/StatusCodeHandler/Smm/StatusCodeHandlerStandalone.c= | 31 ++ MdeModulePkg/Universal/StatusCodeHandler/Smm/StatusCodeHandlerTraditional.= c | 31 ++ 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} | 9 +- PcAtChipsetPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.c = | 81 +---- PcAtChipsetPkg/Library/AcpiTimerLib/StandaloneAcpiTimerLib.c = | 31 ++ SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/{SmmTcg2PhysicalPresenceLib= .c =3D> MmTcg2PhysicalPresenceLibCommon.c} | 33 +- SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresenceLib.= c | 368 +--------------= ---- SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/StandaloneMmTcg2PhysicalPre= senceLib.c | 42 +++ SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.c = | 42 +-- SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpmBase.c = | 68 ++++ SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpmStandaloneMm.c = | 66 ++++ 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 | 278 +------------= - StandaloneMmPkg/Library/StandaloneMmCoreHobLib/Common.c = | 291 +++++++++++++++ StandaloneMmPkg/Library/StandaloneMmCoreHobLib/X64/StandaloneMmCoreHobLib.= c | 299 +++++++++++++++ StandaloneMmPkg/Library/StandaloneMmCoreMemoryAllocationLib/StandaloneMmCo= reMemoryAllocationLib.c | 6 +- StandaloneMmPkg/Library/StandaloneMmMemLib/AArch64/StandaloneMmMemLibInter= nal.c | 26 ++ StandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib.c = | 52 +++ StandaloneMmPkg/Library/StandaloneMmMemLib/X86StandaloneMmMemLibInternal.c= | 155 ++++++++ UefiCpuPkg/CpuIo2Smm/{CpuIo2Smm.c =3D> CpuIo2Common.c} = | 15 +- UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.c = | 384 +--------------= ----- UefiCpuPkg/CpuIo2Smm/CpuIo2StandaloneMm.c = | 31 ++ MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxLibPrivate.h = | 25 ++ MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf = | 15 +- MdeModulePkg/Library/SmmLockBoxLib/{SmmLockBoxSmmLib.inf =3D> SmmLockBoxSt= andaloneMmLib.inf} | 26 +- MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLib.h = | 36 ++ MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCodeLib.inf = | 4 +- MdeModulePkg/Library/SmmReportStatusCodeLib/{SmmReportStatusCodeLib.inf = =3D> StandaloneMmReportStatusCodeLib.inf} | 22 +- MdeModulePkg/MdeModulePkg.dsc = | 7 + MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/FirmwarePerfor= manceCommon.h | 50 +++ 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} | 44 ++- MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCodeRouterSm= m.inf | 13 +- MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCodeRouterSt= andaloneMm.inf | 49 +++ MdeModulePkg/Universal/StatusCodeHandler/Smm/{StatusCodeHandlerSmm.h =3D> = StatusCodeHandlerMm.h} | 23 +- MdeModulePkg/Universal/StatusCodeHandler/Smm/StatusCodeHandlerSmm.inf = | 15 +- MdeModulePkg/Universal/StatusCodeHandler/Smm/{StatusCodeHandlerSmm.inf =3D= > StatusCodeHandlerStandaloneMm.inf} | 32 +- 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 = | 24 ++ 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 | 34 ++ 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 = | 67 ++++ 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 = | 11 +- StandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib.inf = | 13 +- UefiCpuPkg/CpuIo2Smm/{CpuIo2Smm.h =3D> CpuIo2Common.h} = | 17 +- UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf = | 7 +- UefiCpuPkg/CpuIo2Smm/{CpuIo2Smm.inf =3D> CpuIo2StandaloneMm.inf} = | 23 +- UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf = | 2 +- UefiCpuPkg/UefiCpuPkg.dsc = | 6 + 83 files changed, 2379 insertions(+), 1568 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} (75%) 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} (75%) create mode 100644 MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/Repor= tStatusCodeRouterStandaloneMm.c create mode 100644 MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/Repor= tStatusCodeRouterTraditional.c rename MdeModulePkg/Universal/StatusCodeHandler/Smm/{StatusCodeHandlerSmm.= c =3D> StatusCodeHandlerMm.c} (69%) create mode 100644 MdeModulePkg/Universal/StatusCodeHandler/Smm/StatusCode= HandlerStandalone.c create mode 100644 MdeModulePkg/Universal/StatusCodeHandler/Smm/StatusCode= HandlerTraditional.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} (90%) 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 rename StandaloneMmPkg/Library/StandaloneMmCoreHobLib/{ =3D> AArch64}/Stan= daloneMmCoreHobLib.c (54%) create mode 100644 StandaloneMmPkg/Library/StandaloneMmCoreHobLib/Common.c create mode 100644 StandaloneMmPkg/Library/StandaloneMmCoreHobLib/X64/Stan= daloneMmCoreHobLib.c create mode 100644 StandaloneMmPkg/Library/StandaloneMmMemLib/X86Standalon= eMmMemLibInternal.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} (56%) 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} (73%) create mode 100644 MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/Repor= tStatusCodeRouterStandaloneMm.inf rename MdeModulePkg/Universal/StatusCodeHandler/Smm/{StatusCodeHandlerSmm.= h =3D> StatusCodeHandlerMm.h} (87%) copy MdeModulePkg/Universal/StatusCodeHandler/Smm/{StatusCodeHandlerSmm.in= f =3D> StatusCodeHandlerStandaloneMm.inf} (62%) 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.30.0.windows.1