]> git.proxmox.com Git - mirror_edk2.git/commit
UefiCpuPkg PiSmmCpuDxeSmm: Only DumpCpuContext in error case
authorStar Zeng <star.zeng@intel.com>
Wed, 6 Dec 2017 11:02:04 +0000 (19:02 +0800)
committerStar Zeng <star.zeng@intel.com>
Fri, 8 Dec 2017 01:12:32 +0000 (09:12 +0800)
commit8bf0380e5e7488f31b0834a987af4f65fe6f2a42
tree6a6747db88f93c022d1480ce5d638a1bb339b43c
parentcf245466a56a7be7405142753c6c6a6689b7461b
UefiCpuPkg PiSmmCpuDxeSmm: Only DumpCpuContext in error case

Only DumpCpuContext in error case, otherwise there will be too many
debug messages from DumpCpuContext() when SmmProfile feature is enabled
by setting PcdCpuSmmProfileEnable to TRUE. Those debug messages are not
needed for SmmProfile feature as it will record those information to
buffer for further dump.

Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
Acked-by: Laszlo Ersek <lersek@redhat.com>
UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/PageTbl.c
UefiCpuPkg/PiSmmCpuDxeSmm/X64/PageTbl.c