From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (NAM12-DM6-obe.outbound.protection.outlook.com [40.92.22.70]) by mx.groups.io with SMTP id smtpd.web12.6644.1611906956017581196 for ; Thu, 28 Jan 2021 23:55:56 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@outlook.com header.s=selector1 header.b=BxBQMUbH; spf=pass (domain: outlook.com, ip: 40.92.22.70, mailfrom: kun.q@outlook.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=S3hMVZCb+gHV3N77/7S24V6p43xbF33i5zRWLh9ftKVL38b+HtsMXBuWLtuBwsAMkWaAfddoH6ygqf5psDnTmZNzThmUn+cPVWvVzchnaEheNQK7jre5AD31QPxMnvMlp5wCIqbJxrRkOmabZtAe9bfZHU6qDOqXoY4UETe6CLQoTTqrl0psuuAsmGAq6Tq7Ie8hGsdDtn0YqytFHxgEN7FIPCjHKbQzPCIXwM0FuYZ7vcGiavbZ9cOpn1v6dQ2ryVXUIy1HlUxhugv5ZOUWchpwS2on666da/co8Djbb9cD3654Wb9RTkCsTjyXWBSNLsYCex2QIZJOP5O0VV/bQQ== 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=KbfbSR9AlCdKZyZMSWU5rVzhtYRQ49z7JLCAq7CJMx8=; b=G6RFSt6lLUv8xa7sc+Ucl0JBF9l+Httissmy266JabPUWesI9ZPWUCNuaMozincIHYP1e6/Vmown55EzYgSyyK8dh19mzL8vHdd22zXyOzuFmOwOZUKj/WWcr4AgnBF6UmfjtY8mJG+66t/jj9k1aIpkiGqLg9VXkHTdCCbQojovlok3KtRYm/07SYCZdgH/Pjla7eJnAruo6LAuLCwsratqJxD/eu98jkv2iJotynOwwFfmPgYgZM243H6yvm7umPzIOpAnZNBmnmYeZnVot0vZ0NzTSsfzYyfL7jt6mNx2hFDfKe3B7Q+Xoe1T24HAXjaMXfOZBtHoPNa/N/HkRg== 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=KbfbSR9AlCdKZyZMSWU5rVzhtYRQ49z7JLCAq7CJMx8=; b=BxBQMUbHLUvVtREJ04wC/ofVQdQh40V1/7Uh0Nkt21YL3ERwTa2ZfxmuXvvMSfpYgl7U6MY7HO/FzN+wJf28tAFR6Y/JE396Ubl3EiBVFx8M1IMd2AtzYWYW471LH7IkxEC1YE8G8MugMs4FExItCGsndPnkHddYoCZrW4+IA+dUAB2/hYsUIkSyuE1Lz3UDJGur+bufNiMjbm0NXEYi9JmWWpR9072yLjFrKeeg8YiPeK2Q7q7GazifqUx4mhB4AtUHf2TSK2qmkIsvtrfp+HKNwK7EnQHMEbEk5RDD1DgpNZURi5792J3U8qtEdA7zaGlLw8Nav8O6HckiB5KgCA== Received: from BN8NAM12FT056.eop-nam12.prod.protection.outlook.com (2a01:111:e400:fc66::4b) by BN8NAM12HT101.eop-nam12.prod.protection.outlook.com (2a01:111:e400:fc66::380) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3805.6; Fri, 29 Jan 2021 07:55:53 +0000 Received: from MWHPR06MB3102.namprd06.prod.outlook.com (2a01:111:e400:fc66::51) by BN8NAM12FT056.mail.protection.outlook.com (2a01:111:e400:fc66::176) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3805.6 via Frontend Transport; Fri, 29 Jan 2021 07:55:53 +0000 Received: from MWHPR06MB3102.namprd06.prod.outlook.com ([fe80::d4ee:1260:6f53:3f7b]) by MWHPR06MB3102.namprd06.prod.outlook.com ([fe80::d4ee:1260:6f53:3f7b%6]) with mapi id 15.20.3784.017; Fri, 29 Jan 2021 07:55:52 +0000 From: "Kun Qin" To: "devel@edk2.groups.io" CC: Bob Feng , Yuwei Chen , 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: Re: [edk2-devel] [PATCH v4 00/20] Extends Support of MM_STANDALONE Type Modules to X64 Thread-Topic: [edk2-devel] [PATCH v4 00/20] Extends Support of MM_STANDALONE Type Modules to X64 Thread-Index: AQHW9BvLofx6GEJNAUughsuyB/ezIao+PbFB Date: Fri, 29 Jan 2021 07:55:52 +0000 Message-ID: References: <165DDFCFC1B8F7B6.29283@groups.io> In-Reply-To: <165DDFCFC1B8F7B6.29283@groups.io> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:29B2601A5461D5DE12877CBF4650D2CBF420DF31202D24575D2FB884920CA7E6;UpperCasedChecksum:78C20468CEADF68B98829864954D1ADF8BC096A1E12AF7982E3F002A4131060B;SizeAsReceived:7484;Count:44 x-tmn: [ybk73tGQdLdFDzEgP0kdNVmGlx/lnnO8] x-ms-publictraffictype: Email x-incomingheadercount: 44 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: 350bbe50-e475-442d-1527-08d8c42b4cff x-ms-traffictypediagnostic: BN8NAM12HT101: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: UWL1y3eiORZRceyduPwuvVeL6Q2LzrVDcT1f3d0U+tAThFlKWQGDI3XTM+EIWfGw9qMVLUlTfW+t6A2/xWNEmWcSbmfmFmFbUpNISGt+bOD2bvfgau2S0H7/aAV2V3JapQ2F2wWs3+S0UbFRy6evtWSNAcReylMmjKtAIt3FgiX6xdyg6xHk9sFg5gRWegpLerQ5x7G9hjOUNQ7WKyLw6LsQx8wo7zQ21jr1SHPzBNUif2oOAUbokxAE8LuQ9JnEeXbhTTD5msXXKbvLBpFjWRsx7jDStPW43zlRtlUerLytacyfQWMKhmGDLFyQrvlkGZPf0o0mvNElgDyWHR7EmbjpVcEDvR31QV7jPaDNo1FxoQOa6A1d0Xky+iHhfKFyPtH69MJN5Ey0+hk2V0VEidp45yYgcCftNeCjklkLAFs55I9OfasKiVYt3R12Vm9J x-ms-exchange-antispam-messagedata: ZfaCpQpHel/zz9v2wh8CXJa6zg8EQf5bOmEny9Zl+uquabzodFumnqz+M5LgMVRut8x+xVqvTblcet+dOmbg7zDiuteLG3+SP+PXfcVGPcTjd86LYZQF4LZiRRSCCX0y0yz94/vHu+qhbQ10q7jnZA== 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: BN8NAM12FT056.eop-nam12.prod.protection.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 350bbe50-e475-442d-1527-08d8c42b4cff X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Jan 2021 07:55:52.5959 (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: BN8NAM12HT101 Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_MWHPR06MB31025CAE640D325AC3E9D980F3B99MWHPR06MB3102namp_" --_000_MWHPR06MB31025CAE640D325AC3E9D980F3B99MWHPR06MB3102namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, Thanks to all the reviewers helping through this patch series. Each indivi= dual patch has received a reviewed-by tag. Should I send out a v5 that adds= the final 3 reviewed-by tags based on latest top of master? If not, could = one of the maintainers help to merge these patches into the mainline? Just for reference, the final 3 reviewed-by tags are here: #11: Re: [PATCH v4 11/20] MdeModulePkg: SmmSmiHandlerProfileLib: Support S= tandaloneMm Instance (groups.io) #18: Re: [PATCH v4 18/20] UefiCpuPkg: CpuIo2Smm: Abstract SMM specific fun= ctions into separate file (groups.io) #19: Re: [PATCH v4 19/20] UefiCpuPkg: CpuIo2Smm: Support of CpuIo driver u= nder StandaloneMm (groups.io) Please let me know if there is anything needed from me to merge in these p= atches. Thanks in advance! Regards, Kun From: Kun Qin Sent: Tuesday, January 26, 2021 11:45 To: devel@edk2.groups.io Cc: Bob Feng; Yuwei Chen; Jian J Wang; Hao A Wu; Eric Dong; Dandan Bi; Liming Gao; Michael D Ki= nney; Zhiguang Liu; Ray Ni; Jiewen Yao; Qi Zhang; Rahul Kumar; Ard Biesheuvel; Sami Mujawa= r; Supreeth Venkatesh; Laszlo Ersek Subject: [edk2-devel] [PATCH v4 00/20] Extends Support of MM_STANDALONE Ty= pe Modules to X64 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/70329 These module changes are validated on two different physical platforms. Standalone and traditional MM are both tested to be functional on these systems. v4 patches mainly focus on feedback for reviewed commits in v3 patches, including: a. Adding "Reviewed-by" tags for applicable patches; b. Breaking CpuIo2Smm patch for file renaming and abstraction purpose; c. Adding SmmSmiHandlerProfileLib coverage; Patch v4 branch: https://github.com/kuqin12/edk2/tree/standalone_x64_v4 Cc: Bob Feng Cc: Yuwei Chen 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 (20): BaseTools: Ecc/exception: Added _ModuleEntryPoint into exception list 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 MdeModulePkg: SmmSmiHandlerProfileLib: Support StandaloneMm Instance 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: Move CpuIo2Smm driver to consume gMmst UefiCpuPkg: CpuIo2Smm: Abstract SMM specific functions into separate file UefiCpuPkg: CpuIo2Smm: Support of CpuIo driver under StandaloneMm UefiCpuPkg: SmmCpuExceptionHandlerLib: Added StandaloneMm module support MdeModulePkg/Library/SmmLockBoxLib/{SmmLockBoxSmmLib.c =3D> SmmLockBoxMmL= ib.c} | 82 ++--- MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxStandaloneMmLib.c = | 53 +++ MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxTraditionalMmLib.c = | 53 +++ MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLib.c = | 16 +- MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLibStandalone= Mm.c | 38 ++ MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLibTraditiona= l.c | 38 ++ MdeModulePkg/Library/SmmSmiHandlerProfileLib/{SmmSmiHandlerProfileLib.c = =3D> MmSmiHandlerProfileLib.c} | 20 +- MdeModulePkg/Library/SmmSmiHandlerProfileLib/SmmSmiHandlerProfileLib.c = | 90 +---- MdeModulePkg/Library/SmmSmiHandlerProfileLib/StandaloneMmSmiHandlerProfil= eLib.c | 31 ++ MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/{FirmwarePerf= ormanceSmm.c =3D> FirmwarePerformanceCommon.c} | 76 ++-- MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/FirmwarePerfo= rmanceStandaloneMm.c | 61 ++++ MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/FirmwarePerfo= rmanceTraditional.c | 61 ++++ MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/{ReportStatusCodeRouter= Smm.c =3D> ReportStatusCodeRouterCommon.c} | 59 ++- MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCodeRouterS= tandaloneMm.c | 33 ++ MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCodeRouterT= raditional.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 = | 81 +--- PcAtChipsetPkg/Library/AcpiTimerLib/{DxeAcpiTimerLib.c =3D> DxeStandalone= MmAcpiTimerLib.c} | 9 +- PcAtChipsetPkg/Library/AcpiTimerLib/StandaloneMmAcpiTimerLib.c = | 31 ++ SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/{SmmTcg2PhysicalPresenceLi= b.c =3D> MmTcg2PhysicalPresenceLibCommon.c} | 33 +- SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresenceLib= .c | 368 +-------------= ----- SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/StandaloneMmTcg2PhysicalPr= esenceLib.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/StandaloneMmCoreEn= tryPoint.c | 71 ++++ StandaloneMmPkg/Library/StandaloneMmCoreHobLib/{ =3D> AArch64}/Standalone= MmCoreHobLib.c | 272 ------------= -- StandaloneMmPkg/Library/StandaloneMmCoreHobLib/Common.c = | 291 ++++++++++++++= + StandaloneMmPkg/Library/StandaloneMmCoreHobLib/X64/StandaloneMmCoreHobLib= .c | 298 ++++++++++++++= + StandaloneMmPkg/Library/StandaloneMmCoreMemoryAllocationLib/StandaloneMmC= oreMemoryAllocationLib.c | 6 +- StandaloneMmPkg/Library/StandaloneMmMemLib/AArch64/StandaloneMmMemLibInte= rnal.c | 27 ++ StandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib.c = | 52 +++ StandaloneMmPkg/Library/StandaloneMmMemLib/X86StandaloneMmMemLibInternal.= c | 155 ++++++++ UefiCpuPkg/CpuIo2Smm/{CpuIo2Smm.c =3D> CpuIo2Mm.c} = | 17 +- UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.c = | 385 +-------------= ------ UefiCpuPkg/CpuIo2Smm/CpuIo2StandaloneMm.c = | 32 ++ BaseTools/Source/Python/Ecc/exception.xml = | 4 + MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxLibPrivate.h = | 25 ++ MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf = | 15 +- MdeModulePkg/Library/SmmLockBoxLib/{SmmLockBoxSmmLib.inf =3D> SmmLockBoxS= tandaloneMmLib.inf} | 26 +- MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLib.h = | 36 ++ MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCodeLib.inf = | 4 +- MdeModulePkg/Library/SmmReportStatusCodeLib/{SmmReportStatusCodeLib.inf = =3D> StandaloneMmReportStatusCodeLib.inf} | 22 +- MdeModulePkg/Library/SmmSmiHandlerProfileLib/MmSmiHandlerProfileLib.h = | 23 ++ MdeModulePkg/Library/SmmSmiHandlerProfileLib/SmmSmiHandlerProfileLib.inf = | 4 +- MdeModulePkg/Library/SmmSmiHandlerProfileLib/StandaloneMmSmiHandlerProfil= eLib.inf | 44 +++ MdeModulePkg/MdeModulePkg.dsc = | 8 + MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/FirmwarePerfo= rmanceCommon.h | 50 +++ MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/FirmwarePerfo= rmanceSmm.inf | 11 +- MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/{FirmwarePerf= ormanceSmm.inf =3D> FirmwarePerformanceStandaloneMm.inf} | 31 +- MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/{ReportStatusCodeRouter= Smm.h =3D> ReportStatusCodeRouterCommon.h} | 46 ++- MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCodeRouterS= mm.inf | 13 +- MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCodeRouterS= tandaloneMm.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/UefiDevicePathLibOptionalDevicePathProto= col.inf | 1 + MdePkg/Library/UefiDevicePathLib/{UefiDevicePathLib.inf =3D> UefiDevicePa= thLibStandaloneMm.inf} | 11 +- MdePkg/MdePkg.dsc = | 1 + PcAtChipsetPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf = | 2 + PcAtChipsetPkg/Library/AcpiTimerLib/DxeStandaloneMmAcpiTimerLib.h = | 24 ++ PcAtChipsetPkg/Library/AcpiTimerLib/{DxeAcpiTimerLib.inf =3D> StandaloneM= mAcpiTimerLib.inf} | 19 +- PcAtChipsetPkg/PcAtChipsetPkg.dsc = | 1 + SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/MmTcg2PhysicalPresenceLibC= ommon.h | 34 ++ SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresenceLib= .inf | 6 +- SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/{SmmTcg2PhysicalPresenceLi= b.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> Tpm2Dev= iceLibDTpmStandaloneMm.inf} | 13 +- SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf = | 3 + SecurityPkg/SecurityPkg.dsc = | 3 + StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneMmCoreEntryP= oint.inf | 3 + StandaloneMmPkg/Library/StandaloneMmCoreHobLib/StandaloneMmCoreHobLib.inf= | 11 +- StandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib.inf = | 13 +- UefiCpuPkg/CpuIo2Smm/{CpuIo2Smm.h =3D> CpuIo2Mm.h} = | 14 +- UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf = | 5 +- UefiCpuPkg/CpuIo2Smm/{CpuIo2Smm.inf =3D> CpuIo2StandaloneMm.inf} = | 24 +- UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf = | 2 +- UefiCpuPkg/UefiCpuPkg.dsc = | 6 + 90 files changed, 2503 insertions(+), 1661 deletions(-) rename MdeModulePkg/Library/SmmLockBoxLib/{SmmLockBoxSmmLib.c =3D> SmmLoc= kBoxMmLib.c} (89%) create mode 100644 MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxStandalon= eMmLib.c create mode 100644 MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxTradition= alMmLib.c create mode 100644 MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStat= usCodeLibStandaloneMm.c create mode 100644 MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStat= usCodeLibTraditional.c copy MdeModulePkg/Library/SmmSmiHandlerProfileLib/{SmmSmiHandlerProfileLi= b.c =3D> MmSmiHandlerProfileLib.c} (86%) create mode 100644 MdeModulePkg/Library/SmmSmiHandlerProfileLib/Standalon= eMmSmiHandlerProfileLib.c rename MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/{Firmw= arePerformanceSmm.c =3D> FirmwarePerformanceCommon.c} (75%) create mode 100644 MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTab= leSmm/FirmwarePerformanceStandaloneMm.c create mode 100644 MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTab= leSmm/FirmwarePerformanceTraditional.c rename MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/{ReportStatusCod= eRouterSmm.c =3D> ReportStatusCodeRouterCommon.c} (74%) create mode 100644 MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/Repo= rtStatusCodeRouterStandaloneMm.c create mode 100644 MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/Repo= rtStatusCodeRouterTraditional.c rename MdeModulePkg/Universal/StatusCodeHandler/Smm/{StatusCodeHandlerSmm= .c =3D> StatusCodeHandlerMm.c} (69%) create mode 100644 MdeModulePkg/Universal/StatusCodeHandler/Smm/StatusCod= eHandlerStandalone.c create mode 100644 MdeModulePkg/Universal/StatusCodeHandler/Smm/StatusCod= eHandlerTraditional.c create mode 100644 MdePkg/Library/UefiDevicePathLib/DevicePathUtilitiesDx= eSmm.c create mode 100644 MdePkg/Library/UefiDevicePathLib/DevicePathUtilitiesSt= andaloneMm.c copy PcAtChipsetPkg/Library/AcpiTimerLib/{DxeAcpiTimerLib.c =3D> DxeStand= aloneMmAcpiTimerLib.c} (86%) create mode 100644 PcAtChipsetPkg/Library/AcpiTimerLib/StandaloneMmAcpiTi= merLib.c copy SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/{SmmTcg2PhysicalPrese= nceLib.c =3D> MmTcg2PhysicalPresenceLibCommon.c} (90%) create mode 100644 SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/Standal= oneMmTcg2PhysicalPresenceLib.c create mode 100644 SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTp= mBase.c create mode 100644 SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTp= mStandaloneMm.c create mode 100644 StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/X64= /StandaloneMmCoreEntryPoint.c rename StandaloneMmPkg/Library/StandaloneMmCoreHobLib/{ =3D> AArch64}/Sta= ndaloneMmCoreHobLib.c (55%) create mode 100644 StandaloneMmPkg/Library/StandaloneMmCoreHobLib/Common.= c create mode 100644 StandaloneMmPkg/Library/StandaloneMmCoreHobLib/X64/Sta= ndaloneMmCoreHobLib.c create mode 100644 StandaloneMmPkg/Library/StandaloneMmMemLib/X86Standalo= neMmMemLibInternal.c copy UefiCpuPkg/CpuIo2Smm/{CpuIo2Smm.c =3D> CpuIo2Mm.c} (93%) create mode 100644 UefiCpuPkg/CpuIo2Smm/CpuIo2StandaloneMm.c copy MdeModulePkg/Library/SmmLockBoxLib/{SmmLockBoxSmmLib.inf =3D> SmmLoc= kBoxStandaloneMmLib.inf} (52%) create mode 100644 MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStat= usCodeLib.h copy MdeModulePkg/Library/SmmReportStatusCodeLib/{SmmReportStatusCodeLib.= inf =3D> StandaloneMmReportStatusCodeLib.inf} (56%) create mode 100644 MdeModulePkg/Library/SmmSmiHandlerProfileLib/MmSmiHand= lerProfileLib.h create mode 100644 MdeModulePkg/Library/SmmSmiHandlerProfileLib/Standalon= eMmSmiHandlerProfileLib.inf create mode 100644 MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTab= leSmm/FirmwarePerformanceCommon.h copy MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/{Firmwar= ePerformanceSmm.inf =3D> FirmwarePerformanceStandaloneMm.inf} (65%) rename MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/{ReportStatusCod= eRouterSmm.h =3D> ReportStatusCodeRouterCommon.h} (72%) create mode 100644 MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/Repo= rtStatusCodeRouterStandaloneMm.inf rename MdeModulePkg/Universal/StatusCodeHandler/Smm/{StatusCodeHandlerSmm= .h =3D> StatusCodeHandlerMm.h} (87%) copy MdeModulePkg/Universal/StatusCodeHandler/Smm/{StatusCodeHandlerSmm.i= nf =3D> StatusCodeHandlerStandaloneMm.inf} (62%) copy MdePkg/Library/UefiDevicePathLib/{UefiDevicePathLib.inf =3D> UefiDev= icePathLibStandaloneMm.inf} (79%) create mode 100644 PcAtChipsetPkg/Library/AcpiTimerLib/DxeStandaloneMmAcp= iTimerLib.h copy PcAtChipsetPkg/Library/AcpiTimerLib/{DxeAcpiTimerLib.inf =3D> Standa= loneMmAcpiTimerLib.inf} (70%) create mode 100644 SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/MmTcg2P= hysicalPresenceLibCommon.h copy SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/{SmmTcg2PhysicalPrese= nceLib.inf =3D> StandaloneMmTcg2PhysicalPresenceLib.inf} (64%) create mode 100644 SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTp= m.h copy SecurityPkg/Library/Tpm2DeviceLibDTpm/{Tpm2DeviceLibDTpm.inf =3D> Tp= m2DeviceLibDTpmStandaloneMm.inf} (70%) rename UefiCpuPkg/CpuIo2Smm/{CpuIo2Smm.h =3D> CpuIo2Mm.h} (93%) copy UefiCpuPkg/CpuIo2Smm/{CpuIo2Smm.inf =3D> CpuIo2StandaloneMm.inf} (56= %) -- 2.30.0.windows.1 --_000_MWHPR06MB31025CAE640D325AC3E9D980F3B99MWHPR06MB3102namp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

 

Thanks to all the reviewers helping through this pa= tch series. Each individual patch has received a reviewed-by tag. Should I = send out a v5 that adds the final 3 reviewed-by tags based on latest top of= master? If not, could one of the maintainers help to merge these patches into the mainline?

 

Just for reference, the final 3 reviewed-by tags ar= e here:

#11: Re: [PATCH v4 11/20] MdeModulePkg: SmmSmiHandlerProfileLib: Support Standa= loneMm Instance (groups.io)

#18: Re: [PATCH v4 18/20] UefiCpuPkg: CpuIo2Smm: Abstract SMM specific function= s into separate file (groups.io)

#19: Re: [PATCH v4 19/20] UefiCpuPkg: CpuIo2Smm: Support of CpuIo driver under = StandaloneMm (groups.io)

 

Please let me know if there is anything needed from= me to merge in these patches. Thanks in advance!

 

Regards,

Kun

 

 

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3129

This patch series is a follow up of previous submission:
https://edk2.grou= ps.io/g/devel/message/70329

These module changes are validated on two different physical platforms. Standalone and traditional MM are both tested to be functional on these systems.

v4 patches mainly focus on feedback for reviewed commits in v3 patches, including:
a. Adding "Reviewed-by" tags for applicable patches;
b. Breaking CpuIo2Smm patch for file renaming and abstraction purpose;
c. Adding SmmSmiHandlerProfileLib coverage;

Patch v4 branch: https://github.com/kuqin12/edk2/tree/standalone_x64_v4

Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Yuwei Chen <yuwei.chen@intel.com>
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 (20):
  BaseTools: Ecc/exception: Added _ModuleEntryPoint into exception li= st
  StandaloneMmPkg: StandaloneMmCoreEntryPoint: Extends support for X6= 4
  StandaloneMmPkg: StandaloneMmCoreHobLib: Extend support for x64 Mm<= br>     Core
  StandaloneMmPkg: StandaloneMmCoreMemoryAllocationLib: Fix compiler<= br>     warning
  StandaloneMmPkg: StandaloneMmMemLib: Extends support for X64
    architecture
  MdeModulePkg: SmmLockBoxSmmLib: Support StandaloneMm for SmmLockBox= Lib
  MdeModulePkg: SmmReportStatusCodeLib: ReportStatusCodeLib in
    StandaloneMm
  MdeModulePkg: StatusCodeHandler: StatusCodeHandler driver in
    StandaloneMm
  MdeModulePkg: FirmwarePerformanceDataTable: Added StandaloneMm supp= ort
  MdeModulePkg: ReportStatusCodeRouter: Support StandaloneMm RSC Rout= er
  MdeModulePkg: SmmSmiHandlerProfileLib: Support StandaloneMm Instanc= e
  MdePkg: UefiDevicePathLib: Support UefiDevicePathLib under
    StandaloneMm
  PcAtChipsetPkg: AcpiTimerLib: Added StandaloneMm instance of
    AcpiTimerLib
  SecurityPkg: Tcg2PhysicalPresenceLib: Introduce StandaloneMm instan= ce
  SecurityPkg: Tcg2PpVendorLibNull: Added support for MM_STANDALONE t= ype
  SecurityPkg: Tpm2DeviceLibDTpm: Introduce StandaloneMm instance
  UefiCpuPkg: CpuIo2Smm: Move CpuIo2Smm driver to consume gMmst
  UefiCpuPkg: CpuIo2Smm: Abstract SMM specific functions into separat= e
    file
  UefiCpuPkg: CpuIo2Smm: Support of CpuIo driver under StandaloneMm   UefiCpuPkg: SmmCpuExceptionHandlerLib: Added StandaloneMm module     support

 MdeModulePkg/Library/SmmLockBoxLib/{SmmLockBoxSmmLib.c =3D> SmmLo= ckBoxMmLib.c}          &n= bsp;            = ;            &n= bsp;            = ;    |  82 ++---
 MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxStandaloneMmLib.c =             &nb= sp;            =             &nb= sp;            =             &nb= sp;  |  53 +++
 MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxTraditionalMmLib.c = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp; |  53 +++
 MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLib.c&nb= sp;            =             &nb= sp;            =             &nb= sp;            |&nbs= p; 16 +-
 MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLibStand= aloneMm.c           =             &nb= sp;            =             &nb= sp;  |  38 ++
 MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLibTradi= tional.c           &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;   |  38 ++
 MdeModulePkg/Library/SmmSmiHandlerProfileLib/{SmmSmiHandlerProfileLi= b.c =3D> MmSmiHandlerProfileLib.c}      &n= bsp;            = ;         |  20 +-
 MdeModulePkg/Library/SmmSmiHandlerProfileLib/SmmSmiHandlerProfileLib= .c            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;        |  90 +----
 MdeModulePkg/Library/SmmSmiHandlerProfileLib/StandaloneMmSmiHandlerP= rofileLib.c          &nbs= p;            &= nbsp;           &nbs= p;             = |  31 ++
 MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/{Firmwar= ePerformanceSmm.c =3D> FirmwarePerformanceCommon.c}   &nb= sp;       |  76 ++--
 MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/Firmware= PerformanceStandaloneMm.c        &n= bsp;            = ;            &n= bsp; |  61 ++++
 MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/Firmware= PerformanceTraditional.c        &nb= sp;            =             &nb= sp;  |  61 ++++
 MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/{ReportStatusCodeR= outerSmm.c =3D> ReportStatusCodeRouterCommon.c}    &= nbsp;          |  59 ++-<= br>  MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCodeRo= uterStandaloneMm.c         &nb= sp;            =             &nb= sp;       |  33 ++
 MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCodeRo= uterTraditional.c         &nbs= p;            &= nbsp;           &nbs= p;        |  33 ++
 MdeModulePkg/Universal/StatusCodeHandler/Smm/MemoryStatusCodeWorker.= c            &n= bsp;            = ;            &n= bsp;            = ;         |  36 +-
 MdeModulePkg/Universal/StatusCodeHandler/Smm/SerialStatusCodeWorker.= c            &n= bsp;            = ;            &n= bsp;            = ;         |   2 +-
 MdeModulePkg/Universal/StatusCodeHandler/Smm/{StatusCodeHandlerSmm.c= =3D> StatusCodeHandlerMm.c}       &n= bsp;            = ;            &n= bsp; |  23 +-
 MdeModulePkg/Universal/StatusCodeHandler/Smm/StatusCodeHandlerStanda= lone.c           &nb= sp;            =             &nb= sp;            =      |  31 ++
 MdeModulePkg/Universal/StatusCodeHandler/Smm/StatusCodeHandlerTradit= ional.c           &n= bsp;            = ;            &n= bsp;            = ;    |  31 ++
 MdePkg/Library/UefiDevicePathLib/DevicePathUtilities.c  &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;         |  33 --
 MdePkg/Library/UefiDevicePathLib/DevicePathUtilitiesDxeSmm.c &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;    |  51 +++
 MdePkg/Library/UefiDevicePathLib/DevicePathUtilitiesStandaloneMm.c&n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;           |  40= ++
 PcAtChipsetPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.c  &nb= sp;            =             &nb= sp;            =             &nb= sp;            =           |  81 +---
 PcAtChipsetPkg/Library/AcpiTimerLib/{DxeAcpiTimerLib.c =3D> DxeSt= andaloneMmAcpiTimerLib.c}        &n= bsp;            = ;            &n= bsp;      |   9 +-
 PcAtChipsetPkg/Library/AcpiTimerLib/StandaloneMmAcpiTimerLib.c =             &nb= sp;            =             &nb= sp;            =             &nb= sp;  |  31 ++
 SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/{SmmTcg2PhysicalPrese= nceLib.c =3D> MmTcg2PhysicalPresenceLibCommon.c}    =           |  33 +-
 SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresen= ceLib.c           &n= bsp;            = ;            &n= bsp;            = ;    | 368 +------------------
 SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/StandaloneMmTcg2Physi= calPresenceLib.c          = ;            &n= bsp;            = ;         |  42 +++
 SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.c  = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;      |  42 +--
 SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpmBase.c &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;   |  68 ++++
 SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpmStandaloneMm.= c            &n= bsp;            = ;            &n= bsp;            = ;         |  66 ++++
 SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.c &nb= sp;            =             &nb= sp;            =             &nb= sp;            =      |  40 +-
 SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2Ptp.c   &nb= sp;            =             &nb= sp;            =             &nb= sp;            =             &nb= sp;  |  15 +-
 StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/X64/StandaloneMmC= oreEntryPoint.c          =             &nb= sp;            =           |  71 ++++
 StandaloneMmPkg/Library/StandaloneMmCoreHobLib/{ =3D> AArch64}/St= andaloneMmCoreHobLib.c         = ;            &n= bsp;            = ;         | 272 --------------
 StandaloneMmPkg/Library/StandaloneMmCoreHobLib/Common.c  &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;        | 291 +++++++++++++++
 StandaloneMmPkg/Library/StandaloneMmCoreHobLib/X64/StandaloneMmCoreH= obLib.c           &n= bsp;            = ;            &n= bsp;            = ;    | 298 +++++++++++++++
 StandaloneMmPkg/Library/StandaloneMmCoreMemoryAllocationLib/Standalo= neMmCoreMemoryAllocationLib.c       &nbs= p;            &= nbsp;          |   6= +-
 StandaloneMmPkg/Library/StandaloneMmMemLib/AArch64/StandaloneMmMemLi= bInternal.c          &nbs= p;            &= nbsp;           &nbs= p;             = |  27 ++
 StandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib.c = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp; |  52 +++
 StandaloneMmPkg/Library/StandaloneMmMemLib/X86StandaloneMmMemLibInte= rnal.c           &nb= sp;            =             &nb= sp;            =      | 155 ++++++++
 UefiCpuPkg/CpuIo2Smm/{CpuIo2Smm.c =3D> CpuIo2Mm.c}  &nb= sp;            =             &nb= sp;            =             &nb= sp;            =             &nb= sp;  |  17 +-
 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.c      =             &nb= sp;            =             &nb= sp;            =             &nb= sp;            =             &nb= sp;  | 385 +-------------------
 UefiCpuPkg/CpuIo2Smm/CpuIo2StandaloneMm.c    &nb= sp;            =             &nb= sp;            =             &nb= sp;            =             &nb= sp;       |  32 ++
 BaseTools/Source/Python/Ecc/exception.xml    &nb= sp;            =             &nb= sp;            =             &nb= sp;            =             &nb= sp;       |   4 +
 MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxLibPrivate.h  = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;      |  25 ++
 MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf  &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;        |  15 +-
 MdeModulePkg/Library/SmmLockBoxLib/{SmmLockBoxSmmLib.inf =3D> Smm= LockBoxStandaloneMmLib.inf}        =             &nb= sp;            =      |  26 +-
 MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLib.h&nb= sp;            =             &nb= sp;            =             &nb= sp;            |&nbs= p; 36 ++
 MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCodeLib.i= nf            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;        |   4 +-
 MdeModulePkg/Library/SmmReportStatusCodeLib/{SmmReportStatusCodeLib.= inf =3D> StandaloneMmReportStatusCodeLib.inf}    &nb= sp;            |&nbs= p; 22 +-
 MdeModulePkg/Library/SmmSmiHandlerProfileLib/MmSmiHandlerProfileLib.= h            &n= bsp;            = ;            &n= bsp;            = ;         |  23 ++
 MdeModulePkg/Library/SmmSmiHandlerProfileLib/SmmSmiHandlerProfileLib= .inf            = ;            &n= bsp;            = ;            &n= bsp;      |   4 +-
 MdeModulePkg/Library/SmmSmiHandlerProfileLib/StandaloneMmSmiHandlerP= rofileLib.inf          &n= bsp;            = ;            &n= bsp;           |  44= +++
 MdeModulePkg/MdeModulePkg.dsc      &nb= sp;            =             &nb= sp;            =             &nb= sp;            =             &nb= sp;            =      |   8 +
 MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/Firmware= PerformanceCommon.h         &n= bsp;            = ;            &n= bsp;      |  50 +++
 MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/Firmware= PerformanceSmm.inf         &nb= sp;            =             &nb= sp;       |  11 +-
 MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/{Firmwar= ePerformanceSmm.inf =3D> FirmwarePerformanceStandaloneMm.inf} |  31= +-
 MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/{ReportStatusCodeR= outerSmm.h =3D> ReportStatusCodeRouterCommon.h}    &= nbsp;          |  46 ++-<= br>  MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCodeRo= uterSmm.inf          &nbs= p;            &= nbsp;           &nbs= p;             = |  13 +-
 MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCodeRo= uterStandaloneMm.inf         &= nbsp;           &nbs= p;            &= nbsp;     |  49 +++
 MdeModulePkg/Universal/StatusCodeHandler/Smm/{StatusCodeHandlerSmm.h= =3D> StatusCodeHandlerMm.h}       &n= bsp;            = ;            &n= bsp; |  23 +-
 MdeModulePkg/Universal/StatusCodeHandler/Smm/StatusCodeHandlerSmm.in= f            &n= bsp;            = ;            &n= bsp;            = ;         |  15 +-
 MdeModulePkg/Universal/StatusCodeHandler/Smm/{StatusCodeHandlerSmm.i= nf =3D> StatusCodeHandlerStandaloneMm.inf}     =             &nb= sp;  |  32 +-
 MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf  &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;         |   1 +
 MdePkg/Library/UefiDevicePathLib/UefiDevicePathLibOptionalDevicePath= Protocol.inf          &nb= sp;            =             &nb= sp;            |&nbs= p;  1 +
 MdePkg/Library/UefiDevicePathLib/{UefiDevicePathLib.inf =3D> Uefi= DevicePathLibStandaloneMm.inf}       &nb= sp;            =             &nb= sp;  |  11 +-
 MdePkg/MdePkg.dsc        &nb= sp;            =             &nb= sp;            =             &nb= sp;            =             &nb= sp;            =             &nb= sp;  |   1 +
 PcAtChipsetPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf  &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;        |   2 +
 PcAtChipsetPkg/Library/AcpiTimerLib/DxeStandaloneMmAcpiTimerLib.h&nb= sp;            =             &nb= sp;            =             &nb= sp;            |&nbs= p; 24 ++
 PcAtChipsetPkg/Library/AcpiTimerLib/{DxeAcpiTimerLib.inf =3D> Sta= ndaloneMmAcpiTimerLib.inf}        &= nbsp;           &nbs= p;            &= nbsp;     |  19 +-
 PcAtChipsetPkg/PcAtChipsetPkg.dsc      = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp; |   1 +
 SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/MmTcg2PhysicalPresenc= eLibCommon.h          &nb= sp;            =             &nb= sp;            |&nbs= p; 34 ++
 SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresen= ceLib.inf           =             &nb= sp;            =             &nb= sp;  |   6 +-
 SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/{SmmTcg2PhysicalPrese= nceLib.inf =3D> StandaloneMmTcg2PhysicalPresenceLib.inf}  &nbs= p;   |  22 +-
 SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibNull.inf = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp; |   2 +-
 SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.h  = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;      |  67 ++++
 SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf &nb= sp;            =             &nb= sp;            =             &nb= sp;            =      |   3 +
 SecurityPkg/Library/Tpm2DeviceLibDTpm/{Tpm2DeviceLibDTpm.inf =3D>= Tpm2DeviceLibDTpmStandaloneMm.inf}      &nbs= p;            &= nbsp;          |  13 +-  SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;   |   3 +
 SecurityPkg/SecurityPkg.dsc       = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;      |   3 +
 StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneMmCoreE= ntryPoint.inf          &n= bsp;            = ;            &n= bsp;           | &nb= sp; 3 +
 StandaloneMmPkg/Library/StandaloneMmCoreHobLib/StandaloneMmCoreHobLi= b.inf           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;     |  11 +-
 StandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib.inf&nb= sp;            =             &nb= sp;            =             &nb= sp;            |&nbs= p; 13 +-
 UefiCpuPkg/CpuIo2Smm/{CpuIo2Smm.h =3D> CpuIo2Mm.h}  &nb= sp;            =             &nb= sp;            =             &nb= sp;            =             &nb= sp;  |  14 +-
 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf     &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;             = |   5 +-
 UefiCpuPkg/CpuIo2Smm/{CpuIo2Smm.inf =3D> CpuIo2StandaloneMm.inf}&= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;   |  24 +-
 UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.= inf            =             &nb= sp;            =             &nb= sp;       |   2 +-
 UefiCpuPkg/UefiCpuPkg.dsc       &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;        |   6 +
 90 files changed, 2503 insertions(+), 1661 deletions(-)
 rename MdeModulePkg/Library/SmmLockBoxLib/{SmmLockBoxSmmLib.c =3D>= ; SmmLockBoxMmLib.c} (89%)
 create mode 100644 MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxStan= daloneMmLib.c
 create mode 100644 MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxTrad= itionalMmLib.c
 create mode 100644 MdeModulePkg/Library/SmmReportStatusCodeLib/Repor= tStatusCodeLibStandaloneMm.c
 create mode 100644 MdeModulePkg/Library/SmmReportStatusCodeLib/Repor= tStatusCodeLibTraditional.c
 copy MdeModulePkg/Library/SmmSmiHandlerProfileLib/{SmmSmiHandlerProf= ileLib.c =3D> MmSmiHandlerProfileLib.c} (86%)
 create mode 100644 MdeModulePkg/Library/SmmSmiHandlerProfileLib/Stan= daloneMmSmiHandlerProfileLib.c
 rename MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/{= FirmwarePerformanceSmm.c =3D> FirmwarePerformanceCommon.c} (75%)
 create mode 100644 MdeModulePkg/Universal/Acpi/FirmwarePerformanceDa= taTableSmm/FirmwarePerformanceStandaloneMm.c
 create mode 100644 MdeModulePkg/Universal/Acpi/FirmwarePerformanceDa= taTableSmm/FirmwarePerformanceTraditional.c
 rename MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/{ReportStat= usCodeRouterSmm.c =3D> ReportStatusCodeRouterCommon.c} (74%)
 create mode 100644 MdeModulePkg/Universal/ReportStatusCodeRouter/Smm= /ReportStatusCodeRouterStandaloneMm.c
 create mode 100644 MdeModulePkg/Universal/ReportStatusCodeRouter/Smm= /ReportStatusCodeRouterTraditional.c
 rename MdeModulePkg/Universal/StatusCodeHandler/Smm/{StatusCodeHandl= erSmm.c =3D> StatusCodeHandlerMm.c} (69%)
 create mode 100644 MdeModulePkg/Universal/StatusCodeHandler/Smm/Stat= usCodeHandlerStandalone.c
 create mode 100644 MdeModulePkg/Universal/StatusCodeHandler/Smm/Stat= usCodeHandlerTraditional.c
 create mode 100644 MdePkg/Library/UefiDevicePathLib/DevicePathUtilit= iesDxeSmm.c
 create mode 100644 MdePkg/Library/UefiDevicePathLib/DevicePathUtilit= iesStandaloneMm.c
 copy PcAtChipsetPkg/Library/AcpiTimerLib/{DxeAcpiTimerLib.c =3D> = DxeStandaloneMmAcpiTimerLib.c} (86%)
 create mode 100644 PcAtChipsetPkg/Library/AcpiTimerLib/StandaloneMmA= cpiTimerLib.c
 copy SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/{SmmTcg2Physical= PresenceLib.c =3D> MmTcg2PhysicalPresenceLibCommon.c} (90%)
 create mode 100644 SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/St= andaloneMmTcg2PhysicalPresenceLib.c
 create mode 100644 SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceL= ibDTpmBase.c
 create mode 100644 SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceL= ibDTpmStandaloneMm.c
 create mode 100644 StandaloneMmPkg/Library/StandaloneMmCoreEntryPoin= t/X64/StandaloneMmCoreEntryPoint.c
 rename StandaloneMmPkg/Library/StandaloneMmCoreHobLib/{ =3D> AArc= h64}/StandaloneMmCoreHobLib.c (55%)
 create mode 100644 StandaloneMmPkg/Library/StandaloneMmCoreHobLib/Co= mmon.c
 create mode 100644 StandaloneMmPkg/Library/StandaloneMmCoreHobLib/X6= 4/StandaloneMmCoreHobLib.c
 create mode 100644 StandaloneMmPkg/Library/StandaloneMmMemLib/X86Sta= ndaloneMmMemLibInternal.c
 copy UefiCpuPkg/CpuIo2Smm/{CpuIo2Smm.c =3D> CpuIo2Mm.c} (93%)
 create mode 100644 UefiCpuPkg/CpuIo2Smm/CpuIo2StandaloneMm.c
 copy MdeModulePkg/Library/SmmLockBoxLib/{SmmLockBoxSmmLib.inf =3D>= ; SmmLockBoxStandaloneMmLib.inf} (52%)
 create mode 100644 MdeModulePkg/Library/SmmReportStatusCodeLib/Repor= tStatusCodeLib.h
 copy MdeModulePkg/Library/SmmReportStatusCodeLib/{SmmReportStatusCod= eLib.inf =3D> StandaloneMmReportStatusCodeLib.inf} (56%)
 create mode 100644 MdeModulePkg/Library/SmmSmiHandlerProfileLib/MmSm= iHandlerProfileLib.h
 create mode 100644 MdeModulePkg/Library/SmmSmiHandlerProfileLib/Stan= daloneMmSmiHandlerProfileLib.inf
 create mode 100644 MdeModulePkg/Universal/Acpi/FirmwarePerformanceDa= taTableSmm/FirmwarePerformanceCommon.h
 copy MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/{Fi= rmwarePerformanceSmm.inf =3D> FirmwarePerformanceStandaloneMm.inf} (65%)=
 rename MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/{ReportStat= usCodeRouterSmm.h =3D> ReportStatusCodeRouterCommon.h} (72%)
 create mode 100644 MdeModulePkg/Universal/ReportStatusCodeRouter/Smm= /ReportStatusCodeRouterStandaloneMm.inf
 rename MdeModulePkg/Universal/StatusCodeHandler/Smm/{StatusCodeHandl= erSmm.h =3D> StatusCodeHandlerMm.h} (87%)
 copy MdeModulePkg/Universal/StatusCodeHandler/Smm/{StatusCodeHandler= Smm.inf =3D> StatusCodeHandlerStandaloneMm.inf} (62%)
 copy MdePkg/Library/UefiDevicePathLib/{UefiDevicePathLib.inf =3D>= UefiDevicePathLibStandaloneMm.inf} (79%)
 create mode 100644 PcAtChipsetPkg/Library/AcpiTimerLib/DxeStandalone= MmAcpiTimerLib.h
 copy PcAtChipsetPkg/Library/AcpiTimerLib/{DxeAcpiTimerLib.inf =3D>= ; StandaloneMmAcpiTimerLib.inf} (70%)
 create mode 100644 SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/Mm= Tcg2PhysicalPresenceLibCommon.h
 copy SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/{SmmTcg2Physical= PresenceLib.inf =3D> StandaloneMmTcg2PhysicalPresenceLib.inf} (64%)
 create mode 100644 SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceL= ibDTpm.h
 copy SecurityPkg/Library/Tpm2DeviceLibDTpm/{Tpm2DeviceLibDTpm.inf = =3D> Tpm2DeviceLibDTpmStandaloneMm.inf} (70%)
 rename UefiCpuPkg/CpuIo2Smm/{CpuIo2Smm.h =3D> CpuIo2Mm.h} (93%)  copy UefiCpuPkg/CpuIo2Smm/{CpuIo2Smm.inf =3D> CpuIo2StandaloneMm.= inf} (56%)

--
2.30.0.windows.1





 

--_000_MWHPR06MB31025CAE640D325AC3E9D980F3B99MWHPR06MB3102namp_--