freebsd-nq/sys
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 Redo r292484. Embed task(9) into zone, so that uz_maxaction is called 2016-02-03 23:30:17 +00:00
arm ARM: Use new ARMv6 naming conventions for cache and TLB functions 2016-02-05 14:57:41 +00:00
arm64 Enable checking of the stack alignment. The stack should be aligned to a 2016-02-04 17:22:15 +00:00
boot Fix EFI multi device boot support 2016-02-05 15:35:33 +00:00
bsm
cam Add defines for WRITE_UNCORRECTABLE ATA command, and improve command logging 2016-02-04 19:53:54 +00:00
cddl MFV r294821: 6529 Properly handle updates of variably-sized SA entries. 2016-02-01 15:40:40 +00:00
compat fork: plug a use after free of the returned process 2016-02-04 04:25:30 +00:00
conf Provide a workaround for setting the correct endianness when doing CFI on 2016-02-04 22:39:27 +00:00
contrib ARM: Use new ARMv6 naming conventions for cache and TLB functions 2016-02-05 14:57:41 +00:00
crypto
ddb
dev hyperv: Use malloc for page allocation. 2016-02-05 07:29:11 +00:00
fs Revert r294695: 2016-02-03 14:31:23 +00:00
gdb
geom Teach the flashmap code about the SPI flash. 2016-01-23 05:26:29 +00:00
gnu
i386 Convert ss_sp in stack_t and sigstack to void *. 2016-01-27 17:55:01 +00:00
isa Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
kern When matching brand to the ELF binary by notes, try to find a brand 2016-02-04 20:55:49 +00:00
kgssapi kcrypto_aes: Use separate sessions for AES and SHA1 2016-02-02 00:14:51 +00:00
libkern
mips Fix build. 2016-02-04 11:52:53 +00:00
modules filemon: Use process_exec EVENTHANDLER to capture sys_execve. 2016-01-28 21:45:25 +00:00
net These files were getting sys/malloc.h and vm/uma.h with header pollution 2016-02-01 17:41:21 +00:00
net80211 These files were getting sys/malloc.h and vm/uma.h with header pollution 2016-02-01 17:41:21 +00:00
netgraph These files were getting sys/malloc.h and vm/uma.h with header pollution 2016-02-01 17:41:21 +00:00
netinet Increase max allowed backlog for listen sockets 2016-02-02 05:57:59 +00:00
netinet6 These files were getting sys/malloc.h and vm/uma.h with header pollution 2016-02-01 17:41:21 +00:00
netipsec These files were getting sys/malloc.h and vm/uma.h with header pollution 2016-02-01 17:41:21 +00:00
netnatm
netpfil These files were getting sys/malloc.h and vm/uma.h with header pollution 2016-02-01 17:41:21 +00:00
netsmb
nfs MFP r287070,r287073: split radix implementation and route table structure. 2016-01-25 06:33:15 +00:00
nfsclient
nfsserver
nlm
ofed LinuxKPI list updates: 2016-01-26 15:12:31 +00:00
opencrypto
pc98 Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
powerpc Fix build of powerpc FPU emulator after changes in r295132 to restore the 2016-02-04 17:43:56 +00:00
riscv Access pcpup using gp register. 2016-02-04 14:30:46 +00:00
rpc These files were getting sys/malloc.h and vm/uma.h with header pollution 2016-02-01 17:41:21 +00:00
security
sparc64 Fix build. 2016-02-04 12:06:06 +00:00
sys Add defines for WRITE_UNCORRECTABLE ATA command, and improve command logging 2016-02-04 19:53:54 +00:00
teken
tests
tools Fix MFS builds when both MD_ROOT_SIZE and MFS_IMAGE are specified 2016-02-02 07:02:51 +00:00
ufs Remove ffs_mountroot() prototype; seems to be long gone. 2016-01-28 12:21:23 +00:00
vm Redo r292484. Embed task(9) into zone, so that uz_maxaction is called 2016-02-03 23:30:17 +00:00
x86 Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
xdr
xen
Makefile