diff options
author | Oleksij Rempel <o.rempel@pengutronix.de> | 2019-02-15 13:43:48 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-02-18 14:25:05 +0100 |
commit | 8b7d51a5854f199371be60fef91d32a24e2771cc (patch) | |
tree | 431342244dcc9a51353f158eb9a8527514c6f706 /include | |
parent | 5f7ed0da830d40fd738068d0fe5613076f3a4631 (diff) | |
download | barebox-8b7d51a5854f199371be60fef91d32a24e2771cc.tar.gz barebox-8b7d51a5854f199371be60fef91d32a24e2771cc.tar.xz |
efi: add prototype and definition for set_watchdog_timer
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/efi.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/efi.h b/include/efi.h index 7cc5fe05fa..218333f824 100644 --- a/include/efi.h +++ b/include/efi.h @@ -234,7 +234,10 @@ typedef struct { efi_status_t (EFIAPI *exit_boot_services)(efi_handle_t, unsigned long); void *get_next_monotonic_count; efi_status_t (EFIAPI *stall)(unsigned long usecs); - void *set_watchdog_timer; + efi_status_t (EFIAPI *set_watchdog_timer)(unsigned long timeout, + uint64_t watchdog_code, + unsigned long data_size, + s16 *watchdog_data); efi_status_t(EFIAPI *connect_controller)(efi_handle_t controller_handle, efi_handle_t *driver_image_handle, struct efi_device_path *remaining_device_path, |