]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.c
MdeModulePkg/Universal: Fix typos in comments
[mirror_edk2.git] / MdeModulePkg / Universal / WatchdogTimerDxe / WatchdogTimer.c
index e43acbf221cec9e0b114a27ee7e071598574d01a..6dedfbf7021858397224afa5e1a10fc1b7c37676 100644 (file)
@@ -1,8 +1,8 @@
 /** @file\r
   Implementation of Watchdog Timer Architectural Protocol using UEFI APIs.\r
   \r
-Copyright (c) 2006 - 2008, Intel Corporation\r
-All rights reserved. This program and the accompanying materials\r
+Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
+This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at\r
 http://opensource.org/licenses/bsd-license.php\r
@@ -66,7 +66,7 @@ WatchdogTimerDriverExpires (
   IN VOID         *Context\r
   )\r
 {\r
-  REPORT_STATUS_CODE (EFI_ERROR_CODE | EFI_ERROR_MINOR, FixedPcdGet32 (PcdStatusCodeValueEfiWatchDogTimerExpired));\r
+  REPORT_STATUS_CODE (EFI_ERROR_CODE | EFI_ERROR_MINOR, (EFI_COMPUTING_UNIT_HOST_PROCESSOR | EFI_CU_HP_EC_TIMER_EXPIRED));\r
 \r
   //\r
   // If a notification function has been registered, then call it\r
@@ -74,6 +74,9 @@ WatchdogTimerDriverExpires (
   if (mWatchdogTimerNotifyFunction != NULL) {\r
     mWatchdogTimerNotifyFunction (mWatchdogTimerPeriod);\r
   }\r
+  \r
+  DEBUG ((EFI_D_ERROR, "Watchdog Timer resetting system\n"));\r
+\r
   //\r
   // Reset the platform\r
   //\r