Module Name: src
Committed By: jmcneill
Date: Fri Aug 24 23:21:56 UTC 2018
Modified Files:
src/sys/stand/efiboot: efiboot.c
Log Message:
If we could not query the DevicePathProtocol handle, just select no default
boot device instead of exiting.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/stand/efiboot/efiboot.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/stand/efiboot/efiboot.c
diff -u src/sys/stand/efiboot/efiboot.c:1.2 src/sys/stand/efiboot/efiboot.c:1.3
--- src/sys/stand/efiboot/efiboot.c:1.2 Fri Aug 24 20:51:15 2018
+++ src/sys/stand/efiboot/efiboot.c Fri Aug 24 23:21:56 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: efiboot.c,v 1.2 2018/08/24 20:51:15 jmcneill Exp $ */
+/* $NetBSD: efiboot.c,v 1.3 2018/08/24 23:21:56 jmcneill Exp $ */
/*-
* Copyright (c) 2018 Jared McNeill <[email protected]>
@@ -62,7 +62,7 @@ efi_main(EFI_HANDLE imageHandle, EFI_SYS
return status;
status = uefi_call_wrapper(BS->HandleProtocol, 3, efi_li->DeviceHandle, &DevicePathProtocol, (void **)&efi_bootdp);
if (EFI_ERROR(status))
- return status;
+ efi_bootdp = NULL;
#ifdef EFIBOOT_DEBUG
Print(L"Loaded image : 0x%lX\n", efi_li);