diff options
Diffstat (limited to 'sys/arch/arm64/stand/efiboot/efiboot.c')
-rw-r--r-- | sys/arch/arm64/stand/efiboot/efiboot.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/arm64/stand/efiboot/efiboot.c b/sys/arch/arm64/stand/efiboot/efiboot.c index 8618a6b5ec0..9ced90a2b31 100644 --- a/sys/arch/arm64/stand/efiboot/efiboot.c +++ b/sys/arch/arm64/stand/efiboot/efiboot.c @@ -1,4 +1,4 @@ -/* $OpenBSD: efiboot.c,v 1.15 2018/02/06 20:35:21 naddy Exp $ */ +/* $OpenBSD: efiboot.c,v 1.16 2018/03/02 03:11:23 jsg Exp $ */ /* * Copyright (c) 2015 YASUOKA Masahiko <yasuoka@yasuoka.net> @@ -74,6 +74,9 @@ efi_main(EFI_HANDLE image, EFI_SYSTEM_TABLE *systab) BS = ST->BootServices; IH = image; + /* disable reset by watchdog after 5 minutes */ + EFI_CALL(BS->SetWatchdogTimer, 0, 0, 0, NULL); + status = EFI_CALL(BS->HandleProtocol, image, &imgp_guid, (void **)&imgp); if (status == EFI_SUCCESS) |