<!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/ubixos/wait.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('d1/df2/wait_8h.html','../../');}); /* @license-end */ </script> <div id="doc-content"> <div class="header"> <div class="summary"> <a href="#nested-classes">Data Structures</a> | <a href="#define-members">Macros</a> </div> <div class="headertitle"> <div class="title">wait.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="../../d3/dff/wait_8h__dep__incl.png" border="0" usemap="#include_2ubixos_2wait_8hdep" alt=""/></div> <map name="include_2ubixos_2wait_8hdep" id="include_2ubixos_2wait_8hdep"> <area shape="rect" title=" " alt="" coords="1144,5,1287,32"/> <area shape="rect" href="../../d9/d83/i386_2sched_8c.html" title=" " alt="" coords="1902,393,2027,420"/> <area shape="rect" href="../../d8/d2b/inode_8c.html" title=" " alt="" coords="1443,393,1540,420"/> <area shape="rect" href="../../d3/d73/inode_8h.html" title=" " alt="" coords="1643,80,1771,107"/> <area shape="rect" href="../../db/da9/include_2vfs_2vfs_8h.html" title=" " alt="" coords="1015,319,1127,345"/> <area shape="rect" href="../../d6/db4/include_2vfs_2file_8h.html" title=" " alt="" coords="1897,155,2011,181"/> <area shape="rect" href="../../d5/d60/arch_2armv6_2syscall_8c.html" title=" " alt="" coords="3627,468,3769,495"/> <area shape="rect" href="../../de/d18/i386__exec_8c.html" title=" " alt="" coords="2051,393,2201,420"/> <area shape="rect" href="../../d3/d1c/block_8c.html" title=" " alt="" coords="1045,468,1161,495"/> <area shape="rect" href="../../dc/d20/directory_8c.html" title=" " alt="" coords="5,468,140,495"/> <area shape="rect" href="../../d3/d41/ufs_8c.html" title=" " alt="" coords="441,468,526,495"/> <area shape="rect" href="../../db/d66/stat_8c.html" title=" " alt="" coords="2225,393,2313,420"/> <area shape="rect" href="../../d9/dd9/devfs_8h.html" title=" " alt="" coords="200,319,340,345"/> <area shape="rect" href="../../d3/df4/descrip_8h.html" title=" " alt="" coords="1904,319,2049,345"/> <area shape="rect" href="../../d3/d7e/sysproto__posix_8h.html" title=" " alt="" coords="1668,229,1811,271"/> <area shape="rect" href="../../d7/d00/sched_8h.html" title=" " alt="" coords="2649,319,2803,345"/> <area shape="rect" href="../../d2/d6e/syscalls_8h.html" title=" " alt="" coords="3533,393,3701,420"/> <area shape="rect" href="../../d4/d4d/tcpdump_8c.html" title=" " alt="" coords="1835,237,1969,263"/> <area shape="rect" href="../../d4/d27/devfs_8c.html" title=" " alt="" coords="215,393,325,420"/> <area shape="rect" href="../../d4/d75/ubixos_2init_8h.html" title=" " alt="" coords="1273,543,1411,569"/> <area shape="rect" href="../../d0/d29/main_8c.html" title=" " alt="" coords="1301,617,1383,644"/> <area shape="rect" href="../../d9/d48/i386_2fork_8c.html" title=" " alt="" coords="2816,468,2927,495"/> <area shape="rect" href="../../d6/d13/file_8c.html" title=" " alt="" coords="1486,468,1569,495"/> <area shape="rect" href="../../dd/df2/vfs_8c.html" title=" " alt="" coords="1380,468,1461,495"/> <area shape="rect" href="../../d3/d2e/fat_8c.html" title=" " alt="" coords="1748,393,1827,420"/> <area shape="rect" href="../../d3/de7/thread_8c.html" title=" " alt="" coords="900,468,1021,495"/> <area shape="rect" href="../../d2/d34/ubixfs_8c.html" title=" " alt="" coords="1185,468,1304,495"/> <area shape="rect" href="../../de/df2/ffs_8c.html" title=" " alt="" coords="335,468,416,495"/> <area shape="rect" href="../../d6/de3/namei_8c.html" title=" " alt="" coords="1317,393,1418,420"/> <area shape="rect" href="../../d6/d6d/buf_8h.html" title=" " alt="" coords="399,393,519,420"/> <area shape="rect" href="../../d9/d32/include_2ubixfs_2ubixfs_8h.html" title=" " alt="" coords="781,393,932,420"/> <area shape="rect" href="../../d2/d48/vitals_8h.html" title=" " alt="" coords="2539,393,2689,420"/> <area shape="rect" href="../../d0/dda/ffs_8h.html" title=" " alt="" coords="594,393,706,420"/> <area shape="rect" href="../../d8/dd5/ld_8c.html" title=" " alt="" coords="1210,393,1293,420"/> <area shape="rect" href="../../d4/dda/kmod_8c.html" title=" " alt="" coords="1616,393,1724,420"/> <area shape="rect" href="../../db/dff/dirCache_8c.html" title=" " alt="" coords="689,468,825,495"/> <area shape="rect" href="../../de/d44/hd_8h.html" title=" " alt="" coords="551,468,664,495"/> <area shape="rect" href="../../d4/d43/armv6_2fork_8c.html" title=" " alt="" coords="2671,468,2792,495"/> <area shape="rect" href="../../dc/d2e/armv6_2systemtask_8c.html" title=" " alt="" coords="2951,468,3119,495"/> <area shape="rect" href="../../d3/dd3/i386_2systemtask_8c.html" title=" " alt="" coords="3144,468,3303,495"/> <area shape="rect" href="../../dc/d92/mount_8c.html" title=" " alt="" coords="1860,468,1963,495"/> <area shape="rect" href="../../dd/dd3/atkbd_8c.html" title=" " alt="" coords="3327,468,3413,495"/> <area shape="rect" href="../../dd/d07/ne2k_8c.html" title=" " alt="" coords="1987,468,2070,495"/> <area shape="rect" href="../../dc/d86/endtask_8c.html" title=" " alt="" coords="1593,468,1712,495"/> <area shape="rect" href="../../dc/d5c/kernel_2syscall_8c.html" title=" " alt="" coords="3489,468,3603,495"/> <area shape="rect" href="../../df/d73/time_8c.html" title=" " alt="" coords="2095,468,2192,495"/> <area shape="rect" href="../../d5/d9a/ubthread_8c.html" title=" " alt="" coords="2393,468,2515,495"/> <area shape="rect" href="../../d2/d4e/vitals_8c.html" title=" " alt="" coords="2217,468,2318,495"/> <area shape="rect" href="../../dc/dac/ogprintf_8cc.html" title=" " alt="" coords="1737,468,1835,495"/> <area shape="rect" href="../../d4/dc2/colours_8cc.html" title=" " alt="" coords="2539,468,2646,495"/> </map> </div> </div> <p><a href="../../d1/df2/wait_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="nested-classes"></a> Data Structures</h2></td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/df3/structsemaphore.html">semaphore</a></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d6e/structwait__queue.html">wait_queue</a></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a> Macros</h2></td></tr> <tr class="memitem:a68c330e94fe121eba993e5a5973c3162"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/df2/wait_8h.html#a68c330e94fe121eba993e5a5973c3162">cli</a>()   __asm__ __volatile__ ("cli": : :"memory")</td></tr> <tr class="separator:a68c330e94fe121eba993e5a5973c3162"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6c92c29fa8e83ab85e05543010e10d7c"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/df2/wait_8h.html#a6c92c29fa8e83ab85e05543010e10d7c">nop</a>()   __asm__ __volatile__ ("nop")</td></tr> <tr class="separator:a6c92c29fa8e83ab85e05543010e10d7c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad77066dbcd0c872533a318d386ece0ac"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/df2/wait_8h.html#ad77066dbcd0c872533a318d386ece0ac">restore_flags</a>(x)   __asm__ __volatile__("pushl %0 ; popfl": /* no output */ :"r" (x):"memory")</td></tr> <tr class="separator:ad77066dbcd0c872533a318d386ece0ac"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac7e64316b066734a354807302475b188"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/df2/wait_8h.html#ac7e64316b066734a354807302475b188">save_flags</a>(x)   __asm__ __volatile__("pushfl ; popl %0":"=r" (x): /* no input */ :"memory")</td></tr> <tr class="separator:ac7e64316b066734a354807302475b188"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac5d15f274bc9b1e96230f3d3c60fd1f8"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/df2/wait_8h.html#ac5d15f274bc9b1e96230f3d3c60fd1f8">sti</a>()   __asm__ __volatile__ ("sti": : :"memory")</td></tr> <tr class="separator:ac5d15f274bc9b1e96230f3d3c60fd1f8"><td class="memSeparator" colspan="2"> </td></tr> </table> <h2 class="groupheader">Macro Definition Documentation</h2> <a id="a68c330e94fe121eba993e5a5973c3162"></a> <h2 class="memtitle"><span class="permalink"><a href="#a68c330e94fe121eba993e5a5973c3162">◆ </a></span>cli</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define cli</td> <td>(</td> <td class="paramname"></td><td>)</td> <td>   __asm__ __volatile__ ("cli": : :"memory")</td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d1/df2/wait_8h_source.html#l00045">45</a> of file <a class="el" href="../../d1/df2/wait_8h_source.html">wait.h</a>.</p> </div> </div> <a id="a6c92c29fa8e83ab85e05543010e10d7c"></a> <h2 class="memtitle"><span class="permalink"><a href="#a6c92c29fa8e83ab85e05543010e10d7c">◆ </a></span>nop</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define nop</td> <td>(</td> <td class="paramname"></td><td>)</td> <td>   __asm__ __volatile__ ("nop")</td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d1/df2/wait_8h_source.html#l00046">46</a> of file <a class="el" href="../../d1/df2/wait_8h_source.html">wait.h</a>.</p> </div> </div> <a id="ad77066dbcd0c872533a318d386ece0ac"></a> <h2 class="memtitle"><span class="permalink"><a href="#ad77066dbcd0c872533a318d386ece0ac">◆ </a></span>restore_flags</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define restore_flags</td> <td>(</td> <td class="paramtype"> </td> <td class="paramname">x</td><td>)</td> <td>   __asm__ __volatile__("pushl %0 ; popfl": /* no output */ :"r" (x):"memory")</td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d1/df2/wait_8h_source.html#l00050">50</a> of file <a class="el" href="../../d1/df2/wait_8h_source.html">wait.h</a>.</p> </div> </div> <a id="ac7e64316b066734a354807302475b188"></a> <h2 class="memtitle"><span class="permalink"><a href="#ac7e64316b066734a354807302475b188">◆ </a></span>save_flags</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define save_flags</td> <td>(</td> <td class="paramtype"> </td> <td class="paramname">x</td><td>)</td> <td>   __asm__ __volatile__("pushfl ; popl %0":"=r" (x): /* no input */ :"memory")</td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d1/df2/wait_8h_source.html#l00048">48</a> of file <a class="el" href="../../d1/df2/wait_8h_source.html">wait.h</a>.</p> </div> </div> <a id="ac5d15f274bc9b1e96230f3d3c60fd1f8"></a> <h2 class="memtitle"><span class="permalink"><a href="#ac5d15f274bc9b1e96230f3d3c60fd1f8">◆ </a></span>sti</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define sti</td> <td>(</td> <td class="paramname"></td><td>)</td> <td>   __asm__ __volatile__ ("sti": : :"memory")</td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d1/df2/wait_8h_source.html#l00044">44</a> of file <a class="el" href="../../d1/df2/wait_8h_source.html">wait.h</a>.</p> </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_a44873caf3fcbd6d765fc7260c584f7c.html">ubixos</a></li><li class="navelem"><a class="el" href="../../d1/df2/wait_8h.html">wait.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>