<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>2014.1_doc: decls.h File Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.4.5 --> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li id="current"><a href="files.html"><span>Files</span></a></li> <li><a href="dirs.html"><span>Directories</span></a></li> </ul></div> <div class="tabs"> <ul> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>Globals</span></a></li> </ul></div> <div class="nav"> <a class="el" href="dir_U_3A_2Fdoxygen_5Fpublish_2Fsources_2Fbsp_2Fxilkernel_5Fv6_5F0_2Fsrc_2Finclude_2F.html">include</a> » <a class="el" href="dir_U_3A_2Fdoxygen_5Fpublish_2Fsources_2Fbsp_2Fxilkernel_5Fv6_5F0_2Fsrc_2Finclude_2Fsys_2F.html">sys</a></div> <h1>decls.h File Reference</h1><code>#include <<a class="el" href="os__config_8h.html">os_config.h</a>></code><br> <code>#include <sys/arch.h></code><br> <code>#include <sys/types.h></code><br> <code>#include <<a class="el" href="ktypes_8h.html">sys/ktypes.h</a>></code><br> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="decls_8h.html#80cdd601c76f55298c07400b7bc590e8">idle_task</a> (void)</td></tr> <tr><td colspan="2"><br><h2>Variables</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5f791cfb55e97daa4605c4f66fe1864a"></a><!-- doxytag: member="decls.h::current_pid" ref="5f791cfb55e97daa4605c4f66fe1864a" args="" --> pid_t </td><td class="memItemRight" valign="bottom"><a class="el" href="decls_8h.html#5f791cfb55e97daa4605c4f66fe1864a">current_pid</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Kernel Stack pointer. <br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="16473dd9392e6263085737463a61ec46"></a><!-- doxytag: member="decls.h::prev_pid" ref="16473dd9392e6263085737463a61ec46" args="" --> pid_t </td><td class="memItemRight" valign="bottom"><a class="el" href="decls_8h.html#16473dd9392e6263085737463a61ec46">prev_pid</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Currently executing processes' ID. <br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1437f3eb1a6c8ca2d39e9c23f611c018"></a><!-- doxytag: member="decls.h::current_process" ref="1437f3eb1a6c8ca2d39e9c23f611c018" args="" --> <a class="el" href="struct__process__struct.html">process_struct</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="decls_8h.html#1437f3eb1a6c8ca2d39e9c23f611c018">current_process</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">ID of process executing immediately before a context switch. <br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="721cf5bdc6cf0ee8f6f87cc679ced33e"></a><!-- doxytag: member="decls.h::kernel_sp" ref="721cf5bdc6cf0ee8f6f87cc679ced33e" args="" --> void * </td><td class="memItemRight" valign="bottom"><a class="el" href="decls_8h.html#721cf5bdc6cf0ee8f6f87cc679ced33e">kernel_sp</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Process Table. <br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Gathers declarations for kernel data structures in one place <hr><h2>Function Documentation</h2> <a class="anchor" name="80cdd601c76f55298c07400b7bc590e8"></a><!-- doxytag: member="decls.h::idle_task" ref="80cdd601c76f55298c07400b7bc590e8" args="(void)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void idle_task </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <ul> <li>This task is run when the system is idle. This task is initialized during system init and is always run with the least priority. <dl compact><dt><b>Returns:</b></dt><dd></dd></dl> </li><li>Nothing <dl compact><dt><b>Note:</b></dt><dd></dd></dl> </li><li>None </li></ul> </td> </tr> </table> <hr size="1"><address style="align: right;"><small>Generated on Thu Feb 13 14:46:23 2014 for 2014.1_doc by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.5 </small></address> </body> </html>