亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? x-mips4.html

?? this about vxworks operations systems
?? 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>    MIPS R3000, R4000, R4650   </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-mips.html"><img border="0" alt="[Top]" src="icons/top.gif"></a><a href="x-mips3.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="x-ppc.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="84661">E.4  &nbsp;&nbsp;Architecture Considerations</a></i></h3></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84662"> </a>This section describes the following characteristics of the MIPS architecture that you should keep in mind as you write a VxWorks application:</p></dl><dl class="margin"><p class="listspace"><ul class="Bullet" type="disc"><li><a name="84663"> </a>Gprel addressing </li></ul></p><p class="listspace"><ul class="Bullet" type="disc"><li><a name="84664"> </a>Reserved registers </li></ul></p><p class="listspace"><ul class="Bullet" type="disc"><li><a name="84665"> </a>Floating-point support </li></ul></p><p class="listspace"><ul class="Bullet" type="disc"><li><a name="84666"> </a>Interrupts </li></ul></p><p class="listspace"><ul class="Bullet" type="disc"><li><a name="84667"> </a>Virtual memory mapping </li></ul></p><p class="listspace"><ul class="Bullet" type="disc"><li><a name="84668"> </a>64-bit support </li></ul></p><p class="listspace"><ul class="Bullet" type="disc"><li><a name="84669"> </a>Memory layout </li></ul></p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H4"><i><a name="84672">Gprel Addressing</a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84675"> </a>The VxWorks kernel uses <i class="term">gprel</i> (<b class="symbol_lc">gp</b>-relative) addressing. However, the VxWorks module loader cannot dynamically load tasks that use gprel addressing.</p><dd><p class="Body"><a name="84677"> </a>To keep the loader from returning an error, compile application tasks with the <b class="command">-G&nbsp;0</b> option. This option tells the compiler not to use the global pointer.</p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H4"><i><a name="84679">Reserved Registers</a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84680"> </a>Registers <b class="symbol_lc">k0</b> and <b class="symbol_lc">k1</b> are reserved for VxWorks kernel use, following standard MIPS usage. The <b class="symbol_lc">gp</b> register is also reserved for the VxWorks kernel, because only the kernel uses gprel addressing, as discussed in above. Avoid using these registers in your applications.</p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H4"><i><a name="84684">Floating-Point Support</a></i></h4></font><dl class="margin"><dd><font face="Helvetica, sans-serif" size="-1" class="sans"><h5 class="HU"><i><a name="84685">R4650</a></i></h5></font><dl class="margin"><dd><p class="Body"><a name="84686"> </a>For the R4650, single precision hardware floating-point support is included by <b class="symbol_UC">INCLUDE_HW_FP </b>(which is included by default in the project facility VxWorks view). Double precision floating-point support is provided by software emulation when you use <b class="symbol_lc">-msoft-float</b>. (Note that <b class="symbol_UC">INCLUDE_SW_FP</b> is not required with <b class="symbol_lc">-msoft-float</b> for the R4650.)</p></dl><dd><font face="Helvetica, sans-serif" size="-1" class="sans"><h5 class="HU"><i><a name="84687">R3000 and R4000</a></i></h5></font><dl class="margin"><dd><p class="Body"><a name="84688"> </a>If your MIPS board includes a floating-point coprocessor (CP1), we recommend you use it for best performance. </p><dd><p class="Body"><a name="84690"> </a>However, if this chip is not available, you can use the GNU<b class="command"> </b>compiler <b class="command">-msoft-float</b> option. This option keeps all floating-point values in integer registers (a pair of them for double-precision) and emulates all floating-point arithmetic.</p><dd><p class="Body"><a name="84691"> </a>To use this software emulation support, select <b class="symbol_UC">INCLUDE_SW_FP</b> in the project facility VxWorks view and unselect <b class="symbol_UC">INCLUDE_HW_FP</b>. Then, in the BSP directory, build VxWorks with the following command:</p><dl class="margin"><dd><pre class="Code2"><b><a name="84692"></b><tt class="output">%</tt><b> make [CPU=<i class="textVariable">cpuType</i>] TOOL=sfgnu</a></b></pre></dl></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H4"><i><a name="84694">Interrupts</a></i></h4></font><dl class="margin"><dd><font face="Helvetica, sans-serif" size="-1" class="sans"><h5 class="HU"><i><a name="84696">MIPS Interrupts </a></i></h5></font><dl class="margin"><dd><p class="Body"><a name="84697"> </a>The MIPS architecture has inputs for six external hardware interrupts and two software interrupts. In cases where the number of hardware interrupts is insufficient, board manufacturers can multiplex several interrupts on one or more interrupt lines. </p><dd><p class="Body"><a name="84698"> </a>The MIPS CPU treats exceptions and interrupts in the same way: it branches to a common vector and provides status and cause registers that let system software determine the CPU state. The MIPS CPU does not switch to an interrupt stack or exception stack, nor does it generate an IACK cycle. These functions must be implemented in software or board-level hardware (for example, the VMEbus IACK cycle is a board-level hardware function). VxWorks for MIPS has implemented a single interrupt stack, and uses task stacks for exception conditions. </p><dd><p class="Body"><a name="84702"> </a>Because the MIPS CPU does not provide an IACK cycle, your interrupt handler must acknowledge (or clear) the interrupt condition. If the interrupt handler does not acknowledge the interrupt, VxWorks hangs while trying to process the interrupt condition.</p><dd><p class="Body"><a name="84703"> </a>VxWorks for MIPS uses a 256-entry table of vectors. &nbsp;You can attach exception or interrupt handlers to any given vector with the routines <b class="routine"><i class="routine">intConnect</i></b><b>(</b>&nbsp;<b>)</b> and <b class="routine"><i class="routine">intVecSet</i></b><b>(</b>&nbsp;<b>)</b>. The files <i class="textVariable">installDir</i><b class="file">/target/h/arch/mips/ivMips.h</b> and<b class="file"> </b><i class="textVariable">bspname</i><b class="file">.h</b> list the vectors used by VxWorks.</p></dl><dd><font face="Helvetica, sans-serif" size="-1" class="sans"><h5 class="HU"><i><a name="84709">Interrupt Support Routines</a></i></h5></font><dl class="margin"><dd><p class="Body"><a name="84711"> </a>Because the MIPS architecture does not use interrupt levels, the <b class="routine"><i class="routine">intLevelSet</i></b><b>(</b>&nbsp;<b>)</b> routine is not implemented. The six external interrupts and two software interrupts can be masked or enabled by manipulating eight bits in the status register with <b class="routine"><i class="routine">intDisable</i></b><b>(</b>&nbsp;<b>)</b> and <b class="routine"><i class="routine">intEnable</i></b><b>(</b>&nbsp;<b>)</b>. Be careful to pass correct arguments to these routines, because the MIPS status register controls much more than just interrupt generation. </p><dd><p class="Body"><a name="84716"> </a>For interrupt control, the routines <b class="routine"><i class="routine">intLock</i></b><b>(</b>&nbsp;<b>)</b> and <b class="routine"><i class="routine">intUnlock</i></b><b>(</b>&nbsp;<b>)</b> are recommended. All interrupts are blocked when calling <b class="routine"><i class="routine">intLock</i></b><b>(</b>&nbsp;<b>)</b>. The routine <b class="routine"><i class="routine">intVecBaseSet</i></b><b>(</b>&nbsp;<b>)</b> has no meaning on the MIPS; calling it has no effect. </p><dd><p class="Body"><a name="84718"> </a>To change the default status register with which all tasks are spawned, use the routine <b class="routine"><i class="routine">taskSRInit</i></b><b>(</b>&nbsp;<b>)</b>. If used, call this routine before <b class="routine"><i class="routine">kernelInit</i></b><b>(</b>&nbsp;<b>)</b> in <b class="routine"><i class="routine">sysHwInit</i></b><b>(</b>&nbsp;<b>)</b>. <b class="routine"><i class="routine">taskSRInit</i></b><b>(</b>&nbsp;<b>)</b> is provided in case your BSP must mask interrupts from all tasks. For example, the FPA interrupt must be disabled for all tasks.</p></dl><dd><font face="Helvetica, sans-serif" size="-1" class="sans"><h5 class="HU"><i><a name="84721">VMEbus Interrupt Handling</a></i></h5></font><dl class="margin"><dd><p class="Body"><a name="84722"> </a>The processing of VMEbus interrupts is the only case where it is not necessary for an interrupt handler to acknowledge the interrupt condition. If you define the option <b class="symbol_UC">VME_VECTORED </b>as TRUE in<b class="file"> config.h</b> (and rebuild VxWorks), <i class="emphasis">all</i> VMEbus interrupts are acknowledged by the low-level exception/interrupt handling code. The VxWorks interrupt vector number corresponds to the VMEbus interrupt vector returned by the VMEbus IACK cycle. With this interrupt handling scheme, VxWorks for MIPS allows multiple VMEbus boards to share the same VMEbus interrupt level without requiring further decoding by a user-attached interrupt handler. </p><dd><p class="Body"><a name="84725"> </a>You can still bind to VMEbus interrupts without vectored interrupts enabled, as long as the VMEbus interrupt condition is acknowledged with <b class="routine"><i class="routine">sysBusIntAck</i></b><b>(</b>&nbsp;<b>)</b> (as defined in <b class="file">sysLib.c</b>). In this case, there is no longer a direct correlation with the vector number returned during the VMEbus IACK cycle. The vector number used to attach the interrupt handler corresponds to one of the seven VMEbus interrupt levels as defined in <i class="textVariable">bspname</i><b class="file">.h.</b> The mapping of the seven VMEbus interrupts to a single MIPS interrupt is board-dependent. </p><dd><p class="Body"><a name="84727"> </a>Vectored interrupts do not change the handling of any interrupt condition except VMEbus interrupts. All the necessary interrupt-acknowledge routines are provided in either <b class="file">sysLib.c</b> or <b class="file">sysALib.s</b>.</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="84902"><b class="symbol_UC"><font face="Helvetica, sans-serif" size="-1" class="sans">CAUTION:  </font></b></a>Not all boards support VME-vectored interrupts. For more information, see the BSP reference entries.<b> </b></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="84740">Virtual Memory Mapping</a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84741"> </a>VxWorks for MIPS operates exclusively in kernel mode and makes use of the <b class="keyword">kseg0</b> and <b class="keyword">kseg1</b> address spaces. A physical addressing range of 512&nbsp;MB is available. Use of the on-chip <i class="term">translation lookaside buffer</i> (TLB) is not supported.</p><b class="BulletHead-run"><li type="disc"><a name="84742"> </a><font face="Helvetica, sans-serif" size="-1" class="sans">kseg0 .&nbsp;&nbsp;</font></b><dl class="margin"><dd><div class="Indent"><a name="84743"> </a>When the most significant three bits of the virtual address are 100, the 2<sup>29</sup>-byte (512&nbsp;MB) kernel physical space labeled <b class="keyword">kseg0</b> is the virtual address space selected. References to <b class="keyword">kseg0</b> are not mapped through the TLB; the physical address selected is defined by subtracting 0x8000 0000 from the virtual address. Caches are always enabled for accesses to these addresses.</div><br></dl>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91精品国产综合久久蜜臀| 日韩欧美在线一区二区三区| 欧美亚洲一区二区三区四区| 精品理论电影在线| 伊人色综合久久天天人手人婷| 麻豆久久久久久久| 欧美主播一区二区三区| 精品入口麻豆88视频| 亚洲激情校园春色| 激情五月播播久久久精品| 99国产精品久久| 久久久久久影视| 亚洲自拍与偷拍| 99久久亚洲一区二区三区青草| 欧美成人福利视频| 亚洲国产精品久久人人爱蜜臀| 国产成人在线免费| 欧美高清视频不卡网| 一区二区三区中文免费| 国产91在线|亚洲| 日韩三级高清在线| 美腿丝袜亚洲一区| 一本大道综合伊人精品热热| 久久久国产精华| 国产福利一区二区三区| 久久综合999| 韩国毛片一区二区三区| 欧美一区二区三区电影| 午夜视黄欧洲亚洲| 欧美日韩国产成人在线91| 一区二区激情视频| 欧美视频在线观看一区二区| 亚洲一区二区三区四区在线观看 | 一区二区国产盗摄色噜噜| 成人av免费在线观看| 亚洲国产精品99久久久久久久久 | 欧美伦理电影网| 午夜视频在线观看一区二区| 欧美久久久久久久久久| 蜜桃免费网站一区二区三区| 日韩一区二区三区四区五区六区| 日本欧美久久久久免费播放网| 欧美精品久久99| 九九精品视频在线看| 久久久久高清精品| 成人性生交大片免费看在线播放| 国产精品人成在线观看免费 | 乱中年女人伦av一区二区| 欧美成人国产一区二区| 国产成人免费高清| 日韩一区中文字幕| 欧美精品丝袜久久久中文字幕| 奇米影视在线99精品| 久久久久久久久99精品| 成av人片一区二区| 五月婷婷激情综合| 久久久久国产精品人| 99re6这里只有精品视频在线观看| 成人精品高清在线| 日韩亚洲欧美在线观看| 韩国女主播一区二区三区| 久久亚洲一级片| 不卡一区二区三区四区| 亚洲亚洲人成综合网络| 日韩欧美国产小视频| 懂色av一区二区在线播放| 一区二区欧美在线观看| 精品国产乱码久久久久久1区2区 | 国产三级精品在线| 色欲综合视频天天天| 美女诱惑一区二区| 中文久久乱码一区二区| 欧美日韩精品高清| 欧美中文字幕一区二区三区亚洲| 日韩成人一级片| 亚洲欧美在线视频| 欧美久久久久久久久中文字幕| 国产伦精品一区二区三区免费迷| 伊人色综合久久天天| 欧美亚洲自拍偷拍| 日韩电影在线看| 中文字幕av一区二区三区免费看| 色婷婷综合五月| 国产一区二区中文字幕| 午夜精品视频在线观看| 中文字幕制服丝袜一区二区三区 | 91.xcao| 国产91精品入口| 亚洲成a人片在线观看中文| 精品日韩99亚洲| 在线电影欧美成精品| av电影在线观看不卡| 日韩精品一级中文字幕精品视频免费观看| 国产欧美中文在线| 日韩一区二区免费在线电影| 色94色欧美sute亚洲线路一ni | 国产精品成人在线观看| 日韩欧美一区在线观看| 欧美亚洲动漫制服丝袜| 99久久精品国产一区| 成人免费视频视频在线观看免费| 九色porny丨国产精品| 亚洲亚洲人成综合网络| 亚洲激情av在线| 亚洲另类中文字| 日韩美女啊v在线免费观看| 久久精品亚洲乱码伦伦中文| 欧美电视剧在线看免费| 欧美va日韩va| 日韩欧美一二三| 欧美一级日韩不卡播放免费| 欧美性受xxxx黑人xyx性爽| 91丝袜国产在线播放| av爱爱亚洲一区| 91在线看国产| 91社区在线播放| 色天使色偷偷av一区二区| 色欲综合视频天天天| 欧美性三三影院| 在线播放国产精品二区一二区四区 | 久久嫩草精品久久久久| 精品国产伦一区二区三区观看体验 | 欧美一级在线免费| 91精品国产综合久久香蕉麻豆| 欧美嫩在线观看| 日韩一级免费观看| 欧美日韩国产不卡| 91精品国产入口在线| 日韩欧美国产精品| 26uuu国产日韩综合| 亚洲精品一区二区在线观看| 久久久噜噜噜久久人人看| 久久女同精品一区二区| 日本一二三不卡| 亚洲欧洲一区二区在线播放| 亚洲色图欧美偷拍| 午夜av一区二区| 色一情一伦一子一伦一区| 在线欧美日韩精品| 538prom精品视频线放| 精品国偷自产国产一区| 欧美激情在线一区二区三区| 成人免费视频在线观看| 亚洲成人免费在线| 国产资源在线一区| 成人午夜视频免费看| 色综合咪咪久久| 91精品国产色综合久久ai换脸| 久久亚洲欧美国产精品乐播| 亚洲图片激情小说| 免费成人在线视频观看| 激情五月婷婷综合网| 色婷婷综合视频在线观看| 日韩欧美你懂的| 亚洲男人的天堂在线观看| 五月婷婷综合激情| 成人免费毛片aaaaa**| 欧美久久久久久久久| 国产欧美一区二区精品忘忧草| 亚洲午夜久久久久| 成人性生交大片免费看中文 | 亚洲电影一级片| 国产91丝袜在线观看| 欧美高清精品3d| 久久久国际精品| 首页亚洲欧美制服丝腿| av成人免费在线| 欧美成人r级一区二区三区| 亚洲精品国产精品乱码不99| 国产精品亚洲一区二区三区在线| 色天使色偷偷av一区二区| 国产午夜精品久久| 秋霞电影一区二区| 欧美性一二三区| 自拍偷拍亚洲综合| 国内精品写真在线观看| 欧美日产在线观看| 亚洲综合一区二区精品导航| 成人免费的视频| 久久精品日产第一区二区三区高清版| 午夜精品免费在线观看| 91美女视频网站| 国产精品久久久久久久久久免费看| 免费国产亚洲视频| 欧美精品18+| 香蕉乱码成人久久天堂爱免费| 本田岬高潮一区二区三区| 2023国产精品| 精品在线免费视频| 欧美一级xxx| 日韩精品欧美成人高清一区二区| 日本高清免费不卡视频| 亚洲柠檬福利资源导航| 91在线码无精品| 亚洲欧美精品午睡沙发| 成人av网在线| 成人欧美一区二区三区1314| 成人三级伦理片| 亚洲天堂免费在线观看视频| 色综合天天综合网天天狠天天 |