diff options
author | Ruiyu Ni <ruiyu.ni@intel.com> | 2018-07-02 11:19:26 +0800 |
---|---|---|
committer | Ruiyu Ni <ruiyu.ni@intel.com> | 2018-07-03 14:39:59 +0800 |
commit | 9c227e07dde56c5f2ab9d00fd6740827f28dc875 (patch) | |
tree | 5bfa0c3f9a85b99b5468cfd0c96db14b89821918 | |
parent | c0bf47682d6bcecc3889ff849c81cc06a22debc4 (diff) | |
download | edk2-9c227e07dde56c5f2ab9d00fd6740827f28dc875.tar.gz edk2-9c227e07dde56c5f2ab9d00fd6740827f28dc875.tar.bz2 edk2-9c227e07dde56c5f2ab9d00fd6740827f28dc875.zip |
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>
-rw-r--r-- | MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystem.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystem.c b/MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystem.c index f23b5e86f9..afc35587fc 100644 --- a/MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystem.c +++ b/MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystem.c @@ -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 ()) {
|