aboutsummaryrefslogtreecommitdiff
path: root/lib/efi_loader/efi_watchdog.c
Commit message (Collapse)AuthorAgeFilesLines
* efi_loader: implement event groupsHeinrich Schuchardt2018-04-041-1/+1
| | | | | | | | | | | | | | If an event of a group event is signaled all other events of the same group are signaled too. Function efi_signal_event is renamed to efi_queue_event. A new function efi_signal_event is introduced that checks if an event belongs to a group and than signals all events of the group. Event group notifciation is implemented for ExitBootServices, InstallConfigurationTable, and ResetSystem. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
* efi_loader: consistently return efi_status_t efi_watchdog_registerHeinrich Schuchardt2018-04-041-2/+2
| | | | | | | | efi_watchdog_register() should always return a status code and not a boolean value. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
* efi_loader: implement SetWatchdogTimerHeinrich Schuchardt2017-12-011-0/+89
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 <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>