Module Name: src
Committed By: jmcneill
Date: Fri Aug 24 20:51:16 UTC 2018
Modified Files:
src/sys/stand/efiboot: efiboot.c
Log Message:
EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL.Reset() may not be supported. Failing to reset
is not a fatal error, so ignore the status.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 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.1 src/sys/stand/efiboot/efiboot.c:1.2
--- src/sys/stand/efiboot/efiboot.c:1.1 Fri Aug 24 02:01:06 2018
+++ src/sys/stand/efiboot/efiboot.c Fri Aug 24 20:51:15 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: efiboot.c,v 1.1 2018/08/24 02:01:06 jmcneill Exp $ */
+/* $NetBSD: efiboot.c,v 1.2 2018/08/24 20:51:15 jmcneill Exp $ */
/*-
* Copyright (c) 2018 Jared McNeill <[email protected]>
@@ -50,9 +50,7 @@ efi_main(EFI_HANDLE imageHandle, EFI_SYS
InitializeLib(imageHandle, systemTable);
- status = uefi_call_wrapper(ST->ConOut->Reset, 2, ST->ConOut, FALSE);
- if (EFI_ERROR(status))
- return status;
+ (void)uefi_call_wrapper(ST->ConOut->Reset, 2, ST->ConOut, FALSE);
status = uefi_call_wrapper(BS->AllocatePages, 4, AllocateAnyPages, EfiLoaderData, sz, &heap_start);
if (EFI_ERROR(status))