📄 x-vxsim2.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head><link rel="STYLESHEET" type="text/css" href="wrs.css"><title> VxSim </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 href="GuideIX.html"><img border="0" alt="[Index]" src="icons/index.gif"></a><a href="x-vxsim.html"><img border="0" alt="[Top]" src="icons/top.gif"></a><a href="x-vxsim1.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="x-vxsim3.html"><img border="0" alt="[Next]" src="icons/next.gif"></a></p><font face="Helvetica, sans-serif" class="sans"><h3 class="H2"><i><a name="84413">H.2 The Built-in Simulator</a></i></h3></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84414"> </a>All the functionality of the built-in simulator is available with the optional product. All the information in this section applies to both versions of VxSim. For information specific to the optional product, see <a href="x-vxsim5.html#84752"><i class="title">H.5 VxSim Networking Component</i></a>.</p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H4"><i><a name="84418">Installation and Configuration</a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84419"> </a>Tornado 2.0 comes configured with basic VxSim on all hosts. Installing and starting Tornado as described in the <i class="title">Tornado Getting Started Guide</i> installs and starts the basic VxSim. </p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H4"><i><a name="84421">Starting VxSim </a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84422"> </a>VxSim automatically starts when you request a function that requires a connection to a target. For example, when you request download of a module, if you have not started a target server VxSim and a target server are automatically started.</p><dd><p class="Body"><a name="84423"> </a>You can also start VxSim from the command line or the VxSim icon on the launcher (UNIX) or from the <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Start>Run</font></b> dialog box (Windows) using the command <b class="command">vxWorks</b>. </p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H4"><i><a name="85826">Rebooting VxSim</a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="85850"> </a>As with other targets, you can reboot VxSim by typing <b>CTRL+X</b> in the shell. </p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H4"><i><a name="85849">Exiting VxSim</a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="85827"> </a><font face="Helvetica, sans-serif" size="-1" class="sans"><b class="hb">Windows:</b></font> Close the VxSim window.</p><dd><p class="Body"><a name="86105"> </a><font face="Helvetica, sans-serif" size="-1" class="sans"><b class="hb">HP-UX:</b></font> Close the VxSim window or use <b class="symbol_UC">CTRL</b><b class="symbol_lc">+\</b> in the VxSim window.</p><dd><p class="Body"><a name="85838"> </a><font face="Helvetica, sans-serif" size="-1" class="sans"><b class="hb">Solaris:</b></font> Normally, <b class="symbol_UC">CTRL</b><b class="symbol_lc">+\</b> is mapped to <b class="symbol_UC">SIGQUIT</b>, which is the correct way to exit VxSim. however, in Solaris 2.6, the default terminal does not have this mapping. To check your mapping, use: </p><dl class="margin"><dd><pre class="Code2"><b><a name="85906"></b><tt class="output">%</tt><b> stty -a</a></b></pre></dl><dd><p class="Body"><a name="86117"> </a>To change it to <b class="symbol_UC">CTRL</b><b class="symbol_lc">+\</b>, use:</p><dl class="margin"><dd><pre class="Code2"><b><a name="86116"></b><tt class="output">%</tt><b> stty quit ^\</a></b></pre></dl><dd><p class="Body"><a name="85907"> </a>Then you can exit VxSim by typing <b class="symbol_UC">CTRL</b><b class="symbol_lc">+\</b> in the VxSim window.</p></dl></dl><dl class="margin"><dd><p class="table" callout><table border="0" cellpadding="0" cellspacing="0"><tr valign="top"><td valign="top" width="40"><br><img border="0" alt="*" src="icons/caution.gif"></td><td><hr><div class="CalloutCell"><a name="85844"><b class="symbol_UC"><font face="Helvetica, sans-serif" size="-1" class="sans">CAUTION: </font></b></a>Do not attempt to exit a VxSim session running ULIP on Solaris 2.5 or 2.6 using <b class="symbol_UC">SIGKILL</b>. This prevents VxSim from restarting properly. </div></td></tr><tr valign="top"><td></td><td><hr></td></tr><tr valign="middle"><td colspan="20"></td></tr></table></p callout></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H4"><i><a name="84424">System-Mode Debugging </a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84425"> </a>System-mode debugging allows developers to suspend the entire VxWorks operating system.<sup><a href="#foot"><b class="FootnoteMarker">1</b></a></sup> One notable application of system mode is to debug ISRs, which--because they run outside any task context--are not visible to debugging tools in the default task mode. For more discussion of system mode, see the chapters <i class="title">Shell</i> and <i class="title">Debugger</i> in the <i class="title">Tornado User's Guide</i>.</p><dd><p class="Body"><a name="84429"> </a>All three simulators are automatically configured for system mode debugging by including the WDB pipe back end. </p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H4"><i><a name="84430">File Systems</a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84431"> </a>VxSim can use any VxWorks file system. The default file system is the pass-through file system, passFs, which is unique to VxSim. </p><dd><p class="Body"><a name="84432"> </a>passFs allows direct access to any files on the host. Essentially, the VxWorks functions <b class="routine"><i class="routine">open</i></b><b>(</b> <b>)</b>, <b class="routine"><i class="routine">read</i></b><b>(</b> <b>)</b>, <b class="routine"><i class="routine">write</i></b><b>(</b> <b>)</b>, and <b class="routine"><i class="routine">close</i></b><b>(</b> <b>)</b> eventually call the host equivalents in the host library <b class="file">libc.a</b>. With passFs, you can open any file available on the host, including NFS-mounted files. By default, the <b class="symbol_UC">INCLUDE_PASSFS</b> macro (UNIX) or the <b class="symbol_UC">INCLUDE_NTPASSFS</b> (Windows) is enabled to cause this file system to be mounted on startup. </p><dd><p class="Body"><a name="84433"> </a>For more information on passFs, see the library entry for <b class="library">passFsLib</b> in the <i class="title">VxWorks Reference Manual</i> or HTML help. For more information on other VxWorks file systems, see <a href="c-filesys.html#84368"><i class="title">4. Local File Systems</i></a>. </p></dl></dl><a name="foot"><hr></a><p class="FootnoteNumberMarker">1: <span class="Footnote"><a name="84428"> </a>System mode is sometimes also called <i class="term">external mode</i>, reflecting that the target agent operates externally to the VxWorks system in this mode.</span><p class="navbar" align="right"><a href="index.html"><img border="0" alt="[Contents]" src="icons/contents.gif"></a><a href="GuideIX.html"><img border="0" alt="[Index]" src="icons/index.gif"></a><a href="x-vxsim.html"><img border="0" alt="[Top]" src="icons/top.gif"></a><a href="x-vxsim1.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="x-vxsim3.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 + -