HomeFreeBSD

stand: Create common gen_setcurrdev and replace code

Description

stand: Create common gen_setcurrdev and replace code

Replace 4 identical copies of *_setcurrdev with gen_setcurrdev to avoid
having to create a 5th copy. uboot_setcurrdev is actually different and
needs to remain separate (even though it's quite similar).

Sponsored by: Netflix
Reviewed by: fuz@fuz.su, kevans
Differential Revision: https://reviews.freebsd.org/D38003

(cherry picked from commit 1c1783d66bc81ebd0c1304b1f613a9403c073915)

Details

Provenance
impAuthored on Jan 11 2023, 10:14 PM
Reviewer
kevans
Differential Revision
D38003: stand: Create common gen_setcurrdev and replace code
Parents
rG6ebdd83cae10: stand/efi: Better variable name
Branches
Unknown
Tags
Unknown