]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Core/PiSmmCore/SmramProfileRecord.c
MdeModulePkg PiSmmCore: Remove unreferenced symbol for SMRAM profile
authorStar Zeng <star.zeng@intel.com>
Tue, 14 Mar 2017 08:51:31 +0000 (16:51 +0800)
committerStar Zeng <star.zeng@intel.com>
Wed, 15 Mar 2017 08:47:10 +0000 (16:47 +0800)
commit6e6ceae6e6ffd6223134b694976db6413f4dfb61
treeed760e2069f05d66a9cd0280c49f26f8d8a77b8e
parentdf077b3e07098f252a061d3e0a926f6696d24936
MdeModulePkg PiSmmCore: Remove unreferenced symbol for SMRAM profile

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=370

Use GLOBAL_REMOVE_IF_UNREFERENCED for some SMRAM profile global variables,
then their symbols could be removed when SMRAM profile is disabled.

Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Feng Tian <feng.tian@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
MdeModulePkg/Core/PiSmmCore/SmramProfileRecord.c