freebsd-skq/stand/efi
Warner Losh 9958932695 Teach ufs_module.c about bsd labels and probe 'a' partition.
If the check for a UFS partition at offset 0 on the disk fails, check
to see if there's a BSD disklabel at block 1 (standard) or at offset
512 (install images assume 512 sector size). If found, probe for UFS
on the 'a' partition.

This fixes UEFI booting images from a BSD labeled MBR slice when the
'a' partiton isn't at offset 0. This is a stop-gap fix since we plan
on removing boot1.efi in FreeBSD 12. We can't easily do that for 11.2,
however, hence the short MFC window.

Tested by: emaste@
MFC After: 3 days
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D15598
2018-05-29 03:58:29 +00:00
..
boot1 Teach ufs_module.c about bsd labels and probe 'a' partition. 2018-05-29 03:58:29 +00:00
fdt Remove now-unused variable after r328809 2018-02-04 17:31:50 +00:00
include Refactor currdev setting 2018-04-11 19:46:24 +00:00
libefi Refactor currdev setting 2018-04-11 19:46:24 +00:00
loader efi loader: Address two nits with recent graphics changes 2018-04-19 03:31:41 +00:00
Makefile stand: Fix build after r330249 2018-03-01 21:46:01 +00:00
Makefile.inc