freebsd-dev/sys/boot/efi/include
Steven Hartland 89b50f6b4d Fix EFI multi device boot support
Fix EFI boot support when presented with multiple valid boot partitions
across multiple devices.

It now prefers to boot from partitions that are present on the underlying
device that the boot1 image was loaded from. This means that it will boot
from the partitions on device the user chose from EFI boot menu in
preference to those on other devices.

Also fixed is the recovery from a failed attempt to boot, from a seemingly
valid partition, by continuing to trying all other available partitions
no matter what the error.

boot1 now use * to signify a partition what was accepted from the preferred
device and + otherwise.

Finally some error messages where improved and DPRINTF's with slowed boot
to aid debugging.

ZFS will still be preferred over UFS when both are available on the boot
device.

Reviewed by:	imp
MFC after:	1 week
Sponsored by:	Multiplay
Differential Revision:	https://reviews.freebsd.org/D5108
2016-02-05 15:35:33 +00:00
..
amd64 Fix _MSC_EXTENSIONS checks 2016-01-06 20:22:28 +00:00
arm Add support to the efi boot1 and loader for 32-bit ARM. This will be used 2015-04-06 15:50:20 +00:00
arm64 Enable warnings in EFI boot code 2016-01-12 02:17:39 +00:00
i386 Fix _MSC_EXTENSIONS checks 2016-01-06 20:22:28 +00:00
efi_nii.h Enable warnings in EFI boot code 2016-01-12 02:17:39 +00:00
efi.h Revert accidental whitespace changes included with r292623 2015-12-22 20:40:34 +00:00
efiapi.h Enable warnings in EFI boot code 2016-01-12 02:17:39 +00:00
eficon.h Enable warnings in EFI boot code 2016-01-12 02:17:39 +00:00
eficonsctl.h Enable warnings in EFI boot code 2016-01-12 02:17:39 +00:00
efidebug.h Revert accidental whitespace changes included with r292623 2015-12-22 20:40:34 +00:00
efidef.h Revert accidental whitespace changes included with r292623 2015-12-22 20:40:34 +00:00
efidevp.h Fix EFI multi device boot support 2016-02-05 15:35:33 +00:00
efierr.h Enable warnings in EFI boot code 2016-01-12 02:17:39 +00:00
efifpswa.h Enable warnings in EFI boot code 2016-01-12 02:17:39 +00:00
efifs.h Revert accidental whitespace changes included with r292623 2015-12-22 20:40:34 +00:00
efigop.h Enable warnings in EFI boot code 2016-01-12 02:17:39 +00:00
efilib.h Add EFI ZFS boot support 2016-01-15 02:33:47 +00:00
efinet.h Enable warnings in EFI boot code 2016-01-12 02:17:39 +00:00
efipart.h Revert accidental whitespace changes included with r292623 2015-12-22 20:40:34 +00:00
efipciio.h Enable warnings in EFI boot code 2016-01-12 02:17:39 +00:00
efiprot.h Enable warnings in EFI boot code 2016-01-12 02:17:39 +00:00
efipxebc.h Enable warnings in EFI boot code 2016-01-12 02:17:39 +00:00
efiser.h Enable warnings in EFI boot code 2016-01-12 02:17:39 +00:00
efistdarg.h
efiuga.h Enable warnings in EFI boot code 2016-01-12 02:17:39 +00:00
README

/* $FreeBSD$ */
/*-

Files in this directory and subdirectories are subject to the following
copyright unless superceded or supplemented by additional specific license
terms found in the file headers of individual files.

Copyright (c) 1998-2000 Intel Corporation

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:

Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.

Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the
distribution.

THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL INTEL BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
OF THE POSSIBILITY OF SUCH DAMAGE. THE EFI SPECIFICATION AND ALL
OTHER INFORMATION ON THIS WEB SITE ARE PROVIDED "AS IS" WITH NO
WARRANTIES, AND ARE SUBJECT TO CHANGE WITHOUT NOTICE.

*/