svn commit: r261926 - projects/arm64/sys/boot/arm64/efi
Andrew Turner
andrew at FreeBSD.org
Sat Feb 15 14:35:19 UTC 2014
Author: andrew
Date: Sat Feb 15 14:35:18 2014
New Revision: 261926
URL: http://svnweb.freebsd.org/changeset/base/261926
Log:
We have a filesystem when using a loader from semihosting. There is no need
to use the first found device anymore.
Modified:
projects/arm64/sys/boot/arm64/efi/main.c
Modified: projects/arm64/sys/boot/arm64/efi/main.c
==============================================================================
--- projects/arm64/sys/boot/arm64/efi/main.c Sat Feb 15 14:33:30 2014 (r261925)
+++ projects/arm64/sys/boot/arm64/efi/main.c Sat Feb 15 14:35:18 2014 (r261926)
@@ -116,12 +116,9 @@ main(int argc, CHAR16 *argv[])
status = efi_handle_lookup(img->DeviceHandle, &currdev.d_dev,
&currdev.d_unit);
if (status != 0) {
- status = efi_handle_any(&currdev.d_dev, &currdev.d_unit);
- if (status != 0) {
- printf("Boot device not found\n");
- /* TODO: What error should we use? */
- return (EFI_SUCCESS);
- }
+ printf("Boot device not found\n");
+ /* TODO: What error should we use? */
+ return (EFI_SUCCESS);
}
currdev.d_type = currdev.d_dev->dv_type;
More information about the svn-src-projects
mailing list