diff options
Diffstat (limited to 'head')
| -rw-r--r-- | head/sboot/fwi.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/head/sboot/fwi.h b/head/sboot/fwi.h new file mode 100644 index 0000000..033f8a6 --- /dev/null +++ b/head/sboot/fwi.h @@ -0,0 +1,27 @@ +/* + * Copyright (c) 2026, Apollo Telephone Laboratories. + * Provided under the BSD-3 clause. + */ + +#ifndef _SBOOT_FWI_H_ +#define _SBOOT_FWI_H_ 1 + +#include <efi.h> +#include <efilib.h> + +static inline EFI_STATUS +FwiSetWatchdogTimer( + IN UINTN Timeout, IN UINT64 WatchdogCode, + IN UINTN DataSize, IN CHAR16 *WatchdogData) +{ + return uefi_call_wrapper( + gBS->SetWatchdogTimer, + 4, + Timeout, + WatchdogCode, + DataSize, + WatchdogData + ); +} + +#endif /* !_SBOOT_FWI_H_ */ |
