Initialize the Task Control Block

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

Reply to
vib
Loading thread data ...

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.
Reply to
Hans-Bernhard Broeker

Did you expect any sense from someone posting from google?

Reply to
nospam

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 !
Reply to
42Bastian Schick

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.