Hi there,
I am wondering how to fill-up the TCB at the very first time when the intended task is yet to run. At that point of time, the only available information about the task is its address. As the relevant TCB is not filled correctly, in the context switching operation, the registers' status popped from TCB are meaningless ,and likely to cause programs hang.
Your suggestion is very much appreciated
Thanks
vib