SPARC BSP: Global Register usage

Antonio da Silva Fariña adasilva at diatel.upm.es
Tue Apr 4 13:58:16 UTC 2006


Hi all

I need to write some assembler routines in a RTEMS application
and I wonder about RTEMS global register usage.

Does RTEMS make a specific use of any Sparc Global Registers ?

In V8 ABI G1 register is defined as Scratch. This makes the register
volatile across function calls. But, what about context switch ? Is
G1 saved and later restored inside task context.

Thanks

DaSilva.



More information about the users mailing list