📄 taskarchlib.html
字号:
<html><head><!-- /vobs/wpwr/docs/vxworks/ref/taskArchLib.html - generated by refgen from taskArchLib.c --> <title> taskArchLib </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>taskArchLib</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>taskArchLib</strong> - architecture-specific task management routines </p></blockquote><h4>ROUTINES</h4><blockquote><p><p><b><i><a href="./taskArchLib.html#taskSRSet">taskSRSet</a></i>( )</b> - set the task status register (MC680x0, MIPS, i386/i486)<br><b><i><a href="./taskArchLib.html#taskSRInit">taskSRInit</a></i>( )</b> - initialize the default task status register (MIPS)<br><p></blockquote><h4>DESCRIPTION</h4><blockquote><p>This library provides architecture-specific task management routines that setand examine architecture-dependent registers. For information aboutarchitecture-independent task management facilities, see the manual entryfor taskLib.<p></blockquote><h4>NOTE</h4><blockquote><p>There are no application-level routines in <b><a href="./taskArchLib.html#top">taskArchLib</a></b> forSPARC.<p></blockquote><h4>INCLUDE FILES</h4><blockquote><p><b>regs.h</b>, <b>taskArchLib.h</b><p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./taskArchLib.html#top">taskArchLib</a></b>, <b><a href="./taskLib.html#top">taskLib</a></b><hr><a name="taskSRSet"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>taskSRSet</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>taskSRSet</i>( )</strong> - set the task status register (MC680x0, MIPS, i386/i486)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS taskSRSet ( int tid, /* task ID */ UINT16 sr /* new SR */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine sets the status register of a task that is not running(i.e., the TCB must not be that of the calling task).Debugging facilities use this routine to set the trace bit in the status register of a task that is being single-stepped.<p></blockquote><h4>RETURNS</h4><blockquote><p>OK, or ERROR if the task ID is invalid.</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./taskArchLib.html#top">taskArchLib</a></b><hr><a name="taskSRInit"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>taskSRInit</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>taskSRInit</i>( )</strong> - initialize the default task status register (MIPS)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>ULONG taskSRInit ( ULONG newSRValue /* new default task status register */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine sets the default status register for system-wide tasks.All tasks will be spawned with the status register set to this value; thus, it must be called before <b><i><a href="./kernelLib.html#kernelInit">kernelInit</a></i>( )</b>.<p></blockquote><h4>RETURNS</h4><blockquote><p>The previous value of the default status register.</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./taskArchLib.html#top">taskArchLib</a></b></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -