Soliciting opinions on an extension of the bootinfo structure

Peter Grehan grehan at freebsd.org
Thu Sep 8 22:44:01 UTC 2011


> I'm proposing an extension framework for the bootinfo structure used
> to pass information from the bootstrap/loader to the kernel. Although
> I'm only proposing this for the MIPS bootinfo, it's completely
> applicable to any of them.
>
> What I propose is adding an optional platform extension structure:
> bootinfo_pext, surrounded by #ifdef BOOTINFO_PEXT

  Any reason not to put the vendor bits into another piece of loader 
metadata ? That seems the extensible way to add additional info from the 
loader, rather than extending bootinfo (as was the case pre-loader days).

later,

Peter.


More information about the freebsd-arch mailing list