Hi,does anybody has experience with the Infineon's TriCore...
U
user
U?ytkownik Christian Christmann napisa?:
Hi,
Did you read documentation? The CSA is the area in memory where processor can store his context. This area may consists of cpu registers, i.e: a0..a15, d0..d15, pcxi, psw, pc, etc. The cpu stores his registers in that area during the context switching - for example during calling subroutine or in multitasking environment (task switching).
Sorry for my english :-)
user
U
user
Hi,
The CSA is the area in memory where processor can store his context. This area may consists of cpu registers, i.e: a0..a15, d0..d15, pcxi, psw, pc, etc. The cpu stores his registers in that area during the context switching - for example during calling subroutine or in multitasking environment (task switching).
The CSA is organized as a list. AFAIR there is some register which points to the last free entry in CSA. When the CALL instruction is executing the CPU stores his "old" context (context of calling function) in the next free CSA area. When cpu will be leaving called subroutine he will automatically restore his "old" context, so after exit from calling procedure
- cpu registers will contain "old" values.
Sorry for my english :) I hope, I'm not complicated this description so much...
user
C
Christian Christmann
Thank you very much for your answer. It helped me a lot. I had no problems with your English ;)
Join the Discussion
Have something to add? Share your thoughts — no account required.
Didn't find your answer?
Ask the community — no account required
Report Content
You are reporting this content to the moderators. They will look at it
ASAP.