SPARC BSP: Global Register usage

Antonio da Silva Fariña adasilva at
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.



More information about the users mailing list