From dd85e4b53111e381f9ecd6ae8246fdccb95b37f1 Mon Sep 17 00:00:00 2001 From: andrewfish Date: Fri, 30 Jul 2010 16:01:09 +0000 Subject: Add debug print that the system is about to be reset. I was seeing watchtog timeouts in UnixPkg and they were hard to debug as gdb was exiting. This debug print should be useful in general. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10761 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.c b/MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.c index 1c8c510..b018eb2 100644 --- a/MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.c +++ b/MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.c @@ -74,6 +74,9 @@ WatchdogTimerDriverExpires ( if (mWatchdogTimerNotifyFunction != NULL) { mWatchdogTimerNotifyFunction (mWatchdogTimerPeriod); } + + DEBUG ((EFI_D_ERROR, "Watchdog Timer reseting system\n")); + // // Reset the platform // -- cgit v1.1