From 09a38cfa889fda6bd63063b0516950d18e5e2110 Mon Sep 17 00:00:00 2001 From: "Ian M." Date: Fri, 11 Sep 2026 04:26:01 +0000 Subject: sboot: Disable watchdog timer on startup Signed-off-by: Ian M. --- core/sboot.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'core') diff --git a/core/sboot.c b/core/sboot.c index e0b2387..1649b7e 100644 --- a/core/sboot.c +++ b/core/sboot.c @@ -7,6 +7,7 @@ #include #include #include +#include EFI_STATUS EFIAPI @@ -25,6 +26,14 @@ efi_main(EFI_HANDLE ImageHandle, EFI_SYSTEM_TABLE *SystemTable) Hcf(); } + /* Disable the watchdog timer */ + FwiSetWatchdogTimer( + 0, + 0, + 0, + NULL + ); + Print( L"SBOOT %s - %d boot entrie(s)\n", SBOOT_VERSION, -- cgit v1.2.3