02.03.2014 Views

Tornado

Tornado

Tornado

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Tornado</strong> 2.0<br />

User’s Guide<br />

makeSymTbl<br />

NAME<br />

SYNOPSIS<br />

DESCRIPTION<br />

makeSymTbl – make a table of symbols<br />

makeSymTbl objMod<br />

This tool creates the C code for a symbol table structure containing the names, addresses,<br />

and types of all global symbols in the specified object module; the generated code is<br />

written to standard output. usrRoot( ) in usrConfig.c inserts these symbols in the<br />

standAloneSymTbl.<br />

This tool is used only when creating a standalone system. Normally, it is not needed, since<br />

the symbol table is constructed by reading and interpreting the symbol table contained in<br />

the system load module (a.outformat), either from the local boot disk or from a host<br />

system over the network.<br />

The generated symbol table is an array of type SYMBOL accessible through the global<br />

variable standTbl. The array contains standTblSize elements. These are the only external<br />

declarations in the generated code.<br />

For an example, see the file $WIND_BASE/target/config/bspname/symTbl.c, which is<br />

generated by this tool for vxWorks.st in the same directory.<br />

FILES<br />

symLib.h<br />

a_out.h<br />

symbol table header file<br />

UNIX BSD 4.3 object module header file<br />

SEE ALSO<br />

xsym<br />

memdrvbuild<br />

NAME<br />

memdrvbuild – filesystem builder for memDrv<br />

DESCRIPTION The memdrvbuild utility is designed to be used in conjunction with the memDrv( )<br />

memory file driver. It packs files and directories into a compilable C file which can be<br />

built into VxWorks, and then mounted as a filesystem using memDrv( ).<br />

memdrvbuild converts a directory hierarchy, and all of the files contained within it, into a<br />

single C source file. The individual files are converted into C data arrays containing the<br />

contents of the files (which may be in any format), along with administrative data<br />

describing the names and sizes of the files. This constructed C file can then be built into<br />

VxWorks in the normal way.<br />

454

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!