blob: 4a56b9a299a1f6db58f03528257d8824702453b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#ifndef _IPXE_EFI_WATCHDOG_H
#define _IPXE_EFI_WATCHDOG_H
/** @file
*
* EFI watchdog holdoff timer
*/
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
extern struct retry_timer efi_watchdog;
/**
* Start EFI watchdog holdoff timer
*
*/
static inline void efi_watchdog_start ( void ) {
start_timer_nodelay ( &efi_watchdog );
}
/**
* Stop EFI watchdog holdoff timer
*
*/
static inline void efi_watchdog_stop ( void ) {
stop_timer ( &efi_watchdog );
}
#endif /* _IPXE_EFI_WATCHDOG_H */
|