summaryrefslogtreecommitdiff
path: root/core/sboot.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/sboot.c')
-rw-r--r--core/sboot.c9
1 files changed, 9 insertions, 0 deletions
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 <efilib.h>
#include <sboot/sboot.h>
#include <sboot/config.h>
+#include <sboot/fwi.h>
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,