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

📄 syslib.html

📁 vxworks相关论文
💻 HTML
📖 第 1 页 / 共 3 页
字号:
</blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine copies the contents of non-volatile memory into a specifiedstring.  The string is terminated with an EOS.<p></blockquote><h4>NOTE</h4><blockquote><p>This routine has no effect, since there is no non-volatile RAM.<p></blockquote><h4>RETURNS</h4><blockquote><p>ERROR, always.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./sysLib.html#top">sysLib</a></b>, <b><i><a href="./sysLib.html#sysNvRamSet">sysNvRamSet</a></i>(&nbsp;)</b><hr><a name="sysNvRamSet"></a><p align=right><a href="rtnIndex.html"><i>simpc :  Routines</i></a></p></blockquote><h1><i>sysNvRamSet</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>sysNvRamSet</i>(&nbsp;)</strong> - write to non-volatile RAM</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS sysNvRamSet    (    char * string, /* string to be copied into non-volatile RAM */    int    strLen, /* maximum number of bytes to copy */    int    offset  /* byte offset into non-volatile RAM */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine copies a specified string into non-volatile RAM.<p></blockquote><h4>NOTE</h4><blockquote><p>This routine has no effect, since there is no non-volatile RAM.<p></blockquote><h4>RETURNS</h4><blockquote><p>ERROR, always.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./sysLib.html#top">sysLib</a></b>, <b><i><a href="./sysLib.html#sysNvRamGet">sysNvRamGet</a></i>(&nbsp;)</b><hr><a name="sysLocalToBusAdrs"></a><p align=right><a href="rtnIndex.html"><i>simpc :  Routines</i></a></p></blockquote><h1><i>sysLocalToBusAdrs</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>sysLocalToBusAdrs</i>(&nbsp;)</strong> - convert a local address to a bus address</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS sysLocalToBusAdrs    (    int    adrsSpace, /* bus address space in which busAdrs resides, use */                      /* modifier codes defined in vme.h, such as */    char * localAdrs, /* local address to convert */    char * *pBusAdrs  /* where to return bus address */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine gets the VMEbus address that accesses a specified localmemory address.<p></blockquote><h4>NOTE</h4><blockquote><p>This routine has no effect, since there is no VMEbus.<p></blockquote><h4>RETURNS</h4><blockquote><p>ERROR, always.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./sysLib.html#top">sysLib</a></b>, <b><i><a href="./sysLib.html#sysBusToLocalAdrs">sysBusToLocalAdrs</a></i>(&nbsp;)</b><hr><a name="sysBusToLocalAdrs"></a><p align=right><a href="rtnIndex.html"><i>simpc :  Routines</i></a></p></blockquote><h1><i>sysBusToLocalAdrs</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>sysBusToLocalAdrs</i>(&nbsp;)</strong> - convert a bus address to a local address</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS sysBusToLocalAdrs    (    int    adrsSpace,  /* bus address space in which busAdrs resides, use */                       /* modifier codes defined in vme.h, such as */    char * busAdrs,    /* bus address to convert */    char * *pLocalAdrs /* where to return local address */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine gets the local address that accesses a specified VMEbusaddress.<p></blockquote><h4>NOTE</h4><blockquote><p>This routine has no effect, since there is no VMEbus.<p></blockquote><h4>RETURNS</h4><blockquote><p>ERROR, always.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./sysLib.html#top">sysLib</a></b>, <b><i><a href="./sysLib.html#sysLocalToBusAdrs">sysLocalToBusAdrs</a></i>(&nbsp;)</b><hr><a name="sysBusIntAck"></a><p align=right><a href="rtnIndex.html"><i>simpc :  Routines</i></a></p></blockquote><h1><i>sysBusIntAck</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>sysBusIntAck</i>(&nbsp;)</strong> - acknowledge a bus interrupt</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>int sysBusIntAck    (    int intLevel /* interrupt level to acknowledge */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine acknowledges a specified VMEbus interrupt level.<p></blockquote><h4>NOTE</h4><blockquote><p>This routine has no effect, since there is no VMEbus.<p></blockquote><h4>RETURNS</h4><blockquote><p>NULL.</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./sysLib.html#top">sysLib</a></b><hr><a name="sysBusIntGen"></a><p align=right><a href="rtnIndex.html"><i>simpc :  Routines</i></a></p></blockquote><h1><i>sysBusIntGen</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>sysBusIntGen</i>(&nbsp;)</strong> - generate a bus interrupt</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS sysBusIntGen    (    int level, /* bus interrupt level to generate */    int vector /* interrupt vector to return (0-255) */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine generates a VMEbus interrupt for a specified level with aspecified vector.<p></blockquote><h4>NOTE</h4><blockquote><p>This routine has no effect, since there is no VMEbus.<p></blockquote><h4>RETURNS</h4><blockquote><p>ERROR, always.</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./sysLib.html#top">sysLib</a></b><hr><a name="sysMailboxConnect"></a><p align=right><a href="rtnIndex.html"><i>simpc :  Routines</i></a></p></blockquote><h1><i>sysMailboxConnect</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>sysMailboxConnect</i>(&nbsp;)</strong> - connect a routine to the mailbox interrupt</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS sysMailboxConnect    (    FUNCPTR routine, /* routine called at each mailbox interrupt */    int     arg      /* argument with which to call routine */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine specifies the interrupt service routine to be called at eachmailbox interrupt.<p></blockquote><h4>NOTE</h4><blockquote><p>This routine has no effect, since the hardware does not support mailboxinterrupts.<p></blockquote><h4>RETURNS</h4><blockquote><p>ERROR, always.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./sysLib.html#top">sysLib</a></b>, <b><i><a href="./sysLib.html#sysMailboxEnable">sysMailboxEnable</a></i>(&nbsp;)</b><hr><a name="sysMailboxEnable"></a><p align=right><a href="rtnIndex.html"><i>simpc :  Routines</i></a></p></blockquote><h1><i>sysMailboxEnable</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>sysMailboxEnable</i>(&nbsp;)</strong> - enable the mailbox interrupt</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS sysMailboxEnable    (    INT8 * mailboxAdrs /* mailbox address */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine enables the mailbox interrupt.<p></blockquote><h4>NOTE</h4><blockquote><p>This routine has no effect, since the hardware does not support mailboxinterrupts.<p></blockquote><h4>RETURNS</h4><blockquote><p>ERROR, always.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./sysLib.html#top">sysLib</a></b>, <b><i><a href="./sysLib.html#sysMailboxConnect">sysMailboxConnect</a></i>(&nbsp;)</b><hr><a name="sysBusTas"></a><p align=right><a href="rtnIndex.html"><i>simpc :  Routines</i></a></p></blockquote><h1><i>sysBusTas</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>sysBusTas</i>(&nbsp;)</strong> - test and set a location across the bus</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>BOOL sysBusTas    (    INT8 * addr /* address to be tested and set */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine performs a test-and-set (TAS) instruction across the backplane.<p></blockquote><h4>NOTE</h4><blockquote><p>This routine is equivalent to <b><i><a href="../hpux/sysLib.html#vxTas" >vxTas</a></i>(&nbsp;)</b>, since there is no VMEbus.<p></blockquote><h4>RETURNS</h4><blockquote><p>TRUE if the value had not been set but is now,or FALSE if the value was set already.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./sysLib.html#top">sysLib</a></b>, <b><i><a href="../hpux/sysLib.html#vxTas" >vxTas</a></i>(&nbsp;)</b><hr><a name="sysSerialHwInit"></a><p align=right><a href="rtnIndex.html"><i>simpc :  Routines</i></a></p></blockquote><h1><i>sysSerialHwInit</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>sysSerialHwInit</i>(&nbsp;)</strong> - initialize the BSP serial devices to a quiescent state</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void sysSerialHwInit (void)</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine initializes the BSP serial device descriptors and puts thedevices in a quiescent state.  It is called from <b><i><a href="./sysLib.html#sysHwInit">sysHwInit</a></i>(&nbsp;)</b> withinterrupts locked.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./sysLib.html#top">sysLib</a></b>, <b><i><a href="./sysLib.html#sysHwInit">sysHwInit</a></i>(&nbsp;)</b><hr><a name="sysSerialHwInit2"></a><p align=right><a href="rtnIndex.html"><i>simpc :  Routines</i></a></p></blockquote><h1><i>sysSerialHwInit2</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>sysSerialHwInit2</i>(&nbsp;)</strong> - connect BSP serial device interrupts</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void sysSerialHwInit2 (void)</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine connects the BSP serial device interrupts.  It is called from<b><i><a href="./sysLib.html#sysHwInit2">sysHwInit2</a></i>(&nbsp;)</b>.  <p>Serial device interrupts cannot be connected in <b><i><a href="./sysLib.html#sysSerialHwInit">sysSerialHwInit</a></i>(&nbsp;)</b> becausethe kernel memory allocator is not initialized at that point, and<b><i><a href="../../ref/intArchLib.html#intConnect" >intConnect</a></i>(&nbsp;)</b> calls <b><i><a href="../../ref/memPartLib.html#malloc" >malloc</a></i>(&nbsp;)</b>.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./sysLib.html#top">sysLib</a></b>, <b><i><a href="./sysLib.html#sysHwInit2">sysHwInit2</a></i>(&nbsp;)</b><hr><a name="sysSerialChanGet"></a><p align=right><a href="rtnIndex.html"><i>simpc :  Routines</i></a></p></blockquote><h1><i>sysSerialChanGet</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>sysSerialChanGet</i>(&nbsp;)</strong> - get the <b>SIO_CHAN</b> device associated with a serial channel</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>SIO_CHAN * sysSerialChanGet    (    int channel /* serial channel */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine gets the <b>SIO_CHAN</b> device associated with a specified serialchannel.

⌨️ 快捷键说明

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