taskarchlib.html

来自「Vxworks API操作系统和驱动程序设计API。压缩的HTML文件」· HTML 代码 · 共 101 行

HTML
101
字号
<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.htm"><i>VxWorks API Reference :  OS 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><a href="./taskArchLib.html#taskSRSet">taskSRSet</a>(&nbsp;)</b>  -  set the task status register (MC680x0, MIPS, x86)<br><b><a href="./taskArchLib.html#taskSRInit">taskSRInit</a>(&nbsp;)</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 <b><a href="./taskLib.html#top">taskLib</a></b>.<p></blockquote><h4>NOTE</h4><blockquote><p>There are no application-level routines in <b><a href="./taskArchLib.html#top">taskArchLib</a></b> forSimSolaris, SimNT or SH.<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="./taskLib.html#top">taskLib</a></b><hr><a name="taskSRSet"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries :  Routines</i></a></p></blockquote><h1>taskSRSet(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>taskSRSet(&nbsp;)</strong> - set the task status register (MC680x0, MIPS, x86)</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><dl><dt><b>x86</b>:<dd>The second parameter represents EFLAGS register and the size is 32 bit.</dl></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.htm"><i>OS Libraries :  Routines</i></a></p></blockquote><h1>taskSRInit(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>taskSRInit(&nbsp;)</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><a href="./kernelLib.html#kernelInit">kernelInit</a>(&nbsp;)</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 + =
减小字号Ctrl + -
显示快捷键?