]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Create boot_img as a global variable
authorimp <imp@FreeBSD.org>
Mon, 22 Apr 2019 18:40:24 +0000 (18:40 +0000)
committerimp <imp@FreeBSD.org>
Mon, 22 Apr 2019 18:40:24 +0000 (18:40 +0000)
commit648110453130751c2f66d0d479b69f069e2e73a9
tree310592babf004d96995d5d441b65e4001ced834f
parent1fdcadf9b2a8c9e191208d32583cd117dace7f09
Create boot_img as a global variable

Get the information from the image that we're booting and store it in
a global variable. Prefer using this to passing it around. Remove the
special case for zfs that set the preferred boot handle by having it
uses this global variable diretly.

Reviewed by: kevans@
Differential Revision: https://reviews.freebsd.org/D20015
stand/efi/include/efi.h
stand/efi/include/efizfs.h
stand/efi/libefi/efizfs.c
stand/efi/loader/main.c