📄 flashmem.ax(1).toc2.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head><link rel="STYLESHEET" type="text/css" href="wrs.css"><title>tffsConfig Libraries </title></head><body bgcolor="FFFFFF"><p class="navbar" align="right"><a href="index.html"><img border="0" alt="[Contents]" src="icons/contents.gif"></a></a><a href="flashMem.aX%281%29.TOC.html"><img border="0" alt="[Top]" src="icons/top.gif"></a><a href="flashMem.aX%281%29.TOC1.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="flashMem.aX%281%29.TOC3.html"><img border="0" alt="[Next]" src="icons/next.gif"></a></p><font face="Helvetica, sans-serif" class="sans"><h2 class="H1"><i><a name="4506"> tffsConfig </a></i></h2></font><h4 class="SH"><a name="4507"> </a>NAME </h4><dl class="margin"><dl class="margin"><dd><a name="4508"><div class="aX"><b class="file">tffsConfig</b> - TrueFFS configuration file for VxWorks </div></a></dl></dl><h4 class="SH"><a name="4509"> </a>SYNOPSIS </h4><dl class="margin"><dl class="margin"><dd><div class="Item"><a name="4511"> </a><b><i>tffsShowAll</i></b><b>( )</b> - show device information on all socket interfaces </div><dd><div class="Item"><a name="4512"> </a><b><i>tffsShow</i></b><b>( )</b> - show device information on a specific socket interface </div><dd><div class="Item"><a name="4513"> </a><b><i>tffsBootImagePut</i></b><b>( )</b> - write to the boot-image region of the flash device </div></dl><dl class="margin"><dd><pre class="Code"><b><a name="4514">void tffsShowAll (void) </a></b><dd> <b><a name="4515">void tffsShow (int driveNo) </a></b><dd> <b><a name="4516">STATUS tffsBootImagePut (int driveNo, int offset, char * filename) </a></b></pre></dl></dl><h4 class="SH"><a name="4517"> </a>DESCRIPTION </h4><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="4518"> </a>This source file, with the help of <b>sysTffs.c</b>, configures TrueFFS for VxWorks. The functions defined here are generic to all BSPs. To include these functions in the BSP-specific module, the BSP's <b>sysTffs.c</b> file includes this file. Within the <b>sysTffs.c</b> file, define statements determine which functions from the <b>tffsConfig.c</b> file are ultimately included in TrueFFS.</p><dd><p class="Body"><a name="4519"> </a>The only externally callable routines defined in this file are <b><i>tffsShow</i></b><b>( )</b>, <b><i>tffsShowAll</i></b><b>( )</b>, and <b><i>tffsBootImagePut</i></b><b>( )</b>. You can exclude the show utilities if you edit <b>config.h</b> and undefine <b>INCLUDE_SHOW_ROUTINES</b>. You can exclude <b><i>tffsBootImagePut</i></b><b>( )</b> if you edit <b>sysTffs.c</b> and undefine <b>INCLUDE_TFFS_BOOT_IMAGE</b>. (If you find these utilities are missing and you want them included, edit <b>config.h</b> and define <b>INCLUDE_SHOW_ROUTINES</b> and <b>INCLUDE_TFFS_BOOT_IMAGE</b>.)</p><dd><p class="Body"><a name="4520"> </a>However, for the most part, these externally callable routines are only a small part of the TrueFFS configuration needs handled by this file. The routines internal to this file make calls into the MTDs and translation layer modules of TrueFFS. At link time, resolving the symbols associated with these calls pulls MTD and translation layer modules into VxWorks.</p><dd><p class="Body"><a name="4521"> </a>However, each of these calls to the MTDs and the translation layer modules is only conditionally included. The constants that control the includes are defined in <b>sysTffs.c</b>. To exclude an MTD or translation layer module, you edit <b>sysTffs.c</b>, undefine the appropriate constant, and rebuild <b class="file">sysTffs.o</b>. These constants are described in the reference entry for <b class="library">sysTffs</b>. </p></dl></dl><h4 class="SH"><a name="4533"> </a>INCLUDE FILES </h4><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="4534"> </a><b>stdcomp.h</b> </p></dl></dl><a name="foot"><hr></a><p class="navbar" align="right"><a href="index.html"><img border="0" alt="[Contents]" src="icons/contents.gif"></a></a><a href="flashMem.aX%281%29.TOC.html"><img border="0" alt="[Top]" src="icons/top.gif"></a><a href="flashMem.aX%281%29.TOC1.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="flashMem.aX%281%29.TOC3.html"><img border="0" alt="[Next]" src="icons/next.gif"></a></p></body></html><!---by WRS Documentation (), Wind River Systems, Inc. conversion tool: Quadralay WebWorks Publisher 4.0.11 template: CSS Template, Jan 1998 - Jefro --->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -