This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS570LS1224: Preserve and Restore Registers during context switch

Part Number: TMS570LS1224

Hello all,

I want to use a RTOS on a TMS570LS1224. I took a look at FreeRTOS and ThreadX wich provides ports for the Cortex-R4F. In the context save and restore functions the registers r0 to r15 are handled and in case the FPU is active also the registers d0 to d15. I wonder why the registers S0 to S31 does not need to be preserved during a context switch?

What is the prefered way to detect if the FPU is active and the FPU registers have to be preserved therefore?

Kind regards
Jens