On 5/3/10, Mark Cave-Ayland mark.cave-ayland@siriusit.co.uk wrote:
Tarl Neustaedter wrote:
Those are all SPARC registers. What it's doing is copying the registers to
a buffer, presumably to be restored later.
It looks like the trap registers (%tstate, %tnpc, %tt) are prefixed by
%tl-c - which is presumably the trap-level pointer.
Okay, thanks. Looks like I'll have to browse the OpenBoot source to find out the stack diagrams for these words to reimplement them in OpenBIOS.
There's also more huge chunks of Forth embedded in http://src.opensolaris.org/source/xref/systemz/sirius/usr/src/uts/sun4/os/st...
The memory map in the file claims that OBP's start address would be 0xf0000000. This would mean 256MB of space, solving some of the memory problems we've had.