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