These changes are the raw update to qemu-2.6.
[kvmfornfv.git] / qemu / roms / ipxe / src / include / ipxe / efi / efi_watchdog.h
1 #ifndef _IPXE_EFI_WATCHDOG_H
2 #define _IPXE_EFI_WATCHDOG_H
3
4 /** @file
5  *
6  * EFI watchdog holdoff timer
7  */
8
9 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
10
11 extern struct retry_timer efi_watchdog;
12
13 /**
14  * Start EFI watchdog holdoff timer
15  *
16  */
17 static inline void efi_watchdog_start ( void ) {
18
19         start_timer_nodelay ( &efi_watchdog );
20 }
21
22 /**
23  * Stop EFI watchdog holdoff timer
24  *
25  */
26 static inline void efi_watchdog_stop ( void ) {
27
28         stop_timer ( &efi_watchdog );
29 }
30
31 #endif /* _IPXE_EFI_WATCHDOG_H */