usrsmobj.html
来自「vxworks相关论文」· HTML 代码 · 共 65 行
HTML
65 行
<html><head><!-- /vobs/wpwr/docs/vxworks/ref/usrSmObj.html - generated by refgen from /vobs/wpwr/target/src/config/usrSmObj.c --> <title> usrSmObj </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>usrSmObj</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>usrSmObj</strong> - shared memory object initialization </p></blockquote><h4>ROUTINES</h4><blockquote><p><p><b><i><a href="./usrSmObj.html#usrSmObjInit">usrSmObjInit</a></i>( )</b> - initialize shared memory objects<br><hr><a name="usrSmObjInit"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>usrSmObjInit</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>usrSmObjInit</i>( )</strong> - initialize shared memory objects</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS usrSmObjInit ( char * bootString /* boot parameter string */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine initializes the shared memory objects facility. It sets upthe shared memory objects facility if called from processor 0.Then it initializes a shared memory descriptor and calls <b><i><a href="./smObjLib.html#smObjAttach">smObjAttach</a></i>( )</b>to attach this CPU to the shared memory object facility.<p>When the shared memory pool resides on the local CPU dual ported memory,<b>SM_OBJ_MEM_ADRS</b> must be set to NONE in <b>configAll.h</b> and the shared memoryobjects pool is allocated from the VxWorks system pool.<p></blockquote><h4>NOTE</h4><blockquote><p>The shared memory objects library requires information from fields in theVxWorks boot line. The functions are contained in the <b>usrNetwork.c</b> file. If no network services are included, <b>usrNetwork.c</b> is not included and theshared memory initialization fails. To avoid this problem, eitheradd <b>INCLUDE_NETWORK</b> to <b>configAll.h</b> or extract the bootline cracking routinesfrom <b>usrNetwork.c</b> and include them elsewhere.<p></blockquote><h4>RETURNS</h4><blockquote><p>OK, or ERROR if unsuccessful.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./usrSmObj.html#top">usrSmObj</a></b></body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?