diff options
author | andrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-07-30 16:01:09 +0000 |
---|---|---|
committer | andrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-07-30 16:01:09 +0000 |
commit | dd85e4b53111e381f9ecd6ae8246fdccb95b37f1 (patch) | |
tree | 30e7a34346935657085295cbe0f65fddb2c1384d /MdeModulePkg | |
parent | 6c45642e2bd4cec95c9cde14668ea36c270f0559 (diff) | |
download | edk2-platforms-dd85e4b53111e381f9ecd6ae8246fdccb95b37f1.tar.xz |
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
Diffstat (limited to 'MdeModulePkg')
-rw-r--r-- | MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.c b/MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.c index 1c8c510d9f..b018eb2ae1 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
//
|