
The patch series is centered on implementing the SetWatchdogTimer boottime service. Two tests are supplied. One that checks that resetting the watchdog timer saves from a reboot. The other checks that the watchdog timer actually leads to a reset. Both are covered by Python test cases.
Additional fixes include missing comments and fixing typos.
Heinrich Schuchardt (9): efi_loader: move efi_search_obj up in code efi_loader: implement SetWatchdogTimer efi_selftest: provide test for watchdog timer efi_loader: new function utf8_to_utf16 efi_loader: guard against double inclusion of efi_loader.h efi_selftest: allow to select a single test for exexution efi_selftest: test reboot by watchdog test/py: test reboot by EFI watchdog test/py: fix typo in test_efi_loader.py
cmd/bootefi.c | 47 ++++++- include/charset.h | 15 ++ include/efi_loader.h | 11 +- include/efi_selftest.h | 18 +++ lib/charset.c | 57 +++++++- lib/efi_loader/Makefile | 2 +- lib/efi_loader/efi_boottime.c | 58 ++++---- lib/efi_loader/efi_watchdog.c | 86 ++++++++++++ lib/efi_selftest/Makefile | 5 +- lib/efi_selftest/efi_selftest.c | 89 +++++++++++- lib/efi_selftest/efi_selftest_console.c | 11 ++ lib/efi_selftest/efi_selftest_util.c | 11 +- lib/efi_selftest/efi_selftest_watchdog.c | 230 +++++++++++++++++++++++++++++++ test/py/tests/test_efi_loader.py | 2 +- test/py/tests/test_efi_selftest.py | 14 +- 15 files changed, 609 insertions(+), 47 deletions(-) create mode 100644 lib/efi_loader/efi_watchdog.c create mode 100644 lib/efi_selftest/efi_selftest_watchdog.c