]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Core/PiSmmCore/SmiHandlerProfile.c
MdeModulePkg SmiHandlerProfile: Fix no PDB case handling incorrectly
authorStar Zeng <star.zeng@intel.com>
Tue, 23 May 2017 04:28:51 +0000 (12:28 +0800)
committerStar Zeng <star.zeng@intel.com>
Wed, 24 May 2017 07:27:34 +0000 (15:27 +0800)
commit8ced192d5cf1e8ccd56fa5daed2c2ca28fb04cff
tree57d50b9a23718fa8fabc4b3f6662d02ff2c61974
parentd727614c913449a59e8333c4d75cff4ebf1f9779
MdeModulePkg SmiHandlerProfile: Fix no PDB case handling incorrectly

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

The PdbStringOffset should be set to 0 for no PDB case,
then SmiHandlerProfileInfo can use it to know whether
there is PCD info or not.

Cc: Jiewen Yao <jiewen.yao@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/Application/SmiHandlerProfileInfo/SmiHandlerProfileInfo.c
MdeModulePkg/Core/PiSmmCore/SmiHandlerProfile.c