summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.h
diff options
context:
space:
mode:
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2008-02-20 01:55:56 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2008-02-20 01:55:56 +0000
commit59306fa028a8b4b4486d794cb7f76014a8cdf6b9 (patch)
tree08fc3ea590e7088ce4bb29cae860b79188b70348 /MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.h
parent6d01b2fcf0e83dd2b83d104b156764ad74283179 (diff)
downloadedk2-platforms-59306fa028a8b4b4486d794cb7f76014a8cdf6b9.tar.xz
edk2/MdeModulePkg/Universal/WatchdogTimerDxe:
WatchDogTimer.c WatchDogTimer.h WatchDogTimer.inf WatchDogTimer.msa renamed to WatchdogTimer.c WatchdogTimer.h WatchdogTimer.inf WatchdogTimer.msa Moving usage of 'WatchDogTimer' to 'WatchdogTimer' to match the architectural protocol, as well as the more common usage of 'watchdog timer' vs. 'watch dog timer'. Consistency is needed for building on systems with case-sensitive filesystems. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4712 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.h')
-rw-r--r--MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.h70
1 files changed, 70 insertions, 0 deletions
diff --git a/MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.h b/MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.h
new file mode 100644
index 0000000000..412ab887c1
--- /dev/null
+++ b/MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.h
@@ -0,0 +1,70 @@
+/*++
+
+Copyright (c) 2006, 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
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ WatchDogTimer.h
+
+Abstract:
+
+ Generic watchdog timer implemenetation using EFI APIs
+
+Revision History
+
+--*/
+
+#ifndef _WATCHDOG_TIMER_H_
+#define _WATCHDOG_TIMER_H_
+
+
+
+#include <PiDxe.h>
+#include <Library/DebugLib.h>
+#include <Library/UefiDriverEntryPoint.h>
+#include <Library/ReportStatusCodeLib.h>
+#include <Library/UefiBootServicesTableLib.h>
+#include <Library/UefiRuntimeServicesTableLib.h>
+#include <Library/PcdLib.h>
+#include <Protocol/WatchdogTimer.h>
+
+
+//
+// Function Prototypes
+//
+EFI_STATUS
+EFIAPI
+WatchdogTimerDriverRegisterHandler (
+ IN EFI_WATCHDOG_TIMER_ARCH_PROTOCOL *This,
+ IN EFI_WATCHDOG_TIMER_NOTIFY NotifyFunction
+ );
+
+EFI_STATUS
+EFIAPI
+WatchdogTimerDriverSetTimerPeriod (
+ IN EFI_WATCHDOG_TIMER_ARCH_PROTOCOL *This,
+ IN UINT64 TimerPeriod
+ );
+
+EFI_STATUS
+EFIAPI
+WatchdogTimerDriverGetTimerPeriod (
+ IN EFI_WATCHDOG_TIMER_ARCH_PROTOCOL *This,
+ IN UINT64 *TimerPeriod
+ );
+
+EFI_STATUS
+EFIAPI
+WatchdogTimerDriverInitialize (
+ IN EFI_HANDLE ImageHandle,
+ IN EFI_SYSTEM_TABLE *SystemTable
+ );
+
+#endif