[OpenBIOS] SOLVED: the mystery of Solaris on SPARC32 and the missing Forth arguments
mark.cave-ayland at siriusit.co.uk
Wed Oct 20 20:40:33 CEST 2010
Blue Swirl wrote:
>> I suspect that you'll need to come up with something along similar lines for
>> SPARC32. Blue, any thoughts?
> On Sparc32 the client interface is not used and there is no 'flushw'
> instruction, but otherwise saving and restoring %g registers and
> flushing windows may be helpful.
Hmmm okay. Please find attached the following very very alpha quality
patch (read: it doesn't work) that attempts to flush the windows using
the FLUSH_ALL_KERNEL_WINDOWS macro and save the globals in an ASM
wrapper before calling the actual obp_fortheval_v2() C function, then
attempting to restore the globals and return.
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
Mark Cave-Ayland - Senior Technical Architect
PostgreSQL - PostGIS
Sirius Corporation plc - control through freedom
t: +44 870 608 0063
Sirius Labs: http://www.siriusit.co.uk/labs
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3653 bytes
Desc: not available
More information about the OpenBIOS