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.web09.46779.1612236109214696682 for ; Mon, 01 Feb 2021 19:21:51 -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 ; Tue, 02 Feb 2021 11:21:35 +0800 X-WM-Sender: gaoliming@byosoft.com.cn X-WM-AuthFlag: YES X-WM-AuthUser: gaoliming@byosoft.com.cn From: "gaoliming" To: , 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> ,<018e01d6f83a$9c4668e0$d4d33aa0$@byosoft.com.cn> In-Reply-To: Subject: =?UTF-8?B?5Zue5aSNOiBbZWRrMi1kZXZlbF0gW1BBVENIIHY0IDAwLzIwXSBFeHRlbmRzIFN1cHBvcnQgb2YgTU1fU1RBTkRBTE9ORSBUeXBlIE1vZHVsZXMgdG8gWDY0?= Date: Tue, 2 Feb 2021 11:21:40 +0800 Message-ID: <001101d6f912$85dc1950$91944bf0$@byosoft.com.cn> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQKdPuNo25tLbTBif/wn346QcogYsQGeyWbhAjwyfeADRNFICah+qEIg Content-Type: multipart/alternative; boundary="----=_NextPart_000_0012_01D6F955.9404B080" Content-Language: zh-cn ------=_NextPart_000_0012_01D6F955.9404B080 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Kun: Your patch is merged ea56ebf67dd55483105aa9f9996a48213e78337e..3b468095cd3dfcd1aa4ae63bc623f534= bc 2390d2. =20 Thanks Liming =B7=A2=BC=FE=C8=CB: bounce+27952+71028+4905953+8761045@groups.io =B4=FA=B1=ED Kun Qin =B7=A2=CB=CD=CA=B1=BC=E4: 2021=C4=EA2=D4=C22=C8=D5 2:47 =CA=D5=BC=FE=C8=CB: devel@edk2.groups.io; gaoliming@byosoft.com.cn =B3=AD=CB=CD: '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' =D6=F7=CC=E2: Re: [edk2-devel] [PATCH v4 00/20] Extends Support of MM_STAN= DALONE Type Modules to X64 =20 Hi Liming, =20 Thanks for the help! Here is the branch I added reviewed-by tags and rebas= ed on top of latest master (no other changes): kuqin12/edk2 at standalone_x64_v5 (github.com) =20 =20 I also queued a PR for CI build testing: (1) Standalone x64 v5 by kuqin12 =A1=A4 Pull Request #1398 =A1=A4 tianocor= e/edk2 (github.com) =20 =20 Please let me know if you need anything else from me to merge in these patches. =20 Regards, Kun =20 From: gaoliming =20 Sent: Sunday, January 31, 2021 17:36 To: 'Kun Qin' ; devel@edk2.groups.io =20 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' =20 Subject: =BB=D8=B8=B4: [edk2-devel] [PATCH v4 00/20] Extends Support of MM_STANDALONE Type Modules to X64 =20 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 =20 =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 >; Ra= y Ni >; Jiewen Yao >; 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 =20 ------=_NextPart_000_0012_01D6F955.9404B080 Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: quoted-printable
Kun:

 Your patch= is merged ea56ebf67dd55483105aa9f9996a48213e78337e..3b468095cd3dfcd1aa4ae63b= c623f534bc2390d2.

 

Thanks

Liming

=B7=A2=BC=FE=C8=CB: bounc= e+27952+71028+4905953+8761045@groups.io <bounce+27952+71028+4905953+8761= 045@groups.io> =B4=FA= = =B1=ED Ku= n Qin
=B7=A2=CB=CD=CA= = =B1=BC=E4: 2021=C4=EA2=D4=C22=C8= = =D5 2:47
=CA=D5=BC=FE=C8=CB: devel@edk2.groups.io; gaoliming@byosoft= .com.cn
=B3=AD=CB=CD: 'Bob Feng' <bob.c.feng@intel.com>; 'Yuwei Chen' <yuwei.= chen@intel.com>; 'Jian J Wang' <jian.j.wang@intel.com>; 'Hao A Wu'= <hao.a.wu@intel.com>; 'Eric Dong' <eric.dong@intel.com>; 'Dand= an Bi' <dandan.bi@intel.com>; 'Michael D Kinney' <michael.d.kinney= @intel.com>; 'Zhiguang Liu' <zhiguang.liu@intel.com>; 'Ray Ni' <= ;ray.ni@intel.com>; 'Jiewen Yao' <jiewen.yao@intel.com>; 'Qi Zhang= ' <qi1.zhang@intel.com>; 'Rahul Kumar' <rahul1.kumar@intel.com>= ; 'Ard Biesheuvel' <ard.biesheuvel@arm.com>; 'Sami Mujawar' <sami.= mujawar@arm.com>; 'Supreeth Venkatesh' <supreeth.venkatesh@arm.com>= ;; 'Laszlo Ersek' <lersek@redhat.com>
=D6=F7=CC=E2: Re: [edk2-devel] [PATCH v4 00/= 20] Extends Support of MM_STANDALONE Type Modules to X64<= /span>

 

Hi Liming,

 

Thanks for the help! Here is t= he branch I added reviewed-by tags and rebased on top of latest master (no = other changes):

kuqin1= 2/edk2 at standalone_x64_v5 (github.com)

 

I also queued a PR for CI build testing:

(1) Standalone x64 v5 by kuqin12 =A1=A4 P= ull Request #1398 =A1=A4 tianocore/edk2 (github.com)<= /p>

 

Please let me know if you need anything= else from me to merge in these patches.

 

Regards,

Kun

 

From: gaoliming
Sent: Sunday, January 31, 2021 17:36=
To: 'Kun Qin'; devel@edk2.groups.io
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 Biesheuve= l'; 'Sami Mujawar'; 'Supreeth Venkatesh'; 'Laszlo Ersek'
Subject: =BB=D8=B8=B4: [edk2-devel] [PATCH v4 00/20] Extends Support of MM_STANDALONE Type = Modules to X64

 

Kun:

 I will merge this pa= tch serial. Can you update the latest version patches with reviewed-by tag = into your fork https://github.com/kuqin12? I will refer to it and create pull req= uest.

 

Thanks

Liming

=B7=A2=BC=FE=C8=CB: Kun Qin = <kun.q@outlook.com>
=B7=A2=CB=CD=CA=B1=BC=E4:
2021=C4=EA<= span lang=3DEN-US>1=D4=C229=C8=D5 15:56
=CA=D5=BC=FE=C8=CB:= devel@edk2.= groups.io
=B3=AD=CB=CD: Bob Feng <bob.c.f= eng@intel.com>; Yuwei Chen <yuwei.chen@intel.com>; Jian J Wang <jian.j.wang@intel.com>; Hao A Wu <hao.a.wu@intel.com>; Eric Dong <eric.dong@intel.com>; Dandan Bi <dandan.bi@intel.com>; Liming Gao = <gaoliming@byosoft.com.cn>; Michael D Kinney <m= ichael.d.kinney@intel.com>; Zhiguang Liu <zhiguang.liu@intel.com>; Ray Ni <ray.ni@intel.com>; Jiewen Yao <jiewen.yao@intel.com>; Qi Zhang <qi1.zhang@intel.com>; Rahul Kuma= r <rahul1.kumar@intel.com&= gt;; Ard Biesheuvel <ard.biesh= euvel@arm.com>; Sami Mujawar <sami.mujawar@arm.com>; Supreeth Venkatesh <supreeth.venkatesh@arm.com>; Laszlo Ers= ek <lersek@redhat.com>
=D6=F7=CC=E2: RE: = [edk2-devel] [PATCH v4 00/20] Extends Support of MM_STANDALONE Type Modules= to X64

<= p class=3DMsoNormal> 

Hi,

 

Thanks to all the reviewers helping through this patch seri= es. 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?

&nbs= p;

Just for re= ference, the final 3 reviewed-by tags are here:

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

#18: Re: [PATCH v4 18/20] UefiCpuPkg: CpuIo2Smm: Abstra= ct SMM specific functions into separate file (groups.io)

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

 

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

 

Regards,

Kun

 

From: <= a href=3D"mailto:kun.q@outlook.com">Kun Qin
Sent: Tuesday, Ja= nuary 26, 2021 11:45
To: = devel@edk2.groups.io
Cc: Bob Feng; Yuwei Chen; <= a href=3D"mailto:jian.j.wang@intel.com">Jian J Wang; Hao A Wu; Er= ic Dong; Dandan Bi; Liming Gao; Michael D Kinney; Zhiguang Liu; Ray Ni<= /a>; Jiewen Yao; Qi Zhang; Rahul Kumar; Ard Bieshe= uvel; Sami Mujawar; Supreeth Venkatesh; Laszlo Ersek
Subject: [edk2-devel] = [PATCH v4 00/20] Extends Support of MM_STANDALONE Type Modules to X64<= /o:p>

 

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/me= ssage/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 "Review= ed-by" tags for applicable patches;
b. Breaking CpuIo2Smm patch for= file renaming and abstraction purpose;
c. Adding SmmSmiHandlerProfileLi= b 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><= br>Cc: Eric Dong <eric.dong@intel= .com>
Cc: Dandan Bi <da= ndan.bi@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Michael D Kinney &= lt;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 Venkates= h <supreeth.venkatesh@arm.= com>
Cc: Laszlo Ersek <le= rsek@redhat.com>

Kun Qin (20):
  BaseTools: Ecc/excep= tion: Added _ModuleEntryPoint into exception list
  StandaloneMmPkg= : StandaloneMmCoreEntryPoint: Extends support for X64
  StandaloneM= mPkg: StandaloneMmCoreHobLib: Extend support for x64 Mm
  &nbs= p; Core
  StandaloneMmPkg: StandaloneMmCoreMemoryAllocationLib: Fix= compiler
    warning
  StandaloneMmPkg: Standalo= neMmMemLib: Extends support for X64
    architecture
&= nbsp; MdeModulePkg: SmmLockBoxSmmLib: Support StandaloneMm for SmmLockBoxLi= b
  MdeModulePkg: SmmReportStatusCodeLib: ReportStatusCodeLib in    StandaloneMm
  MdeModulePkg: StatusCodeHandler:= StatusCodeHandler driver in
    StandaloneMm
  M= deModulePkg: FirmwarePerformanceDataTable: Added StandaloneMm support
&n= bsp; MdeModulePkg: ReportStatusCodeRouter: Support StandaloneMm RSC Router<= br>  MdeModulePkg: SmmSmiHandlerProfileLib: Support StandaloneMm Insta= nce
  MdePkg: UefiDevicePathLib: Support UefiDevicePathLib under    StandaloneMm
  PcAtChipsetPkg: AcpiTimerLib: Ad= ded StandaloneMm instance of
    AcpiTimerLib
  S= ecurityPkg: Tcg2PhysicalPresenceLib: Introduce StandaloneMm instance
&nb= sp; SecurityPkg: Tcg2PpVendorLibNull: Added support for MM_STANDALONE type<= br>  SecurityPkg: Tpm2DeviceLibDTpm: Introduce StandaloneMm instance  UefiCpuPkg: CpuIo2Smm: Move CpuIo2Smm driver to consume gMmst
&= nbsp; UefiCpuPkg: CpuIo2Smm: Abstract SMM specific functions into separate<= br>    file
  UefiCpuPkg: CpuIo2Smm: Support of CpuI= o driver under StandaloneMm
  UefiCpuPkg: SmmCpuExceptionHandlerLib= : Added StandaloneMm module
    support

 MdeM= odulePkg/Library/SmmLockBoxLib/{SmmLockBoxSmmLib.c =3D> SmmLockBoxMmLib.= c}            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;  |  82 ++---
 MdeModulePkg/Library/SmmLockBoxLib/SmmLo= ckBoxStandaloneMmLib.c         = ;            &n= bsp;            = ;            &n= bsp;            = ;       |  53 +++
 MdeModulePkg/= Library/SmmLockBoxLib/SmmLockBoxTraditionalMmLib.c    &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;          |  53 +++<= br> MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLib.c&= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;            |&n= bsp; 16 +-
 MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatu= sCodeLibStandaloneMm.c         = ;            &n= bsp;            = ;            &n= bsp;    |  38 ++
 MdeModulePkg/Library/SmmRepor= tStatusCodeLib/ReportStatusCodeLibTraditional.c    &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;         |  38 ++
&nbs= p;MdeModulePkg/Library/SmmSmiHandlerProfileLib/{SmmSmiHandlerProfileLib.c = =3D> MmSmiHandlerProfileLib.c}       = ;            &n= bsp;        |  20 +-
 MdeMo= dulePkg/Library/SmmSmiHandlerProfileLib/SmmSmiHandlerProfileLib.c &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;      |  90 +----
 MdeModulePkg/Lib= rary/SmmSmiHandlerProfileLib/StandaloneMmSmiHandlerProfileLib.c  =             &nb= sp;            =             &nb= sp;         |  31 ++
 = MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/{FirmwarePerfor= manceSmm.c =3D> FirmwarePerformanceCommon.c}    &nbs= p;      |  76 ++--
 MdeModulePkg/Univ= ersal/Acpi/FirmwarePerformanceDataTableSmm/FirmwarePerformanceStandaloneMm.= c            &n= bsp;            = ;          |  61 ++++
=  MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/FirmwareP= erformanceTraditional.c        &nbs= p;            &= nbsp;           &nbs= p;  |  61 ++++
 MdeModulePkg/Universal/ReportStatusCodeRo= uter/Smm/{ReportStatusCodeRouterSmm.c =3D> ReportStatusCodeRouterCommon.= c}            &= nbsp;  |  59 ++-
 MdeModulePkg/Universal/ReportStatusCode= Router/Smm/ReportStatusCodeRouterStandaloneMm.c    &nbs= p;            &= nbsp;           &nbs= p;            | = ; 33 ++
 MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportSt= atusCodeRouterTraditional.c        =             &nb= sp;            =           |  33 ++
&nb= sp;MdeModulePkg/Universal/StatusCodeHandler/Smm/MemoryStatusCodeWorker.c&nb= sp;            =             &nb= sp;            =             &nb= sp;        |  36 +-
 MdeMod= ulePkg/Universal/StatusCodeHandler/Smm/SerialStatusCodeWorker.c  =             &nb= sp;            =             &nb= sp;            =        |   2 +-
 MdeModuleP= kg/Universal/StatusCodeHandler/Smm/{StatusCodeHandlerSmm.c =3D> StatusCo= deHandlerMm.c}          &= nbsp;           &nbs= p;           |  23 += -
 MdeModulePkg/Universal/StatusCodeHandler/Smm/StatusCodeHandlerSt= andalone.c           = ;            &n= bsp;            = ;            &n= bsp;     |  31 ++
 MdeModulePkg/Universal/= StatusCodeHandler/Smm/StatusCodeHandlerTraditional.c    = ;            &n= bsp;            = ;            &n= bsp;           |  31= ++
 MdePkg/Library/UefiDevicePathLib/DevicePathUtilities.c &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;          |  33 --
&n= bsp;MdePkg/Library/UefiDevicePathLib/DevicePathUtilitiesDxeSmm.c  = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;   |  51 +++
 MdePkg/Library/UefiDevicePathLib/D= evicePathUtilitiesStandaloneMm.c       &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;    |  40 ++
 PcAtChipsetPkg/Library/AcpiT= imerLib/DxeAcpiTimerLib.c        &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;    |  81 +---
 PcAtChipsetPkg/Library/AcpiTim= erLib/{DxeAcpiTimerLib.c =3D> DxeStandaloneMmAcpiTimerLib.c}  =             &nb= sp;            =              |&= nbsp;  9 +-
 PcAtChipsetPkg/Library/AcpiTimerLib/StandaloneMmA= cpiTimerLib.c          &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;     |  31 ++
 SecurityPkg/Library/Smm= Tcg2PhysicalPresenceLib/{SmmTcg2PhysicalPresenceLib.c =3D> MmTcg2Physica= lPresenceLibCommon.c}         =      |  33 +-
 SecurityPkg/Library/SmmTcg2= PhysicalPresenceLib/SmmTcg2PhysicalPresenceLib.c    &nb= sp;            =             &nb= sp;            =            | 368 +-------= -----------
 SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/Standal= oneMmTcg2PhysicalPresenceLib.c       &nb= sp;            =             &nb= sp;           |  42 = +++
 SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.c = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;       |  42 +--
 SecurityPk= g/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpmBase.c    =             &nb= sp;            =             &nb= sp;            =              |&= nbsp; 68 ++++
 SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibD= TpmStandaloneMm.c         &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           |  6= 6 ++++
 SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.c=             &nb= sp;            =             &nb= sp;            =             &nb= sp;      |  40 +-
 SecurityPkg/Librar= y/Tpm2DeviceLibDTpm/Tpm2Ptp.c       &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;          |  15 +- StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/X64/StandaloneMm= CoreEntryPoint.c          = ;            &n= bsp;            = ;          |  71 ++++
=  StandaloneMmPkg/Library/StandaloneMmCoreHobLib/{ =3D> AArch64}/Sta= ndaloneMmCoreHobLib.c         =             &nb= sp;            =          | 272 --------------
&n= bsp;StandaloneMmPkg/Library/StandaloneMmCoreHobLib/Common.c  &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;       | 291 +++++++++++++++
 St= andaloneMmPkg/Library/StandaloneMmCoreHobLib/X64/StandaloneMmCoreHobLib.c&n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;  | 298 +++++++++++++++
 StandaloneMmPkg/Library/Standalon= eMmCoreMemoryAllocationLib/StandaloneMmCoreMemoryAllocationLib.c  = ;            &n= bsp;            = ;    |   6 +-
 StandaloneMmPkg/Library/Sta= ndaloneMmMemLib/AArch64/StandaloneMmMemLibInternal.c    = ;            &n= bsp;            = ;            &n= bsp;       |  27 ++
 StandaloneM= mPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib.c    = ;            &n= bsp;            = ;            &n= bsp;            = ;           |  52 ++= +
 StandaloneMmPkg/Library/StandaloneMmMemLib/X86StandaloneMmMemLib= Internal.c           = ;            &n= bsp;            = ;            &n= bsp;     | 155 ++++++++
 UefiCpuPkg/CpuIo2Smm/{= CpuIo2Smm.c =3D> CpuIo2Mm.c}       &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;          |  17 +-
&n= bsp;UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.c      &nb= sp;            =             &nb= sp;            =             &nb= sp;            =             &nb= sp;            =   | 385 +-------------------
 UefiCpuPkg/CpuIo2Smm/CpuIo2Stand= aloneMm.c           =             &nb= sp;            =             &nb= sp;            =             &nb= sp;            = |  32 ++
 BaseTools/Source/Python/Ecc/exception.xml &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;          |   4 +<= br> MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxLibPrivate.h &nb= sp;            =             &nb= sp;            =             &nb= sp;            =        |  25 ++
 MdeModulePkg/Li= brary/SmmLockBoxLib/SmmLockBoxSmmLib.inf      = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;    |  15 +-
 MdeModulePkg/Library/SmmLockB= oxLib/{SmmLockBoxSmmLib.inf =3D> SmmLockBoxStandaloneMmLib.inf} &nb= sp;            =             &nb= sp;           |  26 = +-
 MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLib= .h            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;             = |  36 ++
 MdeModulePkg/Library/SmmReportStatusCodeLib/SmmRepor= tStatusCodeLib.inf         &nb= sp;            =             &nb= sp;            =            |   = 4 +-
 MdeModulePkg/Library/SmmReportStatusCodeLib/{SmmReportStatusC= odeLib.inf =3D> StandaloneMmReportStatusCodeLib.inf}   &n= bsp;            = ; |  22 +-
 MdeModulePkg/Library/SmmSmiHandlerProfileLib/MmSmi= HandlerProfileLib.h         &n= bsp;            = ;            &n= bsp;            = ;            | = 23 ++
 MdeModulePkg/Library/SmmSmiHandlerProfileLib/SmmSmiHandlerP= rofileLib.inf          &n= bsp;            = ;            &n= bsp;            = ;        |   4 +-
 Mde= ModulePkg/Library/SmmSmiHandlerProfileLib/StandaloneMmSmiHandlerProfileLib.= inf            =             &nb= sp;            =           |  44 +++
&n= bsp;MdeModulePkg/MdeModulePkg.dsc       =             &nb= sp;            =             &nb= sp;            =             &nb= sp;            =             &nb= sp;    |   8 +
 MdeModulePkg/Universal/Acp= i/FirmwarePerformanceDataTableSmm/FirmwarePerformanceCommon.h  &n= bsp;            = ;            &n= bsp;            = ; |  50 +++
 MdeModulePkg/Universal/Acpi/FirmwarePerformanceDa= taTableSmm/FirmwarePerformanceSmm.inf      &n= bsp;            = ;            &n= bsp;          |  11 +- MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/{Firmwar= ePerformanceSmm.inf =3D> FirmwarePerformanceStandaloneMm.inf} |  31= +-
 MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/{ReportStatu= sCodeRouterSmm.h =3D> ReportStatusCodeRouterCommon.h}   &= nbsp;           |  4= 6 ++-
 MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStat= usCodeRouterSmm.inf         &n= bsp;            = ;            &n= bsp;            = ;  |  13 +-
 MdeModulePkg/Universal/ReportStatusCodeRoute= r/Smm/ReportStatusCodeRouterStandaloneMm.inf     &= nbsp;           &nbs= p;            &= nbsp;         |  49 +++
&nb= sp;MdeModulePkg/Universal/StatusCodeHandler/Smm/{StatusCodeHandlerSmm.h =3D= > StatusCodeHandlerMm.h}        =             &nb= sp;            = |  23 +-
 MdeModulePkg/Universal/StatusCodeHandler/Smm/Status= CodeHandlerSmm.inf         &nb= sp;            =             &nb= sp;            =             |  = 15 +-
 MdeModulePkg/Universal/StatusCodeHandler/Smm/{StatusCodeHand= lerSmm.inf =3D> StatusCodeHandlerStandaloneMm.inf}   &nbs= p;            &= nbsp;   |  32 +-
 MdePkg/Library/UefiDevicePathLib/U= efiDevicePathLib.inf         &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;  |   1 +
 MdePkg/Library/UefiDevicePathLib/UefiDe= vicePathLibOptionalDevicePathProtocol.inf     &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;    |   1 +
 MdePkg/Library/UefiDevic= ePathLib/{UefiDevicePathLib.inf =3D> UefiDevicePathLibStandaloneMm.inf}&= nbsp;           &nbs= p;            &= nbsp;         |  11 +-
&nbs= p;MdePkg/MdePkg.dsc         &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp; |   1 +
 PcAtChipsetPkg/Library/AcpiTimerLib/DxeAcpi= TimerLib.inf          &nb= sp;            =             &nb= sp;            =             &nb= sp;            |&nbs= p;  2 +
 PcAtChipsetPkg/Library/AcpiTimerLib/DxeStandaloneMmAc= piTimerLib.h          &nb= sp;            =             &nb= sp;            =             &nb= sp;  |  24 ++
 PcAtChipsetPkg/Library/AcpiTimerLib/{DxeAc= piTimerLib.inf =3D> StandaloneMmAcpiTimerLib.inf}    = ;            &n= bsp;            = ;          |  19 +-
&n= bsp;PcAtChipsetPkg/PcAtChipsetPkg.dsc      &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ; |   1 +
 SecurityPkg/Library/SmmTcg2PhysicalPresenceLib= /MmTcg2PhysicalPresenceLibCommon.h       = ;            &n= bsp;            = ;            &n= bsp;   |  34 ++
 SecurityPkg/Library/SmmTcg2Physical= PresenceLib/SmmTcg2PhysicalPresenceLib.inf     &nb= sp;            =             &nb= sp;            =         |   6 +-
 Secu= rityPkg/Library/SmmTcg2PhysicalPresenceLib/{SmmTcg2PhysicalPresenceLib.inf = = =3D> StandaloneMmTcg2PhysicalPresenceLib.inf}    &n= bsp; |  22 +-
 SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpV= endorLibNull.inf          = ;            &n= bsp;            = ;            &n= bsp;            = ;     |   2 +-
 SecurityPkg/Library/T= pm2DeviceLibDTpm/Tpm2DeviceLibDTpm.h      &nb= sp;            =             &nb= sp;            =             &nb= sp;            =   |  67 ++++
 SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2D= eviceLibDTpm.inf          = ;            &n= bsp;            = ;            &n= bsp;            = ;         |   3 +
&nbs= p;SecurityPkg/Library/Tpm2DeviceLibDTpm/{Tpm2DeviceLibDTpm.inf =3D> Tpm2= DeviceLibDTpmStandaloneMm.inf}       &nb= sp;            =           |  13 +-
&nb= sp;SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf  = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;  |   3 +
 SecurityPkg/SecurityPkg.dsc &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           | &n= bsp; 3 +
 StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/Standa= loneMmCoreEntryPoint.inf        &nb= sp;            =             &nb= sp;            = |   3 +
 StandaloneMmPkg/Library/StandaloneMmCoreHobLib/= StandaloneMmCoreHobLib.inf        &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;         |  11 +-
 S= tandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib.inf  = ;            &n= bsp;            = ;            &n= bsp;            = ;           |  13 +-=
 UefiCpuPkg/CpuIo2Smm/{CpuIo2Smm.h =3D> CpuIo2Mm.h}  =             &nb= sp;            =             &nb= sp;            =             &nb= sp;            =    |  14 +-
 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;     |   5 +-
 UefiCpuPkg/CpuIo2S= mm/{CpuIo2Smm.inf =3D> CpuIo2StandaloneMm.inf}    &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;           |  24= +-
 UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandl= erLib.inf           =             &nb= sp;            =             &nb= sp;        |   2 +-
 U= efiCpuPkg/UefiCpuPkg.dsc        &nb= sp;            =             &nb= sp;            =             &nb= sp;            =             &nb= sp;            =        |   6 +
 90 files ch= anged, 2503 insertions(+), 1661 deletions(-)
 rename MdeModulePkg/L= ibrary/SmmLockBoxLib/{SmmLockBoxSmmLib.c =3D> SmmLockBoxMmLib.c} (89%) create mode 100644 MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSta= ndaloneMmLib.c
 create mode 100644 MdeModulePkg/Library/SmmLockBoxL= ib/SmmLockBoxTraditionalMmLib.c
 create mode 100644 MdeModulePkg/Li= brary/SmmReportStatusCodeLib/ReportStatusCodeLibStandaloneMm.c
 cre= ate mode 100644 MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCod= eLibTraditional.c
 copy MdeModulePkg/Library/SmmSmiHandlerProfileLi= b/{SmmSmiHandlerProfileLib.c =3D> MmSmiHandlerProfileLib.c} (86%)
&nb= sp;create mode 100644 MdeModulePkg/Library/SmmSmiHandlerProfileLib/Standalo= neMmSmiHandlerProfileLib.c
 rename MdeModulePkg/Universal/Acpi/Firm= warePerformanceDataTableSmm/{FirmwarePerformanceSmm.c =3D> FirmwarePerfo= rmanceCommon.c} (75%)
 create mode 100644 MdeModulePkg/Universal/Ac= pi/FirmwarePerformanceDataTableSmm/FirmwarePerformanceStandaloneMm.c
&nb= sp;create mode 100644 MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTa= bleSmm/FirmwarePerformanceTraditional.c
 rename MdeModulePkg/Univer= sal/ReportStatusCodeRouter/Smm/{ReportStatusCodeRouterSmm.c =3D> ReportS= tatusCodeRouterCommon.c} (74%)
 create mode 100644 MdeModulePkg/Uni= versal/ReportStatusCodeRouter/Smm/ReportStatusCodeRouterStandaloneMm.c
&= nbsp;create mode 100644 MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/R= eportStatusCodeRouterTraditional.c
 rename MdeModulePkg/Universal/S= tatusCodeHandler/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
 cr= eate mode 100644 MdePkg/Library/UefiDevicePathLib/DevicePathUtilitiesDxeSmm= .c
 create mode 100644 MdePkg/Library/UefiDevicePathLib/DevicePathU= tilitiesStandaloneMm.c
 copy PcAtChipsetPkg/Library/AcpiTimerLib/{D= xeAcpiTimerLib.c =3D> DxeStandaloneMmAcpiTimerLib.c} (86%)
 crea= te mode 100644 PcAtChipsetPkg/Library/AcpiTimerLib/StandaloneMmAcpiTimerLib= .c
 copy SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/{SmmTcg2Phy= sicalPresenceLib.c =3D> MmTcg2PhysicalPresenceLibCommon.c} (90%)
&nbs= p;create mode 100644 SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/Standal= oneMmTcg2PhysicalPresenceLib.c
 create mode 100644 SecurityPkg/Libr= ary/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpmBase.c
 create mode 100644 S= ecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpmStandaloneMm.c
&nb= sp;create mode 100644 StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/X6= 4/StandaloneMmCoreEntryPoint.c
 rename StandaloneMmPkg/Library/Stan= daloneMmCoreHobLib/{ =3D> AArch64}/StandaloneMmCoreHobLib.c (55%)
&nb= sp;create mode 100644 StandaloneMmPkg/Library/StandaloneMmCoreHobLib/Common= .c
 create mode 100644 StandaloneMmPkg/Library/StandaloneMmCoreHobL= ib/X64/StandaloneMmCoreHobLib.c
 create mode 100644 StandaloneMmPkg= /Library/StandaloneMmMemLib/X86StandaloneMmMemLibInternal.c
 copy U= efiCpuPkg/CpuIo2Smm/{CpuIo2Smm.c =3D> CpuIo2Mm.c} (93%)
 create = mode 100644 UefiCpuPkg/CpuIo2Smm/CpuIo2StandaloneMm.c
 copy MdeModu= lePkg/Library/SmmLockBoxLib/{SmmLockBoxSmmLib.inf =3D> SmmLockBoxStandal= oneMmLib.inf} (52%)
 create mode 100644 MdeModulePkg/Library/SmmRep= ortStatusCodeLib/ReportStatusCodeLib.h
 copy MdeModulePkg/Library/S= mmReportStatusCodeLib/{SmmReportStatusCodeLib.inf =3D> StandaloneMmRepor= tStatusCodeLib.inf} (56%)
 create mode 100644 MdeModulePkg/Library/= SmmSmiHandlerProfileLib/MmSmiHandlerProfileLib.h
 create mode 10064= 4 MdeModulePkg/Library/SmmSmiHandlerProfileLib/StandaloneMmSmiHandlerProfil= eLib.inf
 create mode 100644 MdeModulePkg/Universal/Acpi/FirmwarePe= rformanceDataTableSmm/FirmwarePerformanceCommon.h
 copy MdeModulePk= g/Universal/Acpi/FirmwarePerformanceDataTableSmm/{FirmwarePerformanceSmm.in= f =3D> FirmwarePerformanceStandaloneMm.inf} (65%)
 rename MdeMod= ulePkg/Universal/ReportStatusCodeRouter/Smm/{ReportStatusCodeRouterSmm.h = =3D> ReportStatusCodeRouterCommon.h} (72%)
 create mode 100644 = MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCodeRouterSta= ndaloneMm.inf
 rename MdeModulePkg/Universal/StatusCodeHandler/Smm/= {StatusCodeHandlerSmm.h =3D> StatusCodeHandlerMm.h} (87%)
 copy = MdeModulePkg/Universal/StatusCodeHandler/Smm/{StatusCodeHandlerSmm.inf =3D&= gt; StatusCodeHandlerStandaloneMm.inf} (62%)
 copy MdePkg/Library/U= efiDevicePathLib/{UefiDevicePathLib.inf =3D> UefiDevicePathLibStandalone= Mm.inf} (79%)
 create mode 100644 PcAtChipsetPkg/Library/AcpiTimerL= ib/DxeStandaloneMmAcpiTimerLib.h
 copy PcAtChipsetPkg/Library/AcpiT= imerLib/{DxeAcpiTimerLib.inf =3D> StandaloneMmAcpiTimerLib.inf} (70%) create mode 100644 SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/Mm= Tcg2PhysicalPresenceLibCommon.h
 copy SecurityPkg/Library/SmmTcg2Ph= ysicalPresenceLib/{SmmTcg2PhysicalPresenceLib.inf =3D> StandaloneMmTcg2P= hysicalPresenceLib.inf} (64%)
 create mode 100644 SecurityPkg/Libra= ry/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.h
 copy SecurityPkg/Library/= Tpm2DeviceLibDTpm/{Tpm2DeviceLibDTpm.inf =3D> Tpm2DeviceLibDTpmStandalon= eMm.inf} (70%)
 rename UefiCpuPkg/CpuIo2Smm/{CpuIo2Smm.h =3D> Cp= uIo2Mm.h} (93%)
 copy UefiCpuPkg/CpuIo2Smm/{CpuIo2Smm.inf =3D> C= puIo2StandaloneMm.inf} (56%)

--
2.30.0.windows.1



=

 

&nbs= p;

<= /div> ------=_NextPart_000_0012_01D6F955.9404B080--