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

📄 fpplib.html

📁 vxworks相关论文
💻 HTML
字号:
<html><head><!-- /vobs/wpwr/docs/vxworks/ref/fppLib.html - generated by refgen from fppLib.c --> <title> fppLib </title></head><body bgcolor="#FFFFFF"> <hr><a name="top"></a><p align=right><a href="libIndex.html"><i>VxWorks Reference Manual :  Libraries</i></a></p></blockquote><h1>fppLib</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>fppLib</strong> - floating-point coprocessor support library </p></blockquote><h4>ROUTINES</h4><blockquote><p><p><b><i><a href="./fppLib.html#fppInit">fppInit</a></i>(&nbsp;)</b>  -  initialize floating-point coprocessor support<br><p></blockquote><h4>DESCRIPTION</h4><blockquote><p>This library provides a general interface to the floating-point coprocessor.To activate floating-point support, <b><i><a href="./fppLib.html#fppInit">fppInit</a></i>(&nbsp;)</b> must be called before anytasks using the coprocessor are spawned.  This is done automatically bythe root task, <b><i><a href="./usrConfig.html#usrRoot">usrRoot</a></i>(&nbsp;)</b>, in <b>usrConfig.c</b> when the configuration macro<b>INCLUDE_HW_FP</b> is defined.<p>For information about architecture-dependent floating-point routines, seethe manual entry for fppArchLib.<p>The <b><i>fppShow</i>(&nbsp;)</b> routine displays coprocessor registers on a per-task basis.For information on this facility, see the manual entries for <b><a href="./fppShow.html#top">fppShow</a></b> and<b><i>fppShow</i>(&nbsp;)</b>.<p><b>VX_FP_TASK</b> OPTIONSaving and restoring floating-point registers adds to the context switchtime of a task.  Therefore, floating-point registers are not savedand restored for every task.  Only those tasks spawned with the taskoption <b>VX_FP_TASK</b> will have floating-point registers saved and restored.<p></blockquote><h4>NOTE</h4><blockquote><p>If a task does any floating-point operations,it must be spawned with <b>VX_FP_TASK</b>.<p></blockquote><h4>INTERRUPT LEVEL</h4><blockquote><p>Floating-point registers are not saved and restored for interruptservice routines connected with <b><i><a href="./intArchLib.html#intConnect">intConnect</a></i>(&nbsp;)</b>.  However, if necessary,an interrupt service routine can save and restore floating-point registersby calling routines in fppArchLib.<p></blockquote><h4>INCLUDE FILES</h4><blockquote><p><b>fppLib.h</b><p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./fppLib.html#top">fppLib</a></b>, <b><a href="./fppArchLib.html#top">fppArchLib</a></b>, <b><a href="./fppShow.html#top">fppShow</a></b>, <b><i><a href="./intArchLib.html#intConnect">intConnect</a></i>(&nbsp;)</b>,  <i>VxWorks Programmer's Guide: Basic OS</i><hr><a name="fppInit"></a><p align=right><a href="rtnIndex.html"><i>Libraries :  Routines</i></a></p></blockquote><h1><i>fppInit</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>fppInit</i>(&nbsp;)</strong> - initialize floating-point coprocessor support</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void fppInit (void)</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine initializes floating-point coprocessor support and must becalled before using the floating-point coprocessor.  This is doneautomatically by the root task, <b><i><a href="./usrConfig.html#usrRoot">usrRoot</a></i>(&nbsp;)</b>, in <b>usrConfig.c</b> when theconfiguration macro <b>INCLUDE_HW_FP</b> is defined.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./fppLib.html#top">fppLib</a></b></body></html>

⌨️ 快捷键说明

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