<!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: sde/main.cc 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('d9/d0f/main_8cc.html','../../');}); /* @license-end */ </script> <div id="doc-content"> <div class="header"> <div class="summary"> <a href="#func-members">Functions</a> </div> <div class="headertitle"> <div class="title">main.cc File Reference</div> </div> </div><!--header--> <div class="contents"> <div class="textblock"><code>#include <<a class="el" href="../../da/d28/kprintf_8h_source.html">lib/kprintf.h</a>></code><br /> <code>#include <<a class="el" href="../../d2/d48/vitals_8h_source.html">ubixos/vitals.h</a>></code><br /> <code>#include <<a class="el" href="../../df/d37/exec_8h_source.html">ubixos/exec.h</a>></code><br /> <code>#include <<a class="el" href="../../d1/d21/vmm_8h_source.html">vmm/vmm.h</a>></code><br /> <code>#include <<a class="el" href="../../d4/d03/kmalloc_8h_source.html">lib/kmalloc.h</a>></code><br /> <code>#include <<a class="el" href="../../df/db5/sde_8h_source.html">sde/sde.h</a>></code><br /> <code>#include <objgfx40/objgfx40.h></code><br /> <code>#include <<a class="el" href="../../d3/d76/ogDisplay__UbixOS_8h_source.html">sde/ogDisplay_UbixOS.h</a>></code><br /> <code>#include <objgfx40/ogFont.h></code><br /> </div><div class="textblock"><div class="dynheader"> Include dependency graph for main.cc:</div> <div class="dyncontent"> <div class="center"><img src="../../d7/d5a/main_8cc__incl.png" border="0" usemap="#sde_2main_8cc" alt=""/></div> <map name="sde_2main_8cc" id="sde_2main_8cc"> <area shape="rect" title=" " alt="" coords="1943,5,2037,32"/> <area shape="rect" href="../../da/d28/kprintf_8h.html" title=" " alt="" coords="1467,80,1553,107"/> <area shape="rect" href="../../d2/d48/vitals_8h.html" title=" " alt="" coords="730,80,834,107"/> <area shape="rect" href="../../df/d37/exec_8h.html" title=" " alt="" coords="1939,155,2041,181"/> <area shape="rect" href="../../d1/d21/vmm_8h.html" title=" " alt="" coords="1699,80,1790,107"/> <area shape="rect" href="../../d4/d03/kmalloc_8h.html" title=" " alt="" coords="2116,304,2211,331"/> <area shape="rect" href="../../df/db5/sde_8h.html" title=" " alt="" coords="1783,229,1861,256"/> <area shape="rect" title=" " alt="" coords="2294,155,2427,181"/> <area shape="rect" href="../../d3/d76/ogDisplay__UbixOS_8h.html" title=" " alt="" coords="2165,80,2332,107"/> <area shape="rect" title=" " alt="" coords="2407,80,2533,107"/> <area shape="rect" href="../../d0/d27/include_2sys_2types_8h.html" title=" " alt="" coords="1479,603,1570,629"/> <area shape="rect" href="../../d1/d2d/stdarg_8h.html" title=" " alt="" coords="1275,155,1345,181"/> <area shape="rect" href="../../d0/d6f/__types_8h.html" title=" " alt="" coords="1576,827,1673,853"/> <area shape="rect" href="../../d9/dab/select_8h.html" title=" " alt="" coords="1478,677,1571,704"/> <area shape="rect" href="../../d6/d92/cdefs_8h.html" title=" " alt="" coords="1599,752,1688,779"/> <area shape="rect" href="../../d6/d30/__timespec_8h.html" title=" " alt="" coords="1203,752,1321,779"/> <area shape="rect" href="../../df/dc5/__timeval_8h.html" title=" " alt="" coords="1345,752,1451,779"/> <area shape="rect" href="../../d6/da4/__sigset_8h.html" title=" " alt="" coords="1475,752,1575,779"/> <area shape="rect" href="../../df/d63/spinlock_8h.html" title=" " alt="" coords="613,229,735,256"/> <area shape="rect" href="../../db/da9/include_2vfs_2vfs_8h.html" title=" " alt="" coords="815,155,882,181"/> <area shape="rect" href="../../d6/db4/include_2vfs_2file_8h.html" title=" " alt="" coords="997,304,1065,331"/> <area shape="rect" href="../../db/dd5/thread_8h.html" title=" " alt="" coords="1401,379,1496,405"/> <area shape="rect" href="../../d1/df2/wait_8h.html" title=" " alt="" coords="799,453,898,480"/> <area shape="rect" href="../../d2/d29/mount_8h.html" title=" " alt="" coords="698,379,786,405"/> <area shape="rect" href="../../d3/d7e/sysproto__posix_8h.html" title=" " alt="" coords="1174,229,1321,256"/> <area shape="rect" href="../../d7/d97/net_8h.html" title=" " alt="" coords="515,229,588,256"/> <area shape="rect" href="../../d1/de9/dirCache_8h.html" title=" " alt="" coords="749,528,871,555"/> <area shape="rect" href="../../d3/d73/inode_8h.html" title=" " alt="" coords="1069,379,1151,405"/> <area shape="rect" href="../../df/d42/ufs_8h.html" title=" " alt="" coords="923,453,993,480"/> <area shape="rect" href="../../d7/d0b/trap_8h.html" title=" " alt="" coords="1526,453,1606,480"/> <area shape="rect" href="../../df/d92/sys_2signal_8h.html" title=" " alt="" coords="1359,453,1451,480"/> <area shape="rect" href="../../d8/d01/resource_8h.html" title=" " alt="" coords="1931,677,2039,704"/> <area shape="rect" href="../../d6/d35/i386_2cpu_8h.html" title=" " alt="" coords="1523,528,1606,555"/> <area shape="rect" href="../../d1/d7d/pipe__fs_8h.html" title=" " alt="" coords="1119,453,1207,480"/> <area shape="rect" href="../../d8/dff/msdos__fs_8h.html" title=" " alt="" coords="1232,453,1335,480"/> <area shape="rect" href="../../d4/d7e/include_2sys_2device_8h.html" title=" " alt="" coords="896,528,991,555"/> <area shape="rect" href="../../d9/d69/netif_8h.html" title=" " alt="" coords="191,304,269,331"/> <area shape="rect" href="../../dc/dba/opt_8h.html" title=" " alt="" coords="141,528,215,555"/> <area shape="rect" href="../../d6/d40/err_8h.html" title=" " alt="" coords="44,453,115,480"/> <area shape="rect" href="../../de/df7/ip__addr_8h.html" title=" " alt="" coords="181,379,279,405"/> <area shape="rect" href="../../d4/da4/def_8h.html" title=" " alt="" coords="241,453,313,480"/> <area shape="rect" href="../../d0/d35/pbuf_8h.html" title=" " alt="" coords="79,379,157,405"/> <area shape="rect" href="../../d9/d9b/stats_8h.html" title=" " alt="" coords="355,379,439,405"/> <area shape="rect" href="../../d2/d78/lwipopts_8h.html" title=" " alt="" coords="5,603,108,629"/> <area shape="rect" href="../../db/d16/debug_8h.html" title=" " alt="" coords="133,603,223,629"/> <area shape="rect" href="../../d7/d00/sched_8h.html" title=" " alt="" coords="1885,229,1996,256"/> <area shape="rect" href="../../dd/d71/tty_8h.html" title=" " alt="" coords="1883,528,1974,555"/> <area shape="rect" href="../../de/d9a/tss_8h.html" title=" " alt="" coords="1964,304,2040,331"/> <area shape="rect" href="../../d4/df4/paging_8h.html" title=" " alt="" coords="1369,155,1472,181"/> <area shape="rect" href="../../d5/d20/sysproto_8h.html" title=" " alt="" coords="1548,304,1656,331"/> </map> </div> </div> <p><a href="../../d9/d0f/main_8cc_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="func-members"></a> Functions</h2></td></tr> <tr class="memitem:a4290727c1924758744edacd57ff00def"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d0f/main_8cc.html#a4290727c1924758744edacd57ff00def">sdeTestThread</a> ()</td></tr> <tr class="separator:a4290727c1924758744edacd57ff00def"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa6c38d07b193857fbaebc1656b89136e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d0f/main_8cc.html#aa6c38d07b193857fbaebc1656b89136e">sdeThread</a> ()</td></tr> <tr class="separator:aa6c38d07b193857fbaebc1656b89136e"><td class="memSeparator" colspan="2"> </td></tr> </table> <h2 class="groupheader">Function Documentation</h2> <a id="a4290727c1924758744edacd57ff00def"></a> <h2 class="memtitle"><span class="permalink"><a href="#a4290727c1924758744edacd57ff00def">◆ </a></span>sdeTestThread()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void sdeTestThread </td> <td>(</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="../../d4/dc2/colours_8cc_source.html#l00042">42</a> of file <a class="el" href="../../d4/dc2/colours_8cc_source.html">colours.cc</a>.</p> <p class="reference">References <a class="el" href="../../d3/d02/armv6_2sched_8c_source.html#l00244">sched_yield()</a>, <a class="el" href="../../d2/d48/vitals_8h_source.html#l00047">vitalsStruct::screen</a>, and <a class="el" href="../../d2/d4e/vitals_8c_source.html#l00035">systemVitals</a>.</p> <p class="reference">Referenced by <a class="el" href="../../d9/d0f/main_8cc_source.html#l00051">sdeThread()</a>.</p> <div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="../../d9/d0f/main_8cc_a4290727c1924758744edacd57ff00def_cgraph.png" border="0" usemap="#d9/d0f/main_8cc_a4290727c1924758744edacd57ff00def_cgraph" alt=""/></div> <map name="d9/d0f/main_8cc_a4290727c1924758744edacd57ff00def_cgraph" id="d9/d0f/main_8cc_a4290727c1924758744edacd57ff00def_cgraph"> <area shape="rect" title=" " alt="" coords="5,5,112,32"/> <area shape="rect" href="../../d3/d02/armv6_2sched_8c.html#a08933fe6d593a1c78b9080359f15a0b7" title=" " alt="" coords="160,5,251,32"/> </map> </div> </div> </div> <a id="aa6c38d07b193857fbaebc1656b89136e"></a> <h2 class="memtitle"><span class="permalink"><a href="#aa6c38d07b193857fbaebc1656b89136e">◆ </a></span>sdeThread()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void sdeThread </td> <td>(</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="../../d9/d0f/main_8cc_source.html#l00051">51</a> of file <a class="el" href="../../d9/d0f/main_8cc_source.html">main.cc</a>.</p> <p class="reference">References <a class="el" href="../../df/db5/sde_8h_source.html#l00051">sdeWindows::buf</a>, <a class="el" href="../../df/db5/sde_8h_source.html#l00040">drawWindow</a>, <a class="el" href="../../df/dc9/exec_8c_source.html#l00066">execThread()</a>, <a class="el" href="../../d2/d48/vitals_8h_source.html#l00048">vitalsStruct::font</a>, <a class="el" href="../../d3/d1a/kmalloc_8c_source.html#l00342">kfree()</a>, <a class="el" href="../../df/db5/sde_8h_source.html#l00041">killWindow</a>, <a class="el" href="../../df/d87/kprintf_8c_source.html#l00259">kprintf()</a>, <a class="el" href="../../df/db5/sde_8h_source.html#l00049">sdeWindows::next</a>, <a class="el" href="../../df/d87/kprintf_8c_source.html#l00257">ogprintOff</a>, <a class="el" href="../../df/db5/sde_8h_source.html#l00052">sdeWindows::pid</a>, <a class="el" href="../../df/db5/sde_8h_source.html#l00050">sdeWindows::prev</a>, <a class="el" href="../../df/d87/kprintf_8c_source.html#l00256">printOff</a>, <a class="el" href="../../df/db5/sde_8h_source.html#l00038">registerWindow</a>, <a class="el" href="../../d3/d02/armv6_2sched_8c_source.html#l00244">sched_yield()</a>, <a class="el" href="../../d2/d48/vitals_8h_source.html#l00047">vitalsStruct::screen</a>, <a class="el" href="../../d4/dc2/colours_8cc_source.html#l00042">sdeTestThread()</a>, <a class="el" href="../../df/db5/sde_8h_source.html#l00053">sdeWindows::status</a>, <a class="el" href="../../d2/d4e/vitals_8c_source.html#l00035">systemVitals</a>, <a class="el" href="../../d1/d21/vmm_8h_source.html#l00111">VMM_KEEP</a>, <a class="el" href="../../de/d38/paging_8c_source.html#l00372">vmm_mapFromTask()</a>, <a class="el" href="../../d9/db9/unmappage_8c_source.html#l00099">vmm_unmapPages()</a>, <a class="el" href="../../df/db5/sde_8h_source.html#l00039">windowReady</a>, and <a class="el" href="../../d2/d00/sde_8cc_source.html#l00043">windows</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="../../d9/d0f/main_8cc_aa6c38d07b193857fbaebc1656b89136e_cgraph.png" border="0" usemap="#d9/d0f/main_8cc_aa6c38d07b193857fbaebc1656b89136e_cgraph" alt=""/></div> <map name="d9/d0f/main_8cc_aa6c38d07b193857fbaebc1656b89136e_cgraph" id="d9/d0f/main_8cc_aa6c38d07b193857fbaebc1656b89136e_cgraph"> <area shape="rect" title=" " alt="" coords="5,309,88,336"/> <area shape="rect" href="../../df/dc9/exec_8c.html#a4b86d28d8fd56197042aef174de2fd58" title=" " alt="" coords="161,81,250,108"/> <area shape="rect" href="../../d4/d03/kmalloc_8h.html#aaa9ed6886459604cf73ccdbf6410e487" title=" " alt="" coords="180,208,231,235"/> <area shape="rect" href="../../da/d28/kprintf_8h.html#a20b56810edb62a6fe59917015c30848f" title=" " alt="" coords="177,259,234,285"/> <area shape="rect" href="../../d3/d02/armv6_2sched_8c.html#a08933fe6d593a1c78b9080359f15a0b7" title=" " alt="" coords="783,309,874,336"/> <area shape="rect" href="../../d9/d0f/main_8cc.html#a4290727c1924758744edacd57ff00def" title=" " alt="" coords="628,360,735,387"/> <area shape="rect" href="../../d4/df4/paging_8h.html#a715dad65aea26aaf149284fd2432eff9" title=" " alt="" coords="136,411,275,437"/> <area shape="rect" href="../../d1/d21/vmm_8h.html#ae220b790a4c54aab2705161d861d0ce5" title=" " alt="" coords="139,461,271,488"/> <area shape="rect" href="../../dc/d94/armv6_2kpanic_8c.html#adb9a182aa071791a306163d50d653deb" title="print panic message and halt system" alt="" coords="353,5,413,32"/> <area shape="rect" href="../../d3/d02/armv6_2sched_8c.html#a2cbadd034400c65dbd11fd4892ddf26e" title=" " alt="" coords="323,56,443,83"/> <area shape="rect" href="../../d3/d02/armv6_2sched_8c.html#a92458df2063761371869cdfe0c9b4ee3" title=" " alt="" coords="327,107,438,133"/> <area shape="rect" href="../../dd/d78/video_8h.html#a5429378b96a24fadfd2d1f8d777eb95a" title=" " alt="" coords="355,157,410,184"/> <area shape="rect" href="../../df/d87/kprintf_8c.html#a3093cdac4668a4ccffdd7f77270888b7" title=" " alt="" coords="351,208,414,235"/> <area shape="rect" href="../../da/d28/kprintf_8h.html#a3b4a66bf1f6583e65660f281b6014aa1" title=" " alt="" coords="349,259,416,285"/> <area shape="rect" href="../../dc/dac/io_8h.html#a77b934268de1b3ecdcf3f275413b3108" title="input one byte from specified port" alt="" coords="495,107,576,133"/> <area shape="rect" href="../../dc/dac/io_8h.html#a8acc1a06073db2e7b92ffbd00fbd0cf1" title="outputut one byte to specified port" alt="" coords="491,157,580,184"/> <area shape="rect" href="../../dd/d71/tty_8h.html#a4f96ccac7e60296ef496008d8cbed0ff" title=" " alt="" coords="503,208,567,235"/> <area shape="rect" href="../../dd/d71/tty_8h.html#ad96f57a7c113d3cfa76ee5fed6de33c0" title=" " alt="" coords="501,259,570,285"/> <area shape="rect" href="../../dc/d88/armv6_2spinlock_8c.html#a71f03d2ba55111c715b6068254847a53" title=" " alt="" coords="644,259,719,285"/> <area shape="rect" href="../../dc/d88/armv6_2spinlock_8c.html#a740766af5da58616f700fffab6768a78" title=" " alt="" coords="783,259,875,285"/> </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_0b47fb32d96207851ebbc1ea9965e562.html">sde</a></li><li class="navelem"><a class="el" href="../../d9/d0f/main_8cc.html">main.cc</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>