summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/stand/efiboot
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/amd64/stand/efiboot')
-rw-r--r--sys/arch/amd64/stand/efiboot/efiboot.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/amd64/stand/efiboot/efiboot.c b/sys/arch/amd64/stand/efiboot/efiboot.c
index 4e2f63aa9fc..a71d2cf93fb 100644
--- a/sys/arch/amd64/stand/efiboot/efiboot.c
+++ b/sys/arch/amd64/stand/efiboot/efiboot.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: efiboot.c,v 1.28 2017/11/25 19:02:07 patrick Exp $ */
+/* $OpenBSD: efiboot.c,v 1.29 2018/03/02 03:11:23 jsg Exp $ */
/*
* Copyright (c) 2015 YASUOKA Masahiko <yasuoka@yasuoka.net>
@@ -81,6 +81,9 @@ efi_main(EFI_HANDLE image, EFI_SYSTEM_TABLE *systab)
RS = ST->RuntimeServices;
IH = image;
+ /* disable reset by watchdog after 5 minutes */
+ EFI_CALL(BS->SetWatchdogTimer, 0, 0, 0, NULL);
+
efi_video_init();
efi_heap_init();