From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by mx.groups.io with SMTP id smtpd.web08.27700.1612143375425639819 for ; Sun, 31 Jan 2021 17:36:18 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=permanent DNS error (domain: byosoft.com.cn, ip: 58.240.74.242, mailfrom: gaoliming@byosoft.com.cn) Received: from DESKTOPS6D0PVI ([58.246.60.130]) (envelope-sender ) by 192.168.6.13 with ESMTP for ; Mon, 01 Feb 2021 09:36:01 +0800 X-WM-Sender: gaoliming@byosoft.com.cn X-WM-AuthFlag: YES X-WM-AuthUser: gaoliming@byosoft.com.cn From: "gaoliming" To: "'Kun Qin'" , Cc: "'Bob Feng'" , "'Yuwei Chen'" , "'Jian J Wang'" , "'Hao A Wu'" , "'Eric Dong'" , "'Dandan Bi'" , "'Michael D Kinney'" , "'Zhiguang Liu'" , "'Ray Ni'" , "'Jiewen Yao'" , "'Qi Zhang'" , "'Rahul Kumar'" , "'Ard Biesheuvel'" , "'Sami Mujawar'" , "'Supreeth Venkatesh'" , "'Laszlo Ersek'" References: <165DDFCFC1B8F7B6.29283@groups.io> In-Reply-To: Subject: =?UTF-8?B?5Zue5aSNOiBbZWRrMi1kZXZlbF0gW1BBVENIIHY0IDAwLzIwXSBFeHRlbmRzIFN1cHBvcnQgb2YgTU1fU1RBTkRBTE9ORSBUeXBlIE1vZHVsZXMgdG8gWDY0?= Date: Mon, 1 Feb 2021 09:36:06 +0800 Message-ID: <018e01d6f83a$9c4668e0$d4d33aa0$@byosoft.com.cn> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQKdPuNo25tLbTBif/wn346QcogYsQGeyWbhqKkArxA= Content-Type: multipart/alternative; boundary="----=_NextPart_000_018F_01D6F87D.AA6E8AE0" Content-Language: zh-cn ------=_NextPart_000_018F_01D6F87D.AA6E8AE0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Kun: I will merge this patch serial. Can you update the latest version patches with reviewed-by tag into your fork https://github.com/kuqin12? I will ref= er to it and create pull request.=20 =20 Thanks Liming =B7=A2=BC=FE=C8=CB: Kun Qin =20 =B7=A2=CB=CD=CA=B1=BC=E4: 2021=C4=EA1=D4=C229=C8=D5 15:56 =CA=D5=BC=FE=C8=CB: devel@edk2.groups.io =B3=AD=CB=CD: Bob Feng ; Yuwei Chen ; Jian J Wang ; Hao A Wu ; Eric Dong ; Dandan Bi ; Liming Gao ; Michael D Kinney ; Zhiguang Liu ; Ray Ni ; Jiewen Y= ao ; Qi Zhang ; Rahul Kumar ; Ard Biesheuvel ; Sami Mujawar ; Supreeth Venkatesh ; Laszlo Ersek =D6=F7=CC=E2: RE: [edk2-devel] [PATCH v4 00/20] Extends Support of MM_STAN= DALONE Type Modules to X64 =20 Hi, =20 Thanks to all the reviewers helping through this patch series. Each individual patch has received a reviewed-by tag. Should I send out a v5 th= at 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= ? =20 Just for reference, the final 3 reviewed-by tags are here: #11: Re: [PATCH v4 11/20] MdeModulePkg: SmmSmiHandlerProfileLib: Support StandaloneMm Instance (groups.io) =20 #18: Re: [PATCH v4 18/20] UefiCpuPkg: CpuIo2Smm: Abstract SMM specific functions into separate file (groups.io) =20 #19: Re: [PATCH v4 19/20] UefiCpuPkg: CpuIo2Smm: Support of CpuIo driver under StandaloneMm (groups.io) =20 =20 Please let me know if there is anything needed from me to merge in these patches. Thanks in advance! =20 Regards, Kun =20 From: Kun Qin =20 Sent: Tuesday, January 26, 2021 11:45 To: devel@edk2.groups.io =20 Cc: Bob Feng ; Yuwei Chen ; Jian J Wang = ; Hao A Wu ; Eric Dong ; Dandan Bi ; Liming Gao ; Michael D Kinney ; Zhiguang Liu ; Ray Ni ; Jiewe= n Yao ; Qi Zhang = ; Rahul Kumar ; Ard Biesheuvel ; Sami Mujawar ; Supreeth Venkatesh ; Laszlo Ersek =20 Subject: [edk2-devel] [PATCH v4 00/20] Extends Support of MM_STANDALONE Ty= pe Modules to X64 =20 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> SmmLockBoxMmLib.c} | 8= 2 ++--- MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxStandaloneMmLib.c | 53 +++ MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxTraditionalMmLib.c | 53 +++ MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLib.c | 16 +- =20 MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLibStandaloneM= m. c | 38 ++ MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLibTraditiona= l. c | 38 ++ MdeModulePkg/Library/SmmSmiHandlerProfileLib/{SmmSmiHandlerProfileLib.c = =3D> MmSmiHandlerProfileLib.c} | 20 +- MdeModulePkg/Library/SmmSmiHandlerProfileLib/SmmSmiHandlerProfileLib.c | 90 +---- =20 MdeModulePkg/Library/SmmSmiHandlerProfileLib/StandaloneMmSmiHandlerProfile= Li b.c | 31 ++ =20 MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/{FirmwarePerfo= rm anceSmm.c =3D> FirmwarePerformanceCommon.c} | 76 ++-- =20 MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/FirmwarePerfor= ma nceStandaloneMm.c | 61 ++++ =20 MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/FirmwarePerfor= ma nceTraditional.c | 61 ++++ =20 MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/{ReportStatusCodeRouterS= mm .c =3D> ReportStatusCodeRouterCommon.c} | 59 ++- =20 MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCodeRouterSt= an daloneMm.c | 33 ++ =20 MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCodeRouterTr= ad itional.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> DxeStandaloneMmAcpiTimerLib.c} | = 9 +- PcAtChipsetPkg/Library/AcpiTimerLib/StandaloneMmAcpiTimerLib.c | 31 ++ SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/{SmmTcg2PhysicalPresenceLi= b. c =3D> MmTcg2PhysicalPresenceLibCommon.c} | 33 +- SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresenceLib= .c | 368 +------------------ =20 SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/StandaloneMmTcg2PhysicalPre= se nceLib.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 +- =20 StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/X64/StandaloneMmCoreEnt= ry Point.c | 71 ++++ StandaloneMmPkg/Library/StandaloneMmCoreHobLib/{ =3D> AArch64}/StandaloneMmCoreHobLib.c | 272 -------------- StandaloneMmPkg/Library/StandaloneMmCoreHobLib/Common.c | 291 +++++++++++++++ StandaloneMmPkg/Library/StandaloneMmCoreHobLib/X64/StandaloneMmCoreHobLib= .c | 298 +++++++++++++++ =20 StandaloneMmPkg/Library/StandaloneMmCoreMemoryAllocationLib/StandaloneMmCo= re MemoryAllocationLib.c | 6 +- =20 StandaloneMmPkg/Library/StandaloneMmMemLib/AArch64/StandaloneMmMemLibInter= na l.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> SmmLockBoxStandaloneMmLib.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 +- =20 MdeModulePkg/Library/SmmSmiHandlerProfileLib/StandaloneMmSmiHandlerProfile= Li b.inf | 44 +++ MdeModulePkg/MdeModulePkg.dsc | 8 + =20 MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/FirmwarePerfor= ma nceCommon.h | 50 +++ =20 MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/FirmwarePerfor= ma nceSmm.inf | 11 +- =20 MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/{FirmwarePerfo= rm anceSmm.inf =3D> FirmwarePerformanceStandaloneMm.inf} | 31 +- =20 MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/{ReportStatusCodeRouterS= mm .h =3D> ReportStatusCodeRouterCommon.h} | 46 ++- =20 MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCodeRouterSm= m. inf | 13 +- =20 MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCodeRouterSt= an daloneMm.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 + =20 MdePkg/Library/UefiDevicePathLib/UefiDevicePathLibOptionalDevicePathProtoc= ol .inf | 1 + MdePkg/Library/UefiDevicePathLib/{UefiDevicePathLib.inf =3D> UefiDevicePathLibStandaloneMm.inf} | 11 +- MdePkg/MdePkg.dsc | 1 + PcAtChipsetPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf | 2 + PcAtChipsetPkg/Library/AcpiTimerLib/DxeStandaloneMmAcpiTimerLib.h | 24 ++ PcAtChipsetPkg/Library/AcpiTimerLib/{DxeAcpiTimerLib.inf =3D> StandaloneMmAcpiTimerLib.inf} | 19 = +- PcAtChipsetPkg/PcAtChipsetPkg.dsc | 1 + =20 SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/MmTcg2PhysicalPresenceLibCo= mm on.h | 34 ++ =20 SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresenceLib.= in f | 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> Tpm2DeviceLibDTpmStandaloneMm.inf} | 13 +- SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf | 3 + SecurityPkg/SecurityPkg.dsc | 3 + =20 StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneMmCoreEntryPo= in t.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> 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/ReportStatusCodeLibStandaloneM= m. c create mode 100644 MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLibTraditional= .c copy MdeModulePkg/Library/SmmSmiHandlerProfileLib/{SmmSmiHandlerProfileLi= b. c =3D> MmSmiHandlerProfileLib.c} (86%) create mode 100644 MdeModulePkg/Library/SmmSmiHandlerProfileLib/StandaloneMmSmiHandlerProfile= Li b.c rename MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/{FirmwarePerfo= rm anceSmm.c =3D> FirmwarePerformanceCommon.c} (75%) create mode 100644 MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/FirmwarePerfor= ma nceStandaloneMm.c create mode 100644 MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/FirmwarePerfor= ma nceTraditional.c rename MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/{ReportStatusCodeRouterS= mm .c =3D> ReportStatusCodeRouterCommon.c} (74%) create mode 100644 MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCodeRouterSt= an daloneMm.c create mode 100644 MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCodeRouterTr= ad itional.c rename MdeModulePkg/Universal/StatusCodeHandler/Smm/{StatusCodeHandlerSmm= .c =3D> StatusCodeHandlerMm.c} (69%) create mode 100644 MdeModulePkg/Universal/StatusCodeHandler/Smm/StatusCodeHandlerStandalone.c create mode 100644 MdeModulePkg/Universal/StatusCodeHandler/Smm/StatusCodeHandlerTraditional.= c create mode 100644 MdePkg/Library/UefiDevicePathLib/DevicePathUtilitiesDxeSmm.c create mode 100644 MdePkg/Library/UefiDevicePathLib/DevicePathUtilitiesStandaloneMm.c copy PcAtChipsetPkg/Library/AcpiTimerLib/{DxeAcpiTimerLib.c =3D> DxeStandaloneMmAcpiTimerLib.c} (86%) create mode 100644 PcAtChipsetPkg/Library/AcpiTimerLib/StandaloneMmAcpiTimerLib.c copy SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/{SmmTcg2PhysicalPresenceLib= .c =3D> MmTcg2PhysicalPresenceLibCommon.c} (90%) create mode 100644 SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/StandaloneMmTcg2PhysicalPre= se nceLib.c create mode 100644 SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpmBase.c create mode 100644 SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpmStandaloneMm.c create mode 100644 StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/X64/StandaloneMmCoreEnt= ry Point.c rename StandaloneMmPkg/Library/StandaloneMmCoreHobLib/{ =3D> AArch64}/StandaloneMmCoreHobLib.c (55%) create mode 100644 StandaloneMmPkg/Library/StandaloneMmCoreHobLib/Common.= c create mode 100644 StandaloneMmPkg/Library/StandaloneMmCoreHobLib/X64/StandaloneMmCoreHobLib.= c create mode 100644 StandaloneMmPkg/Library/StandaloneMmMemLib/X86StandaloneMmMemLibInternal.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/ReportStatusCodeLib.h copy MdeModulePkg/Library/SmmReportStatusCodeLib/{SmmReportStatusCodeLib.inf = =3D> StandaloneMmReportStatusCodeLib.inf} (56%) create mode 100644 MdeModulePkg/Library/SmmSmiHandlerProfileLib/MmSmiHandlerProfileLib.h create mode 100644 MdeModulePkg/Library/SmmSmiHandlerProfileLib/StandaloneMmSmiHandlerProfile= Li b.inf create mode 100644 MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/FirmwarePerfor= ma nceCommon.h copy MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/{FirmwarePerfo= rm anceSmm.inf =3D> FirmwarePerformanceStandaloneMm.inf} (65%) rename MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/{ReportStatusCodeRouterS= mm .h =3D> ReportStatusCodeRouterCommon.h} (72%) create mode 100644 MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCodeRouterSt= an daloneMm.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> UefiDevicePathLibStandaloneMm.inf} (79%) create mode 100644 PcAtChipsetPkg/Library/AcpiTimerLib/DxeStandaloneMmAcpiTimerLib.h copy PcAtChipsetPkg/Library/AcpiTimerLib/{DxeAcpiTimerLib.inf =3D> StandaloneMmAcpiTimerLib.inf} (70%) create mode 100644 SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/MmTcg2PhysicalPresenceLibCo= mm on.h copy SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/{SmmTcg2PhysicalPresenceLib= .i nf =3D> StandaloneMmTcg2PhysicalPresenceLib.inf} (64%) create mode 100644 SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTp= m. 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= %) --=20 2.30.0.windows.1 =20 ------=_NextPart_000_018F_01D6F87D.AA6E8AE0 Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: quoted-printable
Kun:

 I will merge this = patch serial. Can you update the latest version patches with reviewed-by ta= g into your fork https://github.com/kuqin12? I will refer to it and create pull r= equest.

 

Thanks

Liming=

=B7=A2=BC=FE=C8=CB: Kun Qin <kun.q@outlook.com>= ;
=B7=A2=CB=CD=CA=B1=BC= =E4: 2021=C4=EA1=D4=C229=C8=D5 15:56
=CA=D5=BC=FE=C8=CB:= devel@edk2.groups.io
=B3=AD=CB=CD: Bob Feng <bob.c.feng@intel= .com>; Yuwei Chen <yuwei.chen@intel.com>; Jian J Wang <jian.j.w= ang@intel.com>; Hao A Wu <hao.a.wu@intel.com>; Eric Dong <eric.= dong@intel.com>; Dandan Bi <dandan.bi@intel.com>; Liming Gao <g= aoliming@byosoft.com.cn>; Michael D Kinney <michael.d.kinney@intel.co= m>; Zhiguang Liu <zhiguang.liu@intel.com>; Ray Ni <ray.ni@intel= .com>; Jiewen Yao <jiewen.yao@intel.com>; Qi Zhang <qi1.zhang@i= ntel.com>; Rahul Kumar <rahul1.kumar@intel.com>; Ard Biesheuvel &l= t;ard.biesheuvel@arm.com>; Sami Mujawar <sami.mujawar@arm.com>; Su= preeth Venkatesh <supreeth.venkatesh@arm.com>; Laszlo Ersek <lerse= k@redhat.com>
=D6=F7=CC=E2: RE: [edk2-devel] [PATCH v4 00/20] Extends Support of MM_S= TANDALONE Type Modules to X64

 

Hi,

<= span lang=3DEN-US> 

Thanks to all the reviewers helping through this patch series. E= ach 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 n= ot, could one of the maintainers help to merge these patches into the mainl= ine?

&nbs= p;

Just for referen= ce, the final 3 reviewed-by tags are here:

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

#18: Re: [PATCH v4 18/20] UefiCpuPkg: CpuIo2Smm: Abstract SM= M specific functions into separate file (groups.io)

#19: Re: [PATCH v4 19/20] UefiCpuPkg: CpuIo2Smm: Su= pport of CpuIo driver under StandaloneMm (groups.io)<= /p>

 

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

 

Regards,

Kun

 

From: Kun Qin
Sent: Tuesday, January= 26, 2021 11:45
To: devel= @edk2.groups.io
Cc: B= ob Feng; Yuwei Chen; Jian J Wang; Hao A Wu; Eric Do= ng; Dandan Bi; Liming Gao; Michael D Kinney; Zhiguang Liu; Ray Ni; Jiewen Yao; Qi Zhang; R= ahul Kumar; Ard Biesheuvel; Sami Mujawar; Supreeth Venkatesh; Laszlo Ersek
Subject: [edk2-devel] [PATCH v= 4 00/20] Extends Support of MM_STANDALONE Type Modules to X64

 

REF: h= ttps://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 pl= atforms.
Standalone and traditional MM are both tested to be functional = on these
systems.

v4 patches mainly focus on feedback for reviewe= d commits in v3 patches,
including:
a. Adding "Reviewed-by"= tags for applicable patches;
b. Breaking CpuIo2Smm patch for file renam= ing 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 <<= a href=3D"mailto:hao.a.wu@intel.com">hao.a.wu@intel.com>
Cc: Eric= Dong <eric.dong@intel.com>= ;
Cc: Dandan Bi <dandan.bi@int= el.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Michael D Kinney <michael.d.kinney@intel.com><= br>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 &l= t;rahul1.kumar@intel.com><= br>Cc: Ard Biesheuvel <ard.bie= sheuvel@arm.com>
Cc: Sami Mujawar <sami.mujawar@arm.com>
Cc: Supreeth Venkatesh <supreeth.venkatesh@arm.com&g= t;
Cc: Laszlo Ersek <lersek@redh= at.com>

Kun Qin (20):
  BaseTools: Ecc/exception: Add= ed _ModuleEntryPoint into exception list
  StandaloneMmPkg: Standal= oneMmCoreEntryPoint: Extends support for X64
  StandaloneMmPkg: Sta= ndaloneMmCoreHobLib: Extend support for x64 Mm
    Core  StandaloneMmPkg: StandaloneMmCoreMemoryAllocationLib: Fix compiler=
    warning
  StandaloneMmPkg: StandaloneMmMemLi= b: Extends support for X64
    architecture
  Mde= ModulePkg: SmmLockBoxSmmLib: Support StandaloneMm for SmmLockBoxLib
&nbs= p; MdeModulePkg: SmmReportStatusCodeLib: ReportStatusCodeLib in
 &n= bsp;  StandaloneMm
  MdeModulePkg: StatusCodeHandler: StatusCo= deHandler driver in
    StandaloneMm
  MdeModuleP= kg: FirmwarePerformanceDataTable: Added StandaloneMm support
  MdeM= odulePkg: ReportStatusCodeRouter: Support StandaloneMm RSC Router
 = MdeModulePkg: SmmSmiHandlerProfileLib: Support StandaloneMm Instance
&n= bsp; MdePkg: UefiDevicePathLib: Support UefiDevicePathLib under
 &n= bsp;  StandaloneMm
  PcAtChipsetPkg: AcpiTimerLib: Added Stand= aloneMm instance of
    AcpiTimerLib
  SecurityPk= g: Tcg2PhysicalPresenceLib: Introduce StandaloneMm instance
  Secur= ityPkg: Tcg2PpVendorLibNull: Added support for MM_STANDALONE type
 = SecurityPkg: Tpm2DeviceLibDTpm: Introduce StandaloneMm instance
  = UefiCpuPkg: CpuIo2Smm: Move CpuIo2Smm driver to consume gMmst
  Uef= iCpuPkg: CpuIo2Smm: Abstract SMM specific functions into separate
 =    file
  UefiCpuPkg: CpuIo2Smm: Support of CpuIo driver = under StandaloneMm
  UefiCpuPkg: SmmCpuExceptionHandlerLib: Added S= tandaloneMm module
    support

 MdeModulePkg/= Library/SmmLockBoxLib/{SmmLockBoxSmmLib.c =3D> SmmLockBoxMmLib.c} &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;             = |  82 ++---
 MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxStan= daloneMmLib.c          &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;     |  53 +++
 MdeModulePkg/Library/S= mmLockBoxLib/SmmLockBoxTraditionalMmLib.c     &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;         |  53 +++
 = MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLib.c &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;           |  16 += -
 MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLibS= tandaloneMm.c          &n= bsp;            = ;            &n= bsp;            = ;   |  38 ++
 MdeModulePkg/Library/SmmReportStatusCo= deLib/ReportStatusCodeLibTraditional.c      &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;        |  38 ++
 MdeModu= lePkg/Library/SmmSmiHandlerProfileLib/{SmmSmiHandlerProfileLib.c =3D> Mm= SmiHandlerProfileLib.c}        &nbs= p;            &= nbsp;      |  20 +-
 MdeModulePkg/Lib= rary/SmmSmiHandlerProfileLib/SmmSmiHandlerProfileLib.c   &nb= sp;            =             &nb= sp;            =             &nb= sp;    |  90 +----
 MdeModulePkg/Library/SmmSmi= HandlerProfileLib/StandaloneMmSmiHandlerProfileLib.c    = ;            &n= bsp;            = ;            &n= bsp;       |  31 ++
 MdeModulePk= g/Universal/Acpi/FirmwarePerformanceDataTableSmm/{FirmwarePerformanceSmm.c = = =3D> FirmwarePerformanceCommon.c}      &n= bsp;    |  76 ++--
 MdeModulePkg/Universal/Acpi= /FirmwarePerformanceDataTableSmm/FirmwarePerformanceStandaloneMm.c &nb= sp;            =             &nb= sp;        |  61 ++++
 MdeM= odulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/FirmwarePerformance= Traditional.c          &n= bsp;            = ;             |=   61 ++++
 MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/{= ReportStatusCodeRouterSmm.c =3D> ReportStatusCodeRouterCommon.c} &n= bsp;            = ; |  59 ++-
 MdeModulePkg/Universal/ReportStatusCodeRouter/Smm= /ReportStatusCodeRouterStandaloneMm.c      &n= bsp;            = ;            &n= bsp;          |  33 ++ MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCodeRo= uterTraditional.c         &nbs= p;            &= nbsp;           &nbs= p;        |  33 ++
 MdeModu= lePkg/Universal/StatusCodeHandler/Smm/MemoryStatusCodeWorker.c  &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;      |  36 +-
 MdeModulePkg/Uni= versal/StatusCodeHandler/Smm/SerialStatusCodeWorker.c   &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;     |   2 +-
 MdeModulePkg/Univers= al/StatusCodeHandler/Smm/{StatusCodeHandlerSmm.c =3D> StatusCodeHandlerM= m.c}            = ;            &n= bsp;         |  23 +-
 = ;MdeModulePkg/Universal/StatusCodeHandler/Smm/StatusCodeHandlerStandalone.c=             &nb= sp;            =             &nb= sp;            =     |  31 ++
 MdeModulePkg/Universal/StatusCode= Handler/Smm/StatusCodeHandlerTraditional.c     &nb= sp;            =             &nb= sp;            =           |  31 ++
&nb= sp;MdePkg/Library/UefiDevicePathLib/DevicePathUtilities.c   =             &nb= sp;            =             &nb= sp;            =             &nb= sp;        |  33 --
 MdePkg= /Library/UefiDevicePathLib/DevicePathUtilitiesDxeSmm.c   &nb= sp;            =             &nb= sp;            =             &nb= sp;            =   |  51 +++
 MdePkg/Library/UefiDevicePathLib/DevicePathU= tilitiesStandaloneMm.c         = ;            &n= bsp;            = ;            &n= bsp;            = ;   |  40 ++
 PcAtChipsetPkg/Library/AcpiTimerLib/Dx= eAcpiTimerLib.c          =             &nb= sp;            =             &nb= sp;            =             &nb= sp;  |  81 +---
 PcAtChipsetPkg/Library/AcpiTimerLib/{Dxe= AcpiTimerLib.c =3D> DxeStandaloneMmAcpiTimerLib.c}   &nbs= p;            &= nbsp;           &nbs= p;           |  = ; 9 +-
 PcAtChipsetPkg/Library/AcpiTimerLib/StandaloneMmAcpiTimerLi= b.c            =             &nb= sp;            =             &nb= sp;            =     |  31 ++
 SecurityPkg/Library/SmmTcg2Physic= alPresenceLib/{SmmTcg2PhysicalPresenceLib.c =3D> MmTcg2PhysicalPresenceL= ibCommon.c}          &nbs= p;   |  33 +-
 SecurityPkg/Library/SmmTcg2PhysicalPr= esenceLib/SmmTcg2PhysicalPresenceLib.c      &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;         | 368 +-----------------= -
 SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/StandaloneMmTcg2P= hysicalPresenceLib.c         &= nbsp;           &nbs= p;            &= nbsp;         |  42 +++
&nb= sp;SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.c  &nb= sp;            =             &nb= sp;            =             &nb= sp;            =       |  42 +--
 SecurityPkg/Library/= Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpmBase.c     &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;           |  68 += +++
 SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpmStandal= oneMm.c           &n= bsp;            = ;            &n= bsp;            = ;          |  66 ++++
=  SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.c &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;    |  40 +-
 SecurityPkg/Library/Tpm2Devi= ceLibDTpm/Tpm2Ptp.c         &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;         |  15 +-
 St= andaloneMmPkg/Library/StandaloneMmCoreEntryPoint/X64/StandaloneMmCoreEntryP= oint.c           &nb= sp;            =             &nb= sp;        |  71 ++++
 Stan= daloneMmPkg/Library/StandaloneMmCoreHobLib/{ =3D> AArch64}/StandaloneMmC= oreHobLib.c          &nbs= p;            &= nbsp;           &nbs= p;       | 272 --------------
 Standa= loneMmPkg/Library/StandaloneMmCoreHobLib/Common.c    &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;      | 291 +++++++++++++++
 StandaloneMm= Pkg/Library/StandaloneMmCoreHobLib/X64/StandaloneMmCoreHobLib.c  =             &nb= sp;            =             &nb= sp;            = | 298 +++++++++++++++
 StandaloneMmPkg/Library/StandaloneMmCoreMem= oryAllocationLib/StandaloneMmCoreMemoryAllocationLib.c   &nb= sp;            =             &nb= sp;  |   6 +-
 StandaloneMmPkg/Library/StandaloneMmM= emLib/AArch64/StandaloneMmMemLibInternal.c     &nb= sp;            =             &nb= sp;            =       |  27 ++
 StandaloneMmPkg/Libra= ry/StandaloneMmMemLib/StandaloneMmMemLib.c     &nb= sp;            =             &nb= sp;            =             &nb= sp;         |  52 +++
 = ;StandaloneMmPkg/Library/StandaloneMmMemLib/X86StandaloneMmMemLibInternal.c=             &nb= sp;            =             &nb= sp;            =     | 155 ++++++++
 UefiCpuPkg/CpuIo2Smm/{CpuIo2Smm.= c =3D> CpuIo2Mm.c}         =             &nb= sp;            =             &nb= sp;            =             &nb= sp;        |  17 +-
 UefiCp= uPkg/CpuIo2Smm/CpuIo2Smm.c        &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;            | 3= 85 +-------------------
 UefiCpuPkg/CpuIo2Smm/CpuIo2StandaloneMm.c&= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           |  3= 2 ++
 BaseTools/Source/Python/Ecc/exception.xml   &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;        |   4 +
 M= deModulePkg/Library/SmmLockBoxLib/SmmLockBoxLibPrivate.h   &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;     |  25 ++
 MdeModulePkg/Library/SmmL= ockBoxLib/SmmLockBoxSmmLib.inf       &nb= sp;            =             &nb= sp;            =             &nb= sp;            =    |  15 +-
 MdeModulePkg/Library/SmmLockBoxLib/{Smm= LockBoxSmmLib.inf =3D> SmmLockBoxStandaloneMmLib.inf}   &= nbsp;           &nbs= p;            &= nbsp;         |  26 +-
&nbs= p;MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLib.h &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;           |  36= ++
 MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCod= eLib.inf           &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;         |   4 +-
&n= bsp;MdeModulePkg/Library/SmmReportStatusCodeLib/{SmmReportStatusCodeLib.inf= =3D> StandaloneMmReportStatusCodeLib.inf}     =             |  = 22 +-
 MdeModulePkg/Library/SmmSmiHandlerProfileLib/MmSmiHandlerPro= fileLib.h           =             &nb= sp;            =             &nb= sp;          |  23 ++
=  MdeModulePkg/Library/SmmSmiHandlerProfileLib/SmmSmiHandlerProfileLib.= inf            =             &nb= sp;            =             &nb= sp;      |   4 +-
 MdeModulePkg/= Library/SmmSmiHandlerProfileLib/StandaloneMmSmiHandlerProfileLib.inf &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;        |  44 +++
 MdeMod= ulePkg/MdeModulePkg.dsc        &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;  |   8 +
 MdeModulePkg/Universal/Acpi/Firmware= PerformanceDataTableSmm/FirmwarePerformanceCommon.h    =             &nb= sp;            =             |  = 50 +++
 MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm= /FirmwarePerformanceSmm.inf        =             &nb= sp;            =          |  11 +-
 Mde= ModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/{FirmwarePerforman= ceSmm.inf =3D> FirmwarePerformanceStandaloneMm.inf} |  31 +-
&nb= sp;MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/{ReportStatusCodeRoute= rSmm.h =3D> ReportStatusCodeRouterCommon.h}     = ;          |  46 ++-
&= nbsp;MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCodeRout= erSmm.inf           =             &nb= sp;            =              |&= nbsp; 13 +-
 MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/Repo= rtStatusCodeRouterStandaloneMm.inf       = ;            &n= bsp;            = ;        |  49 +++
 MdeModu= lePkg/Universal/StatusCodeHandler/Smm/{StatusCodeHandlerSmm.h =3D> Statu= sCodeHandlerMm.h}         &nbs= p;            &= nbsp;           |  2= 3 +-
 MdeModulePkg/Universal/StatusCodeHandler/Smm/StatusCodeHandle= rSmm.inf           &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;          |  15 +-
&= nbsp;MdeModulePkg/Universal/StatusCodeHandler/Smm/{StatusCodeHandlerSmm.inf= =3D> StatusCodeHandlerStandaloneMm.inf}     &n= bsp;            = ;  |  32 +-
 MdePkg/Library/UefiDevicePathLib/UefiDeviceP= athLib.inf           = ;            &n= bsp;            = ;            &n= bsp;            = ;             |=    1 +
 MdePkg/Library/UefiDevicePathLib/UefiDevicePathLi= bOptionalDevicePathProtocol.inf       &n= bsp;            = ;            &n= bsp;            = ;   |   1 +
 MdePkg/Library/UefiDevicePathLib/{= UefiDevicePathLib.inf =3D> UefiDevicePathLibStandaloneMm.inf}  = ;            &n= bsp;            = ;        |  11 +-
 MdePkg/M= dePkg.dsc           =             &nb= sp;            =             &nb= sp;            =             &nb= sp;            =             &nb= sp;            |&nbs= p;  1 +
 PcAtChipsetPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.i= nf            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;          |   2= +
 PcAtChipsetPkg/Library/AcpiTimerLib/DxeStandaloneMmAcpiTimerLib= .h            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;             = |  24 ++
 PcAtChipsetPkg/Library/AcpiTimerLib/{DxeAcpiTimerLib= .inf =3D> StandaloneMmAcpiTimerLib.inf}     &nb= sp;            =             &nb= sp;        |  19 +-
 PcAtCh= ipsetPkg/PcAtChipsetPkg.dsc        =             &nb= sp;            =             &nb= sp;            =             &nb= sp;            =             | &= nbsp; 1 +
 SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/MmTcg2Phy= sicalPresenceLibCommon.h        &nb= sp;            =             &nb= sp;            =   |  34 ++
 SecurityPkg/Library/SmmTcg2PhysicalPresenceLi= b/SmmTcg2PhysicalPresenceLib.inf       &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;      |   6 +-
 SecurityPkg/Li= brary/SmmTcg2PhysicalPresenceLib/{SmmTcg2PhysicalPresenceLib.inf =3D> St= andaloneMmTcg2PhysicalPresenceLib.inf}      | = ; 22 +-
 SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibNul= l.inf           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;   |   2 +-
 SecurityPkg/Library/Tpm2DeviceLi= bDTpm/Tpm2DeviceLibDTpm.h        &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            |&nb= sp; 67 ++++
 SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTp= m.inf           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;       |   3 +
 SecurityP= kg/Library/Tpm2DeviceLibDTpm/{Tpm2DeviceLibDTpm.inf =3D> Tpm2DeviceLibDT= pmStandaloneMm.inf}         &n= bsp;            = ;        |  13 +-
 Security= Pkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf   &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;             = |   3 +
 SecurityPkg/SecurityPkg.dsc   &nb= sp;            =             &nb= sp;            =             &nb= sp;            =             &nb= sp;            =           |   3 + StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneMmCoreE= ntryPoint.inf          &n= bsp;            = ;            &n= bsp;           | &nb= sp; 3 +
 StandaloneMmPkg/Library/StandaloneMmCoreHobLib/StandaloneM= mCoreHobLib.inf          =             &nb= sp;            =             &nb= sp;       |  11 +-
 StandaloneMm= Pkg/Library/StandaloneMmMemLib/StandaloneMmMemLib.inf   &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;         |  13 +-
 U= efiCpuPkg/CpuIo2Smm/{CpuIo2Smm.h =3D> CpuIo2Mm.h}    = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ; |  14 +-
 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf  &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;   |   5 +-
 UefiCpuPkg/CpuIo2Smm/{CpuIo2S= mm.inf =3D> CpuIo2StandaloneMm.inf}      &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;         |  24 +-
&nbs= p;UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf&n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;      |   2 +-
 UefiCpuPkg/U= efiCpuPkg.dsc          &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;     |   6 +
 90 files changed, 2503= insertions(+), 1661 deletions(-)
 rename MdeModulePkg/Library/SmmL= ockBoxLib/{SmmLockBoxSmmLib.c =3D> SmmLockBoxMmLib.c} (89%)
 cre= ate mode 100644 MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxStandaloneMmLi= b.c
 create mode 100644 MdeModulePkg/Library/SmmLockBoxLib/SmmLockB= oxTraditionalMmLib.c
 create mode 100644 MdeModulePkg/Library/SmmRe= portStatusCodeLib/ReportStatusCodeLibStandaloneMm.c
 create mode 10= 0644 MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLibTraditi= onal.c
 copy MdeModulePkg/Library/SmmSmiHandlerProfileLib/{SmmSmiHa= ndlerProfileLib.c =3D> MmSmiHandlerProfileLib.c} (86%)
 create m= ode 100644 MdeModulePkg/Library/SmmSmiHandlerProfileLib/StandaloneMmSmiHand= lerProfileLib.c
 rename MdeModulePkg/Universal/Acpi/FirmwarePerform= anceDataTableSmm/{FirmwarePerformanceSmm.c =3D> FirmwarePerformanceCommo= n.c} (75%)
 create mode 100644 MdeModulePkg/Universal/Acpi/Firmware= PerformanceDataTableSmm/FirmwarePerformanceStandaloneMm.c
 create m= ode 100644 MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/Firm= warePerformanceTraditional.c
 rename MdeModulePkg/Universal/ReportS= tatusCodeRouter/Smm/{ReportStatusCodeRouterSmm.c =3D> ReportStatusCodeRo= uterCommon.c} (74%)
 create mode 100644 MdeModulePkg/Universal/Repo= rtStatusCodeRouter/Smm/ReportStatusCodeRouterStandaloneMm.c
 create= mode 100644 MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatus= CodeRouterTraditional.c
 rename MdeModulePkg/Universal/StatusCodeHa= ndler/Smm/{StatusCodeHandlerSmm.c =3D> StatusCodeHandlerMm.c} (69%)
&= nbsp;create mode 100644 MdeModulePkg/Universal/StatusCodeHandler/Smm/Status= CodeHandlerStandalone.c
 create mode 100644 MdeModulePkg/Universal/= StatusCodeHandler/Smm/StatusCodeHandlerTraditional.c
 create mode 1= 00644 MdePkg/Library/UefiDevicePathLib/DevicePathUtilitiesDxeSmm.c
 = ;create mode 100644 MdePkg/Library/UefiDevicePathLib/DevicePathUtilitiesSta= ndaloneMm.c
 copy PcAtChipsetPkg/Library/AcpiTimerLib/{DxeAcpiTimer= Lib.c =3D> DxeStandaloneMmAcpiTimerLib.c} (86%)
 create mode 100= 644 PcAtChipsetPkg/Library/AcpiTimerLib/StandaloneMmAcpiTimerLib.c
 = ;copy SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/{SmmTcg2PhysicalPresen= ceLib.c =3D> MmTcg2PhysicalPresenceLibCommon.c} (90%)
 create mo= de 100644 SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/StandaloneMmTcg2Ph= ysicalPresenceLib.c
 create mode 100644 SecurityPkg/Library/Tpm2Dev= iceLibDTpm/Tpm2DeviceLibDTpmBase.c
 create mode 100644 SecurityPkg/= Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpmStandaloneMm.c
 create m= ode 100644 StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/X64/Standalon= eMmCoreEntryPoint.c
 rename StandaloneMmPkg/Library/StandaloneMmCor= eHobLib/{ =3D> AArch64}/StandaloneMmCoreHobLib.c (55%)
 create m= ode 100644 StandaloneMmPkg/Library/StandaloneMmCoreHobLib/Common.c
 = ;create mode 100644 StandaloneMmPkg/Library/StandaloneMmCoreHobLib/X64/Stan= daloneMmCoreHobLib.c
 create mode 100644 StandaloneMmPkg/Library/St= andaloneMmMemLib/X86StandaloneMmMemLibInternal.c
 copy UefiCpuPkg/C= puIo2Smm/{CpuIo2Smm.c =3D> CpuIo2Mm.c} (93%)
 create mode 100644= UefiCpuPkg/CpuIo2Smm/CpuIo2StandaloneMm.c
 copy MdeModulePkg/Libra= ry/SmmLockBoxLib/{SmmLockBoxSmmLib.inf =3D> SmmLockBoxStandaloneMmLib.in= f} (52%)
 create mode 100644 MdeModulePkg/Library/SmmReportStatusCo= deLib/ReportStatusCodeLib.h
 copy MdeModulePkg/Library/SmmReportSta= tusCodeLib/{SmmReportStatusCodeLib.inf =3D> StandaloneMmReportStatusCode= Lib.inf} (56%)
 create mode 100644 MdeModulePkg/Library/SmmSmiHandl= erProfileLib/MmSmiHandlerProfileLib.h
 create mode 100644 MdeModule= Pkg/Library/SmmSmiHandlerProfileLib/StandaloneMmSmiHandlerProfileLib.inf create mode 100644 MdeModulePkg/Universal/Acpi/FirmwarePerformanceDa= taTableSmm/FirmwarePerformanceCommon.h
 copy MdeModulePkg/Universal= /Acpi/FirmwarePerformanceDataTableSmm/{FirmwarePerformanceSmm.inf =3D> F= irmwarePerformanceStandaloneMm.inf} (65%)
 rename MdeModulePkg/Univ= ersal/ReportStatusCodeRouter/Smm/{ReportStatusCodeRouterSmm.h =3D> Repor= tStatusCodeRouterCommon.h} (72%)
 create mode 100644 MdeModulePkg/U= niversal/ReportStatusCodeRouter/Smm/ReportStatusCodeRouterStandaloneMm.inf<= br> rename MdeModulePkg/Universal/StatusCodeHandler/Smm/{StatusCodeHan= dlerSmm.h =3D> StatusCodeHandlerMm.h} (87%)
 copy MdeModulePkg/U= niversal/StatusCodeHandler/Smm/{StatusCodeHandlerSmm.inf =3D> StatusCode= HandlerStandaloneMm.inf} (62%)
 copy MdePkg/Library/UefiDevicePathL= ib/{UefiDevicePathLib.inf =3D> UefiDevicePathLibStandaloneMm.inf} (79%)<= br> create mode 100644 PcAtChipsetPkg/Library/AcpiTimerLib/DxeStandalo= neMmAcpiTimerLib.h
 copy PcAtChipsetPkg/Library/AcpiTimerLib/{DxeAc= piTimerLib.inf =3D> StandaloneMmAcpiTimerLib.inf} (70%)
 create = mode 100644 SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/MmTcg2PhysicalPr= esenceLibCommon.h
 copy SecurityPkg/Library/SmmTcg2PhysicalPresence= Lib/{SmmTcg2PhysicalPresenceLib.inf =3D> StandaloneMmTcg2PhysicalPresenc= eLib.inf} (64%)
 create mode 100644 SecurityPkg/Library/Tpm2DeviceL= ibDTpm/Tpm2DeviceLibDTpm.h
 copy SecurityPkg/Library/Tpm2DeviceLibD= Tpm/{Tpm2DeviceLibDTpm.inf =3D> Tpm2DeviceLibDTpmStandaloneMm.inf} (70%)=
 rename UefiCpuPkg/CpuIo2Smm/{CpuIo2Smm.h =3D> CpuIo2Mm.h} (93%= )
 copy UefiCpuPkg/CpuIo2Smm/{CpuIo2Smm.inf =3D> CpuIo2Standalon= eMm.inf} (56%)

--
2.30.0.windows.1



 

------=_NextPart_000_018F_01D6F87D.AA6E8AE0--