K 10 svn:author V 6 kevans K 8 svn:date V 27 2019-10-24T03:16:23.192876Z K 7 svn:log V 2090 MFC r348658-r348659, r348674-r348675, r348678, r348760, r348766, r348768, r348811-r348812, r348814, r349008 r348658: Introduce efi_devpath_same_disk This is like efi_devpath_match, but allows differing device media paths. Those just specify the partition information. r348659: Use newly minted efi_devpath_same_disk() instead of efi_devpath_match(). This fixes a regression in r347193. r348674: Don't shadow a global zfsmount variable. r348675: ufs_module.c can't currently be compiled with -Wcast-align, but the code is safe enough. Turn off the warning for now until I can find the right construct to silence it in the code. r348678: Eliminate unused uuid parameters from gptread and gptread_table. We only need it for the gptfind() function, where it's used. r348760: Use simple malloc/free instead of dropping down to the UEFI BootServices AllocatePool/FreePool calls. They are simpler to use and result in the same thing happening. r348766: Remove left-over status variables r348768: Rework the reporting of the priority. Simplify the code a bit and rework how we report the results of the probing. r348811: Break out the disk selection protocol from the rest of boot1. Segregate the disk probing and selection protocol from the rest of the boot loader. r348812: Create gptboot.efi This is a primary boot loader that is intended to implement the gptboot partition selection algorithm just like we did for BIOS booting. While the preferred method for UEFI is to use the UEFI Boot Manager protocol, there are situations where that can't be done: some BIOS makers interfere with the protocol in unhelpful ways, there's a new standard for a zero variable write from the client OS, and finally for USB drives that might be mobile between systems with multiple partitions there needs to be a media stable way to select. r348814: Add stuff to disable warning for %S Add the customary warnings to disable format checking on armv7. Code move to new files, and the unconditional setting of WARNS to 6 provoked it on tinerbox... r349008: Fix gcc build by removing redeclaration END