[OpenBIOS] patch that causes a regression with Mac OS X booting

Programmingkid programmingkidx at gmail.com
Mon Dec 14 18:28:55 CET 2015


On Dec 13, 2015, at 11:17 PM, Segher Boessenkool wrote:

> On Fri, Dec 11, 2015 at 10:31:03AM -0500, Programmingkid wrote:
>>> The reason it can't be applied is a little complicated. The MacOS 9
>>> bootloader alters the call stack using >r and r> which is illegal
>>> outside of a word in Forth - it's like a function changing it's stack
>>> pointing and hoping the caller can cope upon return.
>> 
>> Apple really made something that does that? What were they thinking?
>> I can only guess that they didn't like Forth.
> 
> It is an extension: they have a separate return stack in interpret mode
> (access to this cannot be mixed with R accesses from compiled code).
> This is well in line with DO LOOP and other structure words in interpret
> mode, which is an OF requirement.
> 
>> The <DESCRIPTION> tag looks like this in yaboot (Used by Linux): 
>> <DESCRIPTION>
>> PowerPC GNU/Linux First Stage Bootstrap
>> </DESCRIPTION>
> 
> Yaboot does not necessarily use CHRP boot scripts, fwiw.
> 
> 
> Segher

Thank you very much Segher.




More information about the OpenBIOS mailing list