[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: putting yaboot and the bootinfo in one file
>I don't think Apple's OF implements the CHAIN client interface function,
>even. You could set some Forth word to something (via INTERPRET) and drop
>back to the bootinfo, which can then act on it, though. Also note that
>for CHAIN'ing you'd need to parse the ELF file yourself, and allocate
>memory for it, and... etc. With this in mind, CHAIN is pretty much useless.
>
Parsing ELF isn't that difficult, and we can eventually make
something slightly bastard: that is a bootinfo script with
an appended binary (and not ELF) image of yaboot that knows
where to load it. That would make it easier for the forth
code to free yaboot's memory if it wants to exit & then load
something else.
Ben.