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

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
rGc7b1e980ae16: firmware: load binary firmware files
Branches
Unknown
Tags
Unknown