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.

Saving context before switching to IRQ (timer interrupt)on TMS570LC43x microcontroller

I am working on setting up operating system (scheduler) for my current project.
I am  using RTI module of TMS570LC43x microcontroller to setup timer interrupt to schedule the real time scheduler. 
Per the Manual section 19.3 VIM vector is configured, vector interrupt table(VIM RAM) is initialized with ISR address before enabling interrupt. When CPU receives timer interrupt automatically switches to ISR routine.
My question is how am I going to save the context (we have our own save context macro) before switching to ISR routine.