diff options
| author | Heinrich Schuchardt <[email protected]> | 2017-10-18 18:13:04 +0200 |
|---|---|---|
| committer | Alexander Graf <[email protected]> | 2017-12-01 13:22:55 +0100 |
| commit | b3d6090042d4de265c930358aec4d9b96bf3748a (patch) | |
| tree | 4990f74684e32d600afe93ab11668abf1eb11034 /cmd | |
| parent | 7b9f8ad749260e11c8883fed53ae4dfefc98b2b3 (diff) | |
efi_loader: implement SetWatchdogTimer
The watchdog is initialized with a 5 minute timeout period.
It can be reset by SetWatchdogTimer.
It is stopped by ExitBoottimeServices.
Signed-off-by: Heinrich Schuchardt <[email protected]>
Signed-off-by: Alexander Graf <[email protected]>
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/bootefi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/bootefi.c b/cmd/bootefi.c index 478bc116e24..18176a12668 100644 --- a/cmd/bootefi.c +++ b/cmd/bootefi.c @@ -43,6 +43,7 @@ static void efi_init_obj_list(void) #ifdef CONFIG_GENERATE_SMBIOS_TABLE efi_smbios_register(); #endif + efi_watchdog_register(); /* Initialize EFI runtime services */ efi_reset_system_init(); |
