Re: subr_firmware: implementing firmware_path kenv support
Warner Losh <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.hackers |
|---|---|
| Message-ID | <CANCZdfoRKEudMhof7dU2TgqTwCg_S64jO=KYjJtWrrQW4ikE+Q@mail.gmail.com> |
On Thu, Feb 26, 2026 at 6:34 PM Benjamin Lee McQueen <[email protected]> wrote: > hi freebsd-hackers@ > > i'm looking into the TODO in sys/kern/subr_firmware.c ~line 288 which > mentions > looping over a path list fetched from a firmware_path kenv that the > loader sets. > > after looking through the src, it looks like the loader doesn't set the > kenv yet > > would an implementation require a loader change in stand/ or have i > misread > something? > > also, before i start writing after the above has been clarified, > is this a desired feature? > what's the format for the path list? (colon seperated, or like commas or > sometihng else)? > It likely is a desirable thing. We likely want it to default to the normal kernel loading path if this is not set. Neither the kernel nor the loader use/define/set this, so I'd suggest making it as much we do for module_path. Warner