diff options
author | Star Zeng <star.zeng@intel.com> | 2025-01-25 23:52:08 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2025-02-11 18:04:35 +0000 |
commit | 7308568dd66d727f98b4999b9d0a5bc50a8223c6 (patch) | |
tree | 9096cd48074e033de7a31f53da340dc4d9b29400 /PcAtChipsetPkg | |
parent | 0d61f52fe31c86936c5b4268effddad7241c811e (diff) | |
download | edk2-7308568dd66d727f98b4999b9d0a5bc50a8223c6.tar.gz |
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>
Diffstat (limited to 'PcAtChipsetPkg')
0 files changed, 0 insertions, 0 deletions