⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 x-9603.html

📁 vxworks相关论文
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head><link rel="STYLESHEET" type="text/css" href="wrs.css"><title>    Intel i960   </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-960.html"><img border="0" alt="[Top]" src="icons/top.gif"></a><a href="x-9602.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="x-9604.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="84444">C.3  &nbsp;&nbsp;Interface Variations</a></i></h3></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84445"> </a>This section describes particular routines that are specific to i960 targets in any of the following ways:</p></dl><dl class="margin"><p class="listspace"><ul class="Bullet" type="disc"><li><a name="84446"> </a>available only on i960 targets </li></ul></p><p class="listspace"><ul class="Bullet" type="disc"><li><a name="84447"> </a>parameters specific to i960 targets </li></ul></p><p class="listspace"><ul class="Bullet" type="disc"><li><a name="84448"> </a>special restrictions or characteristics on i960 targets </li></ul></p></dl><dl class="margin"><dd><p class="Body"><a name="84449"> </a>For complete documentation on these routines, see the reference entries.</p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H4"><i><a name="84450">Initialization</a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84452"> </a>There are several differences in what <b class="routine"><i class="routine">sysInit</i></b><b>(&nbsp;)</b>initializes and in the initialization sequence on i960 targets.</p></dl></dl><dl class="margin"><dd><font face="Helvetica, sans-serif" size="-1" class="sans"><h5 class="HU"><i><a name="84453">Differences in <b class="routine"><i class="routine">sysInit</i></b><b>(&nbsp;)</b>Routine</a></i></h5></font><dl class="margin"><dd><p class="Body"><a name="84454"> </a>For the i960, the <b class="routine"><i class="routine">sysInit</i></b><b>(&nbsp;)</b> routine initializes the system interrupt and fault tables with default stubs, in addition to its standard functions.</p></dl><dd><font face="Helvetica, sans-serif" size="-1" class="sans"><h5 class="HU"><i><a name="84455">ROM-Based VxWorks with i960 Targets</a></i></h5></font><dl class="margin"><dd><p class="Body"><a name="84459"> </a>As with other target architectures, the routines <b class="routine"><i class="routine">romInit</i></b><b>(&nbsp;)</b>and <b class="routine"><i class="routine">romStart</i></b><b>(&nbsp;)</b> execute first. Then initialization continues at the <b class="routine"><i class="routine">sysInit</i></b><b>(&nbsp;)</b> call, rather than with the <b class="routine"><i class="routine">usrInit</i></b><b>(&nbsp;)</b> call as for other ROM-based targets.</p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H4"><i><a name="84461">Data Breakpoint Routine <b class="routine"><i class="routine">bh</i></b><b>(&nbsp;)</b> </a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84462"> </a>In addition to being able to break at an instruction with <b class="routine"><i class="routine">b</i></b><b>(&nbsp;)</b>, the i960CA permits breakpoints at a data address using <b class="routine"><i class="routine">bh</i></b><b>(&nbsp;)</b>. For more information, see the reference entry for <b class="routine"><i class="routine">bh</i></b><b>(&nbsp;)</b>. For example, the following command from the VxWorks shell causes a data breakpoint on any access to data address 0xFFFF:</p><dl class="margin"><dd><pre class="Code2"><b><a name="84463"></b><tt class="output">-&gt;</tt><b>&nbsp;bh&nbsp;0xFFFF,&nbsp;3</a></b></pre></dl></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="84910"><b class="symbol_UC"><font face="Helvetica, sans-serif" size="-1" class="sans">CAUTION:  </font></b></a>The <b class="routine"><i class="routine">bh</i></b><b>(&nbsp;)</b> routine does not work reliably on instruction fetches; use <b class="routine"><i class="routine">b</i></b><b>(&nbsp;)</b> to break on instructions.</div></td></tr><tr valign="top"><td></td><td><hr></td></tr><tr valign="middle"><td colspan="20"></td></tr></table></p callout><dl class="margin"><dd><p class="Body"><a name="84476"> </a>The delete-breakpoint routines, <b class="routine"><i class="routine">bd</i></b><b>(&nbsp;)</b> and <b class="routine"><i class="routine">bdall</i></b><b>(&nbsp;)</b>, delete both instruction and data breakpoints. Only two data breakpoints can be present in the system at one time.</p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H4"><i><a name="84478">Parameter Change for <b class="routine"><i class="routine">intLevelSet</i></b><b>(&nbsp;)</b></a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84479"> </a>The i960 version of <b class="routine"><i class="routine">intLevelSet</i></b><b>(&nbsp;)</b> takes an argument from 0 to 31. Level 31 is equivalent to locking all interrupts.</p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H4"><i><a name="84481">Results Change for <b class="library">memLib</b></a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84482"> </a>In VxWorks for the i960, the library <b class="library">memLib</b> forces both partitions and blocks returned by <b class="routine"><i class="routine">malloc</i></b><b>(&nbsp;)</b> to be 16-byte aligned.</p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H4"><i><a name="84486">Math Routines</a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84487"> </a>Mathematics routines using software floating-point emulation are part of the GNU/960 distribution from Cygnus, in the libraries <b class="library">libm.a</b>, <b class="library">libg.a</b>, and <b class="library">libgcc.a</b>. The location of these libraries is described in <i class="textVariable">installDir</i><b class="file">/target/h/make/make.I960</b><i class="textVariable">xx</i><b class="file">gnu</b> by the variable <b class="symbol_UC">LIBS </b>(where <i class="textVariable">xx</i> identifies libraries specific to the CA, JX, KA, or KB variant of the i960 architecture).</p><dd><p class="Body"><a name="84488"> </a>The following double-precision floating-point routines are included in the GNU/960 distribution from Cygnus:<p class="table"><table border="0" cellpadding="0" cellspacing="0"><tr valign="top"><td colspan=1 rowspan=1><p class="BodyLeft"><a name="84491"> </a><b class="routine"><i class="routine">acos</i></b><b>(&nbsp;)</b> </p></td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="84493"> </a><b class="routine"><i class="routine">asin</i></b><b>(&nbsp;)</b> </p></td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="84495"> </a><b class="routine"><i class="routine">atan</i></b><b>(&nbsp;)</b> </p></td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="84497"> </a><b class="routine"><i class="routine">atan2</i></b><b>(&nbsp;)</b> </p></td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="84499"> </a><b class="routine"><i class="routine">ceil</i></b><b>(&nbsp;)</b> </p></td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="84501"> </a><b class="routine"><i class="routine">cos</i></b><b>(&nbsp;)</b> </p></td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="84503"> </a><b class="routine"><i class="routine">cosh</i></b><b>(&nbsp;)</b> </p></td></tr><tr valign="top"><td colspan=1 rowspan=1><p class="BodyLeft"><a name="84505"> </a><b class="routine"><i class="routine">exp</i></b><b>(&nbsp;)</b> </p></td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="84507"> </a><b class="routine"><i class="routine">fabs</i></b><b>(&nbsp;)</b> </p></td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="84509"> </a><b class="routine"><i class="routine">floor</i></b><b>(&nbsp;)</b> </p></td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="84511"> </a><b class="routine"><i class="routine">fmod</i></b><b>(&nbsp;)</b> </p></td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="84513"> </a><b class="routine"><i class="routine">log</i></b><b>(&nbsp;)</b> </p></td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="84515"> </a><b class="routine"><i class="routine">log10</i></b><b>(&nbsp;)</b> </p></td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="84517"> </a><b class="routine"><i class="routine">log2</i></b><b>(&nbsp;)</b> </p></td></tr><tr valign="top"><td colspan=1 rowspan=1><p class="BodyLeft"><a name="84519"> </a><b class="routine"><i class="routine">pow</i></b><b>(&nbsp;)</b> </p></td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="84521"> </a><b class="routine"><i class="routine">sin</i></b><b>(&nbsp;)</b> </p></td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="84523"> </a><b class="routine"><i class="routine">sinh</i></b><b>(&nbsp;)</b> </p></td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="84525"> </a><b class="routine"><i class="routine">sqrt</i></b><b>(&nbsp;)</b> </p></td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="84527"> </a><b class="routine"><i class="routine">tan</i></b><b>(&nbsp;)</b> </p></td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="84529"> </a><b class="routine"><i class="routine">tanh</i></b><b>(&nbsp;)</b> </p>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -