edk2/MdeModulePkg
Michael Kubacki 1b26c4b73b 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 <michael.kubacki@microsoft.com>
2025-06-13 06:44:38 +00:00
..
Application CapsuleApp: Fix proper return after capsule update 2025-03-13 02:36:57 +00:00
Bus MdeModulePkg: Fix EFI_SUCCESS typos 2025-06-12 17:50:45 +00:00
Core MdeModulePkg: Fix EFI_SUCCESS typos 2025-06-12 17:50:45 +00:00
Include MdeModulePkg: Fix EFI_SUCCESS typos 2025-06-12 17:50:45 +00:00
Library MdeModulePkg: Refactor MM Services Tables linked in MM Core Perf Lib 2025-06-13 06:44:38 +00:00
Logo MdeModulePkg/Logo: Add LoongArch64 architecture. 2022-10-14 02:16:33 +00:00
Test MdeModulePkg: Removed Pei, Dxe, Smm and mm header files 2025-05-28 08:01:10 +00:00
Universal MdeModulePkg: Fix function typos 2025-06-12 17:50:45 +00:00
MdeModulePkg.ci.yaml MdeModulePkg: Add duplicate exception for gUiAppFileGuid 2025-03-06 14:18:10 +01:00
MdeModulePkg.dec MdeModulePkg: ArmFfaLib: Move Rx/Tx hob definition to Include/Guid folder 2025-04-10 17:52:48 +00:00
MdeModulePkg.dsc ArmPkg: ArmFfaLib: Move ArmFfaLib implementation to MdeModulePkg 2025-04-10 17:52:48 +00:00
MdeModulePkg.uni MdeModulePkg/AcpiTableDxe: PCD switch to avoid using ACPI reclaim memory 2024-04-09 07:03:08 +00:00
MdeModulePkgExtra.uni MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00