mirror of https://github.com/acidanthera/audk.git
MdeModulePkg/SmmCore: Perf-log PlatformHookBefore/AfterSmmDispatch
Signed-off-by: Ray Ni <ray.ni@intel.com> Cc: Jian J Wang <jian.j.wang@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Jiaxin Wu <jiaxin.wu@intel.com> Reviewed-by: Jian J Wang <jian.j.wang@intel.com>
This commit is contained in:
parent
a87f5fdb3d
commit
56f65e4bad
|
@ -692,7 +692,9 @@ SmmEntryPoint (
|
|||
//
|
||||
// Call platform hook before Smm Dispatch
|
||||
//
|
||||
PERF_START (NULL, "PlatformHookBeforeSmmDispatch", NULL, 0);
|
||||
PlatformHookBeforeSmmDispatch ();
|
||||
PERF_END (NULL, "PlatformHookBeforeSmmDispatch", NULL, 0);
|
||||
|
||||
//
|
||||
// Call memory management hook function
|
||||
|
@ -769,7 +771,9 @@ SmmEntryPoint (
|
|||
//
|
||||
// Call platform hook after Smm Dispatch
|
||||
//
|
||||
PERF_START (NULL, "PlatformHookAfterSmmDispatch", NULL, 0);
|
||||
PlatformHookAfterSmmDispatch ();
|
||||
PERF_END (NULL, "PlatformHookAfterSmmDispatch", NULL, 0);
|
||||
|
||||
//
|
||||
// If a legacy boot has occurred, then make sure gSmmCorePrivate is not accessed
|
||||
|
|
Loading…
Reference in New Issue