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.

questions about cmd file for TMS570



hi,all

     In cmd file for TMS570 ,I saw

    .STACK_DATA_svc     : {. += 1024;} > STACKS, RUN_START(StackModeSVC)
    .STACK_DATA_fiq     : {. += 1024;} > STACKS, RUN_START(StackModeFIQ)
    .STACK_DATA_irq     : {. += 1024;} > STACKS, RUN_START(StackModeIRQ)
    .STACK_DATA_abt     : {. += 1024;} > STACKS, RUN_START(StackModeABT)
    .STACK_DATA_und     : {. += 1024;} > STACKS, RUN_START(StackModeUND)
    .STACK_DATA_sys     : {. += 1024;} > STACKS, RUN_START(StackModeSYS)

There   is no definition  for STACK_DATA_usr ,why?And why define different  stack space for  TMS570?

Is there any document for the grammar and illustration about how to write  the cmd file for TMS570?

Another question ,what's the difference between the SVC and USR state of TMS570? Many books say that the SVC state has higher privilage level than USR state ,please tell me the detail part of this privilage ,for TMS570,which thing can be done in SVC state but can't be done in USR state ,if the CPU work in SVC state ,what's the risk ?

Hope to get answer soon ,thanks .