HomeFreeBSD

firmware: Allow binary files to be loaded by /boot/loader

Description

firmware: Allow binary files to be loaded by /boot/loader

Files loaded "-t firmware" (or module_type="firmware"). They are
registered with the firmware system using the full path to the file.
There's only one firmware per file, and it is the entire file. We do an
extra firmware_get() on any firmware we find here to prevent them from
ever being unloaded (we can't handle that case sanely).

Sponsored by: Netflix
Reviewed by: tsoome, jhb
Differential Revision: https://reviews.freebsd.org/D43522

(cherry picked from commit 479905a1ed26c54ef29cdff65cf25f7feade654b)

Details

Provenance
impAuthored on Feb 29 2024, 4:36 PM
Reviewer
tsoome
Differential Revision
D43522: firmware: Allow binary files to be loaded by /boot/loader
Parents
rG2ca7b03d6275: firmware: load binary firmware files
Branches
Unknown
Tags
Unknown