Initialize the Task Control Block

Apr 22, 2005 3 Replies

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


How on earth do you expect anybody to be able to answer that, without even a subtle *hint* at what platform it could be you're talking about?

Hans-Bernhard Broeker (broeker@physik.rwth-aachen.de) Even if all the snow were burnt, ashes would remain.

Did you expect any sense from someone posting from google?

Maybe he mixed up the group, he posts a lot on comp.sys.arm.

42Bastian Do not email to bastian42@yahoo.com, it's a spam-only account :-) Use @monlynx.de instead !

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required