When I configure a TSK name it as task0, it will create a symbol task0$stack point to the task stack, but what is the symbol task0$stkptr denotes?
task0$stkptr is the initial stack pointer for a statically generated task0. It marks the top of the initial TSK stack frame. The initial TSK stack frame is the stack frame, generated by TSK creation code, that allows a TSK to be switched in for the first time. task0$stack is the base address of task0’s stack.