]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Simplify boot1 allocation of handles.
authorimp <imp@FreeBSD.org>
Mon, 6 May 2019 19:35:30 +0000 (19:35 +0000)
committerimp <imp@FreeBSD.org>
Mon, 6 May 2019 19:35:30 +0000 (19:35 +0000)
commiteacbda104092c85ae16843412a50612055c80f43
treef65b45675ef60eda6a43b8e3d2bfcac2a75f4e28
parentc8679b8bb2f1d0f7abae5972cca507cd14bf66ae
Simplify boot1 allocation of handles.

There's no need to pre-malloc the number of handles. Instead call
LocateHandles twice, once to get the size, and once to get the
data.
stand/efi/boot1/boot1.c