You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

efi_watchdog.h 492B

12345678910111213141516171819202122232425262728293031
  1. #ifndef _IPXE_EFI_WATCHDOG_H
  2. #define _IPXE_EFI_WATCHDOG_H
  3. /** @file
  4. *
  5. * EFI watchdog holdoff timer
  6. */
  7. FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
  8. extern struct retry_timer efi_watchdog;
  9. /**
  10. * Start EFI watchdog holdoff timer
  11. *
  12. */
  13. static inline void efi_watchdog_start ( void ) {
  14. start_timer_nodelay ( &efi_watchdog );
  15. }
  16. /**
  17. * Stop EFI watchdog holdoff timer
  18. *
  19. */
  20. static inline void efi_watchdog_stop ( void ) {
  21. stop_timer ( &efi_watchdog );
  22. }
  23. #endif /* _IPXE_EFI_WATCHDOG_H */