Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: 1b26c4b73b27386f187fabe37810d3e2c055dc43
https://github.com/tianocore/edk2/commit/1b26c4b73b27386f187fabe37810d3e2c055dc43
Author: Michael Kubacki <[email protected]>
Date: 2025-06-13 (Fri, 13 Jun 2025)
Changed paths:
M MdeModulePkg/Library/SmmCorePerformanceLib/MmCorePerformanceLib.c
M MdeModulePkg/Library/SmmCorePerformanceLib/SmmCorePerformanceLib.c
M MdeModulePkg/Library/SmmCorePerformanceLib/SmmCorePerformanceLib.inf
M MdeModulePkg/Library/SmmCorePerformanceLib/SmmCorePerformanceLibInternal.h
M
MdeModulePkg/Library/SmmCorePerformanceLib/StandaloneMmCorePerformanceLib.c
Log Message:
-----------
MdeModulePkg: Refactor MM Services Tables linked in MM Core Perf Lib
The code used a `MmServicesTableLib` dependency for both the
Standalone MM and Traditional MM instances and shared code between
those. There is not a readily available `MmServicesTable` lib
instance for Traditional SMM (that can link to `PiSmmCore`). To ease
integration and prevent creating an instance just for this case, this
change uses `SmmServicesTableLib` in the Traditional SMM instance and
`MmServicesTableLib` in the Standalone MM instance and moves code as
necessary to accommodate this.
For general reference, there are two available instances of
`MmServicesTableLib`:
- MdePkg/MmServicesTableLib - only supports DXE_SMM drivers.
- MdePkg/StandaloneMmServicesTableLib - supports both MM drivers and
MM cores.
Signed-off-by: Michael Kubacki <[email protected]>
To unsubscribe from these emails, change your notification settings at
https://github.com/tianocore/edk2/settings/notifications
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits