Star Zeng
8ced192d5c
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 >
2017-05-24 15:27:34 +08:00
Star Zeng
fb1c81a1e5
MdeModulePkg SmiHandlerProfile: Fix memory leak in DumpSmiChildContext
...
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=530
In DumpSmiChildContext() of SmiHandlerProfile.c and
SmiHandlerProfileInfo.c, the return buffer from
ConvertDevicePathToText() should be freed after used.
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 >
2017-05-12 13:07:11 +08:00
Dandan Bi
c325e41585
MdeModulePkg: Fix coding style issues
...
1. Make function comments align with the function.
2. Change the FILE_GUID value in SmmSmiHandlerProfileLib.inf
since it is duplicated with the FILE_GUID value in
SmiHandlerProfileLibNull.inf
3. Add missing PCD PROMPT&HELP string to uni file.
Cc: Jiewen Yao <jiewen.yao@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan.bi@intel.com >
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com >
2017-02-28 16:45:18 +08:00
Jiewen Yao
216b942d4d
MdeModulePkg/App: Add SmiHandlerProfile dump app.
...
This app uses SMM communication to get SMI handler profile
from SMM core.
Cc: Feng Tian <feng.tian@intel.com >
Cc: Star Zeng <star.zeng@intel.com >
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Cc: Laszlo Ersek <lersek@redhat.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiewen Yao <jiewen.yao@intel.com >
Reviewed-by: Star Zeng <star.zeng@intel.com >
2017-02-22 15:28:19 +08:00