MdeModulePkg/ResetSystemRuntimeDxe: Add more info in debug message

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
This commit is contained in:
Ruiyu Ni 2018-07-02 11:19:26 +08:00
parent c0bf47682d
commit 9c227e07dd
1 changed files with 4 additions and 1 deletions

View File

@ -266,7 +266,10 @@ ResetSystem (
}
mResetNotifyDepth++;
DEBUG ((DEBUG_INFO, "DXE ResetSystem2: Reset call depth = %d.\n", mResetNotifyDepth));
DEBUG ((
DEBUG_INFO, "DXE ResetSystem2: ResetType %s, Call Depth = %d.\n",
mResetTypeStr[ResetType], mResetNotifyDepth
));
if (mResetNotifyDepth <= MAX_RESET_NOTIFY_DEPTH) {
if (!EfiAtRuntime ()) {