Reviewed-by: Star Zeng <[email protected]> How about doing same update in ResetSystemPei in an updated patch or a separated patch?
Thanks, Star -----Original Message----- From: Ni, Ruiyu Sent: Monday, July 2, 2018 11:21 AM To: [email protected] Cc: Zeng, Star <[email protected]> Subject: [PATCH 3/3] MdeModulePkg/ResetSystemRuntimeDxe: Add more info in debug message Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ruiyu Ni <[email protected]> Cc: Star Zeng <[email protected]> --- MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystem.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 ()) { -- 2.16.1.windows.1 _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel

