[OpenBIOS] SOLVED: the mystery of Solaris on SPARC32 and the missing Forth arguments

Blue Swirl blauwirbel at gmail.com
Wed Oct 20 22:20:43 CEST 2010

On Wed, Oct 20, 2010 at 7:18 PM, Mark Cave-Ayland
<mark.cave-ayland at siriusit.co.uk> wrote:
> Blue Swirl wrote:
>>> Sadly I think that I've misunderstood something in my copy-and-paste
>>> quality
>>> patch as SPARC32 Solaris boot seems to get *less* far than it did without
>>> this patch, so my effort must have a fundamental bug somewhere...
>> At least %fp is not loaded and return with 'retl' is not OK if the
>> function is not a leaf.
> Ah okay - so swap retl with plain ret? And can I just use %sp like the
> SPARC64 version?

Yes. If you add 'save' and 'restore', then %sp can be used.

More information about the OpenBIOS mailing list