Searching the Tornado Source on a Windows Host


All of the Windows PC's in the lab (and any PC on which you have installed Tornado tools) has a source tree which includes the source files that make up a VxWorks target kernel. Sometimes it will be necessary to consult this code to determine specific things about Vxworks configuration or interfaces. To do this, you must search the Tornado source tree.

The Tornado source tree is located at:

TornadoInstallDirectory\target\src (.c files) TornadoInstallDirectory\target\h (.h files)

Typically, TornadoInstallDirectory will be C:\Tornado or C:\Tornadox.x.x where x.x.x is the current version.

One reason to search the Tornado source tree would be to find the defnition of the WIND_TCB structure. An easy way to do this is to use the Windows built in Search function under start->search and enter the text you would like to search for, in this case WIND_TCB.

Another way would be to use the DOS "find" utility. See the example command line below.

C:\>find c:\Tornado\target\h\*.h "WIND_TCB" > findresult.txt

The ">" character sends the result of the find operation to the text file findresult.txt.You can look at the results in this .txt file to find a definition (you should see a typedef struct followed by a } WIND_TCB;)