📄 flashmem.ax(2).toc3.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head><link rel="STYLESHEET" type="text/css" href="wrs.css"><title><i class="i">mkbootTffs</i>( ) Subroutines </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%282%29.TOC.html"><img border="0" alt="[Top]" src="icons/top.gif"></a><a href="flashMem.aX%282%29.TOC2.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="flashMem.aX%282%29.TOC4.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="4979"> <i class="i">mkbootTffs</i>( ) </a></i></h2></font><h4 class="SH"><a name="4980"> </a>NAME </h4><dl class="margin"><dl class="margin"><dd><a name="4981"><div class="aX"><b class="routine"><i class="routine">mkbootTffs</i></b><b>( )</b> - make the specified flash device a boot device </div></a></dl></dl><h4 class="SH"><a name="4982"> </a>SYNOPSIS </h4><dl class="margin"><dl class="margin"><dd><pre class="Code"><b><a name="4984">STATUS mkbootTffs ( int drive, /* drive number: (0 - TFFS_MAX_DRIVES - 1) */ int removable, /* removable or not: (TRUE - FALSE) */ char *in /* name of file to read: "bootrom_uncmp" */ )</a></b></pre></dl></dl><h4 class="SH"><a name="4990"> </a>DESCRIPTION </h4><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="4991"> </a>This command sets up the flash device, <i class="textVariable">drive</i>, as a boot device. The <i class="term">removable</i> parameter expects a 1 if the flash device is removable or a 0 if it is not. The <i class="textVariable">in </i>parameter specifies the name of the boot file. </p></dl></dl><h4 class="SH"><a name="4992"> </a>EXAMPLES </h4><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="4993"> </a>In the following example, the first zero identifies drive zero as the flash device to be made into a boot device. The second zero indicates that the flash is not removable. The <b>bootrom_uncmp </b>parameter specifies the name of the boot file. </p></dl><dl class="margin"><dd><pre class="Code"><b><a name="4994"> -> mkbootTffs 0, 0, "bootrom_uncmp"</a></b></pre></dl></dl><h4 class="SH"><a name="4995"> </a>RETURNS </h4><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="8557"> </a>OK, or ERROR if there is an error copying from <i class="i">in</i> to the disk.<b class="library"></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%282%29.TOC.html"><img border="0" alt="[Top]" src="icons/top.gif"></a><a href="flashMem.aX%282%29.TOC2.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="flashMem.aX%282%29.TOC4.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 + -