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

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

?? x-mips4.html

?? this about vxworks operations systems
?? HTML
?? 第 1 頁 / 共 2 頁
字號(hào):
<!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>

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91麻豆免费在线观看| 色偷偷一区二区三区| 日日夜夜精品免费视频| 欧美高清一级片在线观看| 亚洲精品在线观| 精品成人一区二区三区四区| 91精品国产一区二区三区香蕉| 欧美色综合久久| 欧美亚洲一区二区在线观看| 欧美色倩网站大全免费| 91福利在线观看| 九九精品一区二区| 欧美二区三区91| 欧美日韩国产一区| 欧美一级专区免费大片| 91精品国产一区二区三区| 欧美一级艳片视频免费观看| 欧美人成免费网站| 久久精品视频一区二区| 国产午夜精品一区二区 | 亚洲人成伊人成综合网小说| ...中文天堂在线一区| 国产精品毛片无遮挡高清| 国产精品一区久久久久| 国产老女人精品毛片久久| 国产成人免费av在线| 99精品在线观看视频| 欧美日韩一区不卡| 日韩三级av在线播放| 2019国产精品| 亚洲视频免费看| 亚洲成av人片一区二区梦乃| 韩国欧美国产1区| 成人av免费在线| 欧美日韩国产成人在线91| 亚洲精品一区在线观看| 国产精品成人网| 婷婷开心久久网| 国产福利91精品一区二区三区| 91麻豆国产精品久久| 欧美一区二区女人| 亚洲国产经典视频| 亚洲超碰精品一区二区| 国产一区二区三区免费在线观看| 99精品欧美一区| 日韩免费一区二区三区在线播放| 国产三级欧美三级日产三级99| 一区二区三区免费在线观看| 美女一区二区视频| 91免费观看在线| 99久久精品国产麻豆演员表| 成人理论电影网| 欧美日韩一区二区在线观看| 欧美精品日韩一区| 久久久久国产成人精品亚洲午夜| 国产人成亚洲第一网站在线播放| 一区二区成人在线视频| 蜜臀av性久久久久蜜臀av麻豆| 欧美日韩情趣电影| 精品国产乱码久久久久久图片| 国产亚洲欧美日韩日本| 久久影视一区二区| 国产精品国产精品国产专区不蜜| 日韩国产精品久久久久久亚洲| 成人免费看视频| 欧美一区二区视频在线观看2022 | 亚洲另类中文字| 国模套图日韩精品一区二区| 欧美影院精品一区| 中文字幕精品综合| 青青草97国产精品免费观看无弹窗版 | 午夜久久电影网| 粉嫩av一区二区三区在线播放| 欧美精品日韩综合在线| 一区二区三区在线观看欧美| 国产成人精品一区二| 日韩亚洲欧美成人一区| 亚洲国产日韩在线一区模特| av成人免费在线观看| 国产亚洲制服色| 久久av中文字幕片| 欧美日韩国产精品成人| 亚洲人123区| 成人黄色在线网站| 久久这里只精品最新地址| 日韩高清不卡一区二区三区| 在线观看一区不卡| 亚洲精品久久久蜜桃| 成人激情av网| 国产精品久久久久久久久免费丝袜 | 中文字幕综合网| 成人黄色免费短视频| 久久网这里都是精品| 久久激五月天综合精品| 欧美日本一区二区| 亚洲444eee在线观看| 欧美伊人久久大香线蕉综合69| 亚洲色图清纯唯美| 99精品视频在线观看| 国产精品国产三级国产a| 成人午夜免费电影| 国产精品国产三级国产普通话99 | 欧美卡1卡2卡| 亚洲成人午夜电影| 欧美日韩一本到| 日韩综合小视频| 91精品国产高清一区二区三区 | 91超碰这里只有精品国产| 亚洲国产裸拍裸体视频在线观看乱了 | 在线亚洲+欧美+日本专区| 依依成人精品视频| 欧美综合久久久| 午夜久久久久久电影| 欧美一区二区三区性视频| 麻豆成人91精品二区三区| 欧美一三区三区四区免费在线看| 日韩成人dvd| 精品久久久久久亚洲综合网| 国产在线精品国自产拍免费| 国产亚洲精品精华液| www.爱久久.com| 一区二区高清免费观看影视大全| 欧美日韩国产乱码电影| 美女看a上一区| 国产亚洲人成网站| 一本一本大道香蕉久在线精品 | 日本特黄久久久高潮| 精品少妇一区二区三区在线播放| 国产一区二区免费看| 国产精品久久久久婷婷 | 亚洲精品第1页| 在线播放视频一区| 国产一区二区三区久久悠悠色av| 国产精品久久久久一区 | 亚洲一二三四在线观看| 91精品国产综合久久久蜜臀粉嫩| 久久精品国产99| 欧美国产精品中文字幕| 欧美亚洲另类激情小说| 美女视频黄久久| 综合久久给合久久狠狠狠97色| 欧美亚一区二区| 韩国v欧美v亚洲v日本v| 亚洲色图一区二区| 精品少妇一区二区三区在线视频| 99久久夜色精品国产网站| 日日夜夜精品视频免费| 中文字幕精品综合| 91麻豆精品国产自产在线| 国产福利91精品一区| 亚洲一区二区在线观看视频| 亚洲精品在线电影| 欧美性受xxxx黑人xyx性爽| 精品午夜久久福利影院| 悠悠色在线精品| 久久精品人人做人人综合 | 色欲综合视频天天天| 蜜臀av性久久久久蜜臀aⅴ | 国产麻豆精品在线观看| 亚洲伦理在线免费看| 精品国产区一区| 欧美午夜精品一区二区蜜桃| 国产精品538一区二区在线| 亚洲国产婷婷综合在线精品| 国产欧美精品一区二区色综合| 欧美三级蜜桃2在线观看| 国产suv精品一区二区三区| 天天影视色香欲综合网老头| 国产精品美女一区二区在线观看| 欧美一区二区三区在线观看 | 2017欧美狠狠色| 在线播放国产精品二区一二区四区| 成人免费黄色在线| 麻豆精品视频在线| 亚洲一区视频在线| 日韩美女视频一区二区| 久久一二三国产| 日韩一级欧美一级| 欧美午夜电影在线播放| 99热国产精品| 91精品国产综合久久国产大片| 91亚洲精品一区二区乱码| 国产一区二区三区四区五区入口| 天天色天天爱天天射综合| 亚洲三级在线播放| 欧美国产日本韩| 国产欧美视频在线观看| 精品少妇一区二区| 91精品久久久久久久91蜜桃| 欧美日韩精品欧美日韩精品| 色综合久久天天| 色综合久久久网| 91亚洲永久精品| 99免费精品在线观看| 国产999精品久久| 国产精品资源网站| 国产乱码字幕精品高清av| 乱一区二区av| 寂寞少妇一区二区三区| 老色鬼精品视频在线观看播放|