audk/StandaloneMmPkg
Star Zeng 7308568dd6 StandaloneMmPkg StandaloneMmCoreMemoryAllocationLib: Rename gMmst
StandaloneMmCoreMemoryAllocationLib.c and StandaloneMmServicesTableLib.c
are both defining gMmst, StandaloneMmCoreMemoryAllocationLib will be
linked to StandaloneMmCore directly, StandaloneMmServicesTableLib may be
linked to StandaloneMmCore indirectly, when they are both linked to
StandaloneMmCore, there will be "lld-link: error: duplicate symbol: gMmst"
build error with Clang compiler.

gMmst is declared in MmServicesTableLib.h and its definition should be
owned by MmServicesTableLib.

This patch renames gMmst in StandaloneMmCoreMemoryAllocationLib.c to
mMemoryAllocationMmst to avoid this build error.

Signed-off-by: Star Zeng <star.zeng@intel.com>
2025-02-11 18:04:35 +00:00
..
Core StandaloneMmPkg: Introduce a PCD to disable shadow boot FV 2025-01-20 09:13:26 +00:00
Drivers StandaloneMmPkg: move core entry point lib and cpu driver to ArmPkg 2025-01-17 14:55:42 +00:00
Include StandaloneMmPkg: Consume X64 StandaloneMmCoreEntryPoint From MdePkg 2025-02-07 02:23:11 +00:00
Library StandaloneMmPkg StandaloneMmCoreMemoryAllocationLib: Rename gMmst 2025-02-11 18:04:35 +00:00
StandaloneMmPkg.ci.yaml StandaloneMmPkg/StandaloneMmPkg.ci.yaml: Add PrEval CI config 2024-09-02 23:20:35 +00:00
StandaloneMmPkg.dec StandaloneMmPkg: Consume X64 StandaloneMmCoreEntryPoint From MdePkg 2025-02-07 02:23:11 +00:00
StandaloneMmPkg.dsc StandaloneMmPkg: Consume X64 StandaloneMmCoreEntryPoint From MdePkg 2025-02-07 02:23:11 +00:00