]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Universal/WatchDogTimerDxe/WatchDogTimer.h
edk2/MdeModulePkg/Universal/WatchDogTimerDxe/WatchDogTimer.h:
[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 27\r
ed7748fe 28\r
ba237732
A
29#include <PiDxe.h>\r
30#include <Library/DebugLib.h>\r
31#include <Library/UefiDriverEntryPoint.h>\r
32#include <Library/ReportStatusCodeLib.h>\r
33#include <Library/UefiBootServicesTableLib.h>\r
34#include <Library/UefiRuntimeServicesTableLib.h>\r
35#include <Library/PcdLib.h>\r
c0d17d24 36#include <Protocol/WatchdogTimer.h>\r
ba237732
A
37\r
38\r
de4c8a30 39//\r
40// Function Prototypes\r
41//\r
42EFI_STATUS\r
43EFIAPI\r
44WatchdogTimerDriverRegisterHandler (\r
45 IN EFI_WATCHDOG_TIMER_ARCH_PROTOCOL *This,\r
46 IN EFI_WATCHDOG_TIMER_NOTIFY NotifyFunction\r
ba237732 47 );\r
de4c8a30 48\r
49EFI_STATUS\r
50EFIAPI\r
51WatchdogTimerDriverSetTimerPeriod (\r
52 IN EFI_WATCHDOG_TIMER_ARCH_PROTOCOL *This,\r
53 IN UINT64 TimerPeriod\r
ba237732 54 );\r
de4c8a30 55\r
56EFI_STATUS\r
57EFIAPI\r
58WatchdogTimerDriverGetTimerPeriod (\r
59 IN EFI_WATCHDOG_TIMER_ARCH_PROTOCOL *This,\r
60 IN UINT64 *TimerPeriod\r
ba237732 61 );\r
de4c8a30 62\r
63EFI_STATUS\r
64EFIAPI\r
65WatchdogTimerDriverInitialize (\r
66 IN EFI_HANDLE ImageHandle,\r
67 IN EFI_SYSTEM_TABLE *SystemTable\r
ba237732 68 );\r
de4c8a30 69\r
70#endif\r