]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Universal/WatchDogTimerDxe/WatchDogTimer.h
Add MonotonicCounter driver, which produces MonotonicCounter arch protocols
[mirror_edk2.git] / MdeModulePkg / Universal / WatchDogTimerDxe / WatchDogTimer.h
CommitLineData
de4c8a30 1/*++\r
2\r
3Copyright (c) 2006, Intel Corporation \r
4All rights reserved. This program and the accompanying materials \r
5are licensed and made available under the terms and conditions of the BSD License \r
6which accompanies this distribution. The full text of the license may be found at \r
7http://opensource.org/licenses/bsd-license.php \r
8 \r
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
11\r
12Module Name:\r
13\r
14 WatchDogTimer.h\r
15\r
16Abstract:\r
17\r
18 Generic watchdog timer implemenetation using EFI APIs\r
19\r
20Revision History\r
21\r
22--*/\r
23\r
24#ifndef _WATCHDOG_TIMER_H_\r
25#define _WATCHDOG_TIMER_H_\r
26\r
ba237732
A
27\r
28//\r
29// The package level header files this module uses\r
30//\r
31#include <PiDxe.h>\r
32#include <Library/DebugLib.h>\r
33#include <Library/UefiDriverEntryPoint.h>\r
34#include <Library/ReportStatusCodeLib.h>\r
35#include <Library/UefiBootServicesTableLib.h>\r
36#include <Library/UefiRuntimeServicesTableLib.h>\r
37#include <Library/PcdLib.h>\r
38#include <Protocol/WatchDogTimer.h>\r
39\r
40\r
de4c8a30 41//\r
42// Function Prototypes\r
43//\r
44EFI_STATUS\r
45EFIAPI\r
46WatchdogTimerDriverRegisterHandler (\r
47 IN EFI_WATCHDOG_TIMER_ARCH_PROTOCOL *This,\r
48 IN EFI_WATCHDOG_TIMER_NOTIFY NotifyFunction\r
ba237732 49 );\r
de4c8a30 50\r
51EFI_STATUS\r
52EFIAPI\r
53WatchdogTimerDriverSetTimerPeriod (\r
54 IN EFI_WATCHDOG_TIMER_ARCH_PROTOCOL *This,\r
55 IN UINT64 TimerPeriod\r
ba237732 56 );\r
de4c8a30 57\r
58EFI_STATUS\r
59EFIAPI\r
60WatchdogTimerDriverGetTimerPeriod (\r
61 IN EFI_WATCHDOG_TIMER_ARCH_PROTOCOL *This,\r
62 IN UINT64 *TimerPeriod\r
ba237732 63 );\r
de4c8a30 64\r
65EFI_STATUS\r
66EFIAPI\r
67WatchdogTimerDriverInitialize (\r
68 IN EFI_HANDLE ImageHandle,\r
69 IN EFI_SYSTEM_TABLE *SystemTable\r
ba237732 70 );\r
de4c8a30 71\r
72#endif\r