summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Universal/WatchdogTimerDxe
diff options
context:
space:
mode:
authorxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>2010-01-27 04:00:58 +0000
committerxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>2010-01-27 04:00:58 +0000
commitf9876ecf8a296a8e0d4ad8d22ed5ff12ecc11f65 (patch)
treef8945bc363cdfd587d3d4cbb1843347c1a457ef2 /MdeModulePkg/Universal/WatchdogTimerDxe
parentea6898b902464c0a0c32b49543386b962a64032c (diff)
downloadedk2-f9876ecf8a296a8e0d4ad8d22ed5ff12ecc11f65.tar.gz
edk2-f9876ecf8a296a8e0d4ad8d22ed5ff12ecc11f65.tar.bz2
edk2-f9876ecf8a296a8e0d4ad8d22ed5ff12ecc11f65.zip
Remove reference to PCDs of status code value. Use macros introduced in PI1.2 instead.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9833 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/WatchdogTimerDxe')
-rw-r--r--MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.c4
-rw-r--r--MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.h1
-rw-r--r--MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf6
3 files changed, 3 insertions, 8 deletions
diff --git a/MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.c b/MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.c
index e43acbf221..5a98215825 100644
--- a/MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.c
+++ b/MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.c
@@ -1,7 +1,7 @@
/** @file
Implementation of Watchdog Timer Architectural Protocol using UEFI APIs.
-Copyright (c) 2006 - 2008, Intel Corporation
+Copyright (c) 2006 - 2010, Intel Corporation
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -66,7 +66,7 @@ WatchdogTimerDriverExpires (
IN VOID *Context
)
{
- REPORT_STATUS_CODE (EFI_ERROR_CODE | EFI_ERROR_MINOR, FixedPcdGet32 (PcdStatusCodeValueEfiWatchDogTimerExpired));
+ REPORT_STATUS_CODE (EFI_ERROR_CODE | EFI_ERROR_MINOR, (EFI_COMPUTING_UNIT_HOST_PROCESSOR | EFI_CU_HP_EC_TIMER_EXPIRED));
//
// If a notification function has been registered, then call it
diff --git a/MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.h b/MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.h
index bd76081aec..e80af9736c 100644
--- a/MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.h
+++ b/MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.h
@@ -23,7 +23,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#include <Library/ReportStatusCodeLib.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Library/UefiRuntimeServicesTableLib.h>
-#include <Library/PcdLib.h>
#include <Protocol/WatchdogTimer.h>
diff --git a/MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf b/MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
index 2eb24e3992..720fd54e6a 100644
--- a/MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
+++ b/MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
@@ -1,7 +1,7 @@
#/** @file
# Generic watchdog timer driver produceing Watchdog Timer Architectural Protocol using UEFI APIs.
#
-# Copyright (c) 2006 - 2008, Intel Corporation
+# Copyright (c) 2006 - 2010, Intel Corporation
#
# All rights reserved. This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
@@ -40,14 +40,10 @@
ReportStatusCodeLib
UefiDriverEntryPoint
DebugLib
- PcdLib
[Protocols]
gEfiWatchdogTimerArchProtocolGuid ## PRODUCES
-[FixedPcd.common]
- gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueEfiWatchDogTimerExpired
-
[depex]
gEfiTimerArchProtocolGuid