<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.16"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>UbixOS: include/sys/shutdown.h File Reference</title> <link href="../../tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="../../jquery.js"></script> <script type="text/javascript" src="../../dynsections.js"></script> <link href="../../navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="../../resize.js"></script> <script type="text/javascript" src="../../navtreedata.js"></script> <script type="text/javascript" src="../../navtree.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(initResizable); /* @license-end */</script> <link href="../../doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">UbixOS  <span id="projectnumber">2.0</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.16 --> <script type="text/javascript" src="../../menudata.js"></script> <script type="text/javascript" src="../../menu.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(function() { initMenu('../../',false,false,'search.php','Search'); }); /* @license-end */</script> <div id="main-nav"></div> </div><!-- top --> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> <div id="nav-sync" class="sync"></div> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(function(){initNavTree('da/d39/shutdown_8h.html','../../');}); /* @license-end */ </script> <div id="doc-content"> <div class="header"> <div class="summary"> <a href="#enum-members">Enumerations</a> | <a href="#func-members">Functions</a> </div> <div class="headertitle"> <div class="title">shutdown.h File Reference</div> </div> </div><!--header--> <div class="contents"> <div class="textblock"><div class="dynheader"> This graph shows which files directly or indirectly include this file:</div> <div class="dyncontent"> <div class="center"><img src="../../db/daa/shutdown_8h__dep__incl.png" border="0" usemap="#include_2sys_2shutdown_8hdep" alt=""/></div> <map name="include_2sys_2shutdown_8hdep" id="include_2sys_2shutdown_8hdep"> <area shape="rect" title=" " alt="" coords="152,5,311,32"/> <area shape="rect" href="../../d3/dd3/i386_2systemtask_8c.html" title=" " alt="" coords="5,80,164,107"/> <area shape="rect" href="../../dd/dd3/atkbd_8c.html" title=" " alt="" coords="188,80,275,107"/> <area shape="rect" href="../../d3/db2/shutdown_8c.html" title=" " alt="" coords="299,80,425,107"/> </map> </div> </div> <p><a href="../../da/d39/shutdown_8h_source.html">Go to the source code of this file.</a></p> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a> Enumerations</h2></td></tr> <tr class="memitem:a3d2aa6a192167b4685d9c3dba1905ee9"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d39/shutdown_8h.html#a3d2aa6a192167b4685d9c3dba1905ee9">shutdownCMD_t</a> { <a class="el" href="../../da/d39/shutdown_8h.html#a3d2aa6a192167b4685d9c3dba1905ee9aa2fd6bbb0c07e28e835ba595e64df78c">HALT</a>, <a class="el" href="../../da/d39/shutdown_8h.html#a3d2aa6a192167b4685d9c3dba1905ee9a054795c72261d4d92e885ac46296a18e">REBOOT</a> }</td></tr> <tr class="separator:a3d2aa6a192167b4685d9c3dba1905ee9"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> Functions</h2></td></tr> <tr class="memitem:a803b34f632f4c4168ccb2d36ae6a08ee"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d39/shutdown_8h.html#a803b34f632f4c4168ccb2d36ae6a08ee">sys_shutdown</a> (<a class="el" href="../../da/d39/shutdown_8h.html#a3d2aa6a192167b4685d9c3dba1905ee9">shutdownCMD_t</a>)</td></tr> <tr class="separator:a803b34f632f4c4168ccb2d36ae6a08ee"><td class="memSeparator" colspan="2"> </td></tr> </table> <h2 class="groupheader">Enumeration Type Documentation</h2> <a id="a3d2aa6a192167b4685d9c3dba1905ee9"></a> <h2 class="memtitle"><span class="permalink"><a href="#a3d2aa6a192167b4685d9c3dba1905ee9">◆ </a></span>shutdownCMD_t</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">enum <a class="el" href="../../da/d39/shutdown_8h.html#a3d2aa6a192167b4685d9c3dba1905ee9">shutdownCMD_t</a></td> </tr> </table> </div><div class="memdoc"> <table class="fieldtable"> <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a3d2aa6a192167b4685d9c3dba1905ee9aa2fd6bbb0c07e28e835ba595e64df78c"></a>HALT </td><td class="fielddoc"></td></tr> <tr><td class="fieldname"><a id="a3d2aa6a192167b4685d9c3dba1905ee9a054795c72261d4d92e885ac46296a18e"></a>REBOOT </td><td class="fielddoc"></td></tr> </table> <p class="definition">Definition at line <a class="el" href="../../da/d39/shutdown_8h_source.html#l00032">32</a> of file <a class="el" href="../../da/d39/shutdown_8h_source.html">shutdown.h</a>.</p> </div> </div> <h2 class="groupheader">Function Documentation</h2> <a id="a803b34f632f4c4168ccb2d36ae6a08ee"></a> <h2 class="memtitle"><span class="permalink"><a href="#a803b34f632f4c4168ccb2d36ae6a08ee">◆ </a></span>sys_shutdown()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int sys_shutdown </td> <td>(</td> <td class="paramtype"><a class="el" href="../../da/d39/shutdown_8h.html#a3d2aa6a192167b4685d9c3dba1905ee9">shutdownCMD_t</a> </td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d3/db2/shutdown_8c_source.html#l00034">34</a> of file <a class="el" href="../../d3/db2/shutdown_8c_source.html">shutdown.c</a>.</p> <p class="reference">References <a class="el" href="../../db/dcd/fat__filelib_8c_source.html#l00627">fl_shutdown()</a>, <a class="el" href="../../da/d39/shutdown_8h_source.html#l00033">HALT</a>, <a class="el" href="../../df/d0a/io_8c_source.html#l00038">inportByte()</a>, <a class="el" href="../../df/d87/kprintf_8c_source.html#l00259">kprintf()</a>, <a class="el" href="../../df/d0a/io_8c_source.html#l00072">outportByte()</a>, and <a class="el" href="../../da/d39/shutdown_8h_source.html#l00034">REBOOT</a>.</p> <p class="reference">Referenced by <a class="el" href="../../d3/dd3/i386_2systemtask_8c_source.html#l00046">systemTask()</a>.</p> <div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="../../da/d39/shutdown_8h_a803b34f632f4c4168ccb2d36ae6a08ee_cgraph.png" border="0" usemap="#da/d39/shutdown_8h_a803b34f632f4c4168ccb2d36ae6a08ee_cgraph" alt=""/></div> <map name="da/d39/shutdown_8h_a803b34f632f4c4168ccb2d36ae6a08ee_cgraph" id="da/d39/shutdown_8h_a803b34f632f4c4168ccb2d36ae6a08ee_cgraph"> <area shape="rect" title=" " alt="" coords="5,81,111,108"/> <area shape="rect" href="../../db/dcd/fat__filelib_8c.html#a9e4ba72f7c41f41f4a31ca5d46de3f5d" title=" " alt="" coords="159,5,249,32"/> <area shape="rect" href="../../dc/dac/io_8h.html#a77b934268de1b3ecdcf3f275413b3108" title="input one byte from specified port" alt="" coords="416,56,497,83"/> <area shape="rect" href="../../da/d28/kprintf_8h.html#a20b56810edb62a6fe59917015c30848f" title=" " alt="" coords="175,132,233,159"/> <area shape="rect" href="../../dc/dac/io_8h.html#a8acc1a06073db2e7b92ffbd00fbd0cf1" title="outputut one byte to specified port" alt="" coords="412,233,501,260"/> <area shape="rect" href="../../dd/d78/video_8h.html#a5429378b96a24fadfd2d1f8d777eb95a" title=" " alt="" coords="303,107,358,133"/> <area shape="rect" href="../../df/d87/kprintf_8c.html#a3093cdac4668a4ccffdd7f77270888b7" title=" " alt="" coords="299,157,362,184"/> <area shape="rect" href="../../da/d28/kprintf_8h.html#a3b4a66bf1f6583e65660f281b6014aa1" title=" " alt="" coords="297,208,364,235"/> <area shape="rect" href="../../dd/d71/tty_8h.html#a4f96ccac7e60296ef496008d8cbed0ff" title=" " alt="" coords="425,107,489,133"/> <area shape="rect" href="../../dd/d71/tty_8h.html#ad96f57a7c113d3cfa76ee5fed6de33c0" title=" " alt="" coords="422,157,491,184"/> <area shape="rect" href="../../dc/d88/armv6_2spinlock_8c.html#a71f03d2ba55111c715b6068254847a53" title=" " alt="" coords="549,157,624,184"/> <area shape="rect" href="../../d3/d02/armv6_2sched_8c.html#a08933fe6d593a1c78b9080359f15a0b7" title=" " alt="" coords="673,132,763,159"/> <area shape="rect" href="../../dc/d88/armv6_2spinlock_8c.html#a740766af5da58616f700fffab6768a78" title=" " alt="" coords="672,183,764,209"/> </map> </div> </div> </div> </div><!-- contents --> </div><!-- doc-content --> <!-- start footer part --> <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> <li class="navelem"><a class="el" href="../../dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="../../dir_317ea3797c15f4a1d9c156bc812661ca.html">sys</a></li><li class="navelem"><a class="el" href="../../da/d39/shutdown_8h.html">shutdown.h</a></li> <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.8.16 </li> </ul> </div> </body> </html>