HomeFreeBSD

loader.efi: replace HandleProtocol() with OpenProtocol()

Description

loader.efi: replace HandleProtocol() with OpenProtocol()

The HandleProtocol() is deprecated interface and we should use OpenProtocol()
instead. Moreover, in some firmware implementation(s), the HandleProtocol()
does return device path using static storage, so we can not keep the value
returned there. With same firmware, the OpenProtocol() does return data we
do not need to clone.

Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D21162

Details

Provenance
tsoomeAuthored on Aug 6 2019, 7:27 PM
Parents
rGe9660daffb35: Ignore UFS/FFS superblock check hash failures so as to allow a higher
Branches
Unknown
Tags
Unknown

Event Timeline