]>
Commit | Line | Data |
---|---|---|
504214c4 | 1 | /** @file\r |
de4c8a30 | 2 | \r |
504214c4 LG |
3 | The internal header file includes the common header files, defines\r |
4 | internal functions used by WatchDogTimer module. \r | |
5 | \r | |
6 | Copyright (c) 2006 - 2008, Intel Corporation \r | |
de4c8a30 | 7 | All rights reserved. This program and the accompanying materials \r |
8 | are licensed and made available under the terms and conditions of the BSD License \r | |
9 | which accompanies this distribution. The full text of the license may be found at \r | |
10 | http://opensource.org/licenses/bsd-license.php \r | |
11 | \r | |
12 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r | |
13 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r | |
14 | \r | |
504214c4 | 15 | **/\r |
de4c8a30 | 16 | \r |
17 | #ifndef _WATCHDOG_TIMER_H_\r | |
18 | #define _WATCHDOG_TIMER_H_\r | |
19 | \r | |
ba237732 | 20 | \r |
ed7748fe | 21 | \r |
ba237732 A |
22 | #include <PiDxe.h>\r |
23 | #include <Library/DebugLib.h>\r | |
24 | #include <Library/UefiDriverEntryPoint.h>\r | |
25 | #include <Library/ReportStatusCodeLib.h>\r | |
26 | #include <Library/UefiBootServicesTableLib.h>\r | |
27 | #include <Library/UefiRuntimeServicesTableLib.h>\r | |
28 | #include <Library/PcdLib.h>\r | |
c0d17d24 | 29 | #include <Protocol/WatchdogTimer.h>\r |
ba237732 A |
30 | \r |
31 | \r | |
de4c8a30 | 32 | //\r |
33 | // Function Prototypes\r | |
34 | //\r | |
35 | EFI_STATUS\r | |
36 | EFIAPI\r | |
37 | WatchdogTimerDriverRegisterHandler (\r | |
38 | IN EFI_WATCHDOG_TIMER_ARCH_PROTOCOL *This,\r | |
39 | IN EFI_WATCHDOG_TIMER_NOTIFY NotifyFunction\r | |
ba237732 | 40 | );\r |
de4c8a30 | 41 | \r |
42 | EFI_STATUS\r | |
43 | EFIAPI\r | |
44 | WatchdogTimerDriverSetTimerPeriod (\r | |
45 | IN EFI_WATCHDOG_TIMER_ARCH_PROTOCOL *This,\r | |
46 | IN UINT64 TimerPeriod\r | |
ba237732 | 47 | );\r |
de4c8a30 | 48 | \r |
49 | EFI_STATUS\r | |
50 | EFIAPI\r | |
51 | WatchdogTimerDriverGetTimerPeriod (\r | |
52 | IN EFI_WATCHDOG_TIMER_ARCH_PROTOCOL *This,\r | |
53 | IN UINT64 *TimerPeriod\r | |
ba237732 | 54 | );\r |
de4c8a30 | 55 | \r |
56 | EFI_STATUS\r | |
57 | EFIAPI\r | |
58 | WatchdogTimerDriverInitialize (\r | |
59 | IN EFI_HANDLE ImageHandle,\r | |
60 | IN EFI_SYSTEM_TABLE *SystemTable\r | |
ba237732 | 61 | );\r |
de4c8a30 | 62 | \r |
63 | #endif\r |