<!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>UbixOS V2: src/sys/mpi/system.c 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.7 --> <div class="tabs"> <ul> <li><a href="main.html"><span>Main Page</span></a></li> <li><a href="classes.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> <li> <form action="search.php" method="get"> <table cellspacing="0" cellpadding="0" border="0"> <tr> <td><label> <u>S</u>earch for </label></td> <td><input type="text" name="query" value="" size="20" accesskey="s"/></td> </tr> </table> </form> </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_897b6a2d7bab147dd1db58381aad3984.html">src</a> » <a class="el" href="dir_832905b1f7f5feaf61a306b40c0ac817.html">sys</a> » <a class="el" href="dir_bcb67723b759fa7c88f0f248d2c080de.html">mpi</a></div> <h1>system.c File Reference</h1><code>#include <<a class="el" href="mpi_8h-source.html">mpi/mpi.h</a>></code><br> <code>#include <<a class="el" href="kmalloc_8h-source.html">lib/kmalloc.h</a>></code><br> <code>#include <<a class="el" href="lib_2string_8h-source.html">lib/string.h</a>></code><br> <code>#include <<a class="el" href="spinlock_8h-source.html">ubixos/spinlock.h</a>></code><br> <p> Include dependency graph for system.c:<p><center><img src="system_8c__incl.png" border="0" usemap="#src/sys/mpi/system.c_map" alt=""></center> <map name="src/sys/mpi/system.c_map"> <area href="mpi_8h.html" shape="rect" coords="240,158,331,184" alt=""> <area href="kmalloc_8h.html" shape="rect" coords="412,310,519,336" alt=""> <area href="lib_2string_8h.html" shape="rect" coords="419,360,512,387" alt=""> <area href="spinlock_8h.html" shape="rect" coords="216,411,355,438" alt=""> <area href="types_8h.html" shape="rect" coords="732,208,852,235" alt=""> <area href="sched_8h.html" shape="rect" coords="404,158,527,184" alt=""> <area href="__types_8h.html" shape="rect" coords="903,208,1007,235" alt=""> <area href="tty_8h.html" shape="rect" coords="580,107,679,134" alt=""> <area href="file_8h.html" shape="rect" coords="589,158,669,184" alt=""> <area href="tss_8h.html" shape="rect" coords="589,208,669,235" alt=""> <area href="thread_8h.html" shape="rect" coords="577,259,681,286" alt=""> </map> <p> <a href="system_8c-source.html">Go to the source code of this file.</a><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">int </td><td class="memItemRight" valign="bottom"><a class="el" href="system_8c.html#7fe5c18f6d5c29d15a74277234d18739">mpi_createMbox</a> (char *<a class="el" href="pci_8c.html#8f8f80d37794cde9472343e4487ba3eb">name</a>)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="system_8c.html#bde5afef3a059fc7e8f355486f80a4cd">mpi_destroyMbox</a> (char *<a class="el" href="pci_8c.html#8f8f80d37794cde9472343e4487ba3eb">name</a>)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="system_8c.html#76ba344daaa7e476f1d23c4f23f31615">mpi_fetchMessage</a> (char *<a class="el" href="pci_8c.html#8f8f80d37794cde9472343e4487ba3eb">name</a>, <a class="el" href="structmpi__message.html">mpi_message_t</a> *msg)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="structmpi__mbox.html">mpi_mbox_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="system_8c.html#4c1ab97a8c5205302e9f2a588bedc730">mpi_findMbox</a> (char *<a class="el" href="pci_8c.html#8f8f80d37794cde9472343e4487ba3eb">name</a>)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="system_8c.html#27f6a180049b096910c4ffd8b152fbb8">mpi_postMessage</a> (char *<a class="el" href="pci_8c.html#8f8f80d37794cde9472343e4487ba3eb">name</a>, <a class="el" href="types_8h.html#5847ea0262a5aa61eee48cbe95544a78">uInt32</a> type, <a class="el" href="structmpi__message.html">mpi_message_t</a> *msg)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="system_8c.html#806e9deddf18f8be353745a16e8f5e85">mpi_spam</a> (<a class="el" href="types_8h.html#5847ea0262a5aa61eee48cbe95544a78">uInt32</a> type, void *data)</td></tr> <tr><td colspan="2"><br><h2>Variables</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="structmpi__mbox.html">mpi_mbox_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="system_8c.html#c312330417e35a3eb23ab89de51fb03f">mboxList</a> = 0x0</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="spinlock_8h.html#a240e9404b4ede1e0d714610080d1176">spinLock_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="system_8c.html#204601b33f94cee6b1bca752c3088e3c">mpiSpinLock</a> = SPIN_LOCK_INITIALIZER</td></tr> </table> <hr><h2>Function Documentation</h2> <a class="anchor" name="7fe5c18f6d5c29d15a74277234d18739"></a><!-- doxytag: member="system.c::mpi_createMbox" ref="7fe5c18f6d5c29d15a74277234d18739" args="(char *name)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int mpi_createMbox </td> <td>(</td> <td class="paramtype">char * </td> <td class="paramname"> <em>name</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> <p> Definition at line <a class="el" href="system_8c-source.html#l00069">69</a> of file <a class="el" href="system_8c-source.html">system.c</a>. <p> References <a class="el" href="sched_8c-source.html#l00051">_current</a>, <a class="el" href="sched_8h-source.html#l00055">taskStruct::id</a>, <a class="el" href="kmalloc_8c-source.html#l00247">kmalloc()</a>, <a class="el" href="system_8c-source.html#l00035">mboxList</a>, <a class="el" href="system_8c-source.html#l00047">mpi_findMbox()</a>, <a class="el" href="system_8c-source.html#l00036">mpiSpinLock</a>, <a class="el" href="mpi_8h-source.html#l00050">mpi_mbox::name</a>, <a class="el" href="mpi_8h-source.html#l00046">mpi_mbox::next</a>, <a class="el" href="mpi_8h-source.html#l00051">mpi_mbox::pid</a>, <a class="el" href="mpi_8h-source.html#l00047">mpi_mbox::prev</a>, <a class="el" href="spinlock_8c-source.html#l00056">spinLock()</a>, <a class="el" href="spinlock_8c-source.html#l00037">spinUnlock()</a>, and <a class="el" href="kprintf_8c-source.html#l00051">sprintf()</a>. <p> Referenced by <a class="el" href="message_8c-source.html#l00032">sysMpiCreateMbox()</a>, <a class="el" href="systemtask_8c-source.html#l00048">systemTask()</a>, and <a class="el" href="thread_8c-source.html#l00039">ubixfs_thread()</a>. <p> Here is the call graph for this function:<p><center><img src="system_8c_7fe5c18f6d5c29d15a74277234d18739_cgraph.png" border="0" usemap="#system_8c_7fe5c18f6d5c29d15a74277234d18739_cgraph_map" alt=""></center> <map name="system_8c_7fe5c18f6d5c29d15a74277234d18739_cgraph_map"> <area href="kmalloc_8h.html#150eab2ac4ce4553e21ca10e7f441762" shape="rect" coords="208,335,283,362" alt=""> <area href="spinlock_8h.html#2cd9a4502680fb8e7f0fe6b029e558b1" shape="rect" coords="768,284,848,311" alt=""> <area href="spinlock_8h.html#dd996cbbb3b9826dd9c8cf02b66a4c65" shape="rect" coords="760,82,856,108" alt=""> <area href="system_8c.html#4c1ab97a8c5205302e9f2a588bedc730" shape="rect" coords="188,512,303,539" alt=""> <area href="lib_2string_8h.html#c38cd16373d98782e1465bd3d5aba470" shape="rect" coords="213,563,277,590" alt=""> <area href="kmalloc_8c.html#f6c4ea5cb961c72548d92ff65d7e33a4" shape="rect" coords="353,234,473,260" alt=""> <area href="kprint_8h.html#b2761bdf0cca73ad0fb5880895210cd8" shape="rect" coords="775,386,841,412" alt=""> <area href="kmalloc_8c.html#eb1c3f1ef8eb9063c2e5c4af488dd2d0" shape="rect" coords="352,360,475,387" alt=""> <area href="kpanic_8h.html#db9a182aa071791a306163d50d653deb" shape="rect" coords="584,360,651,387" alt=""> <area href="lib_2string_8h.html#ce4b911463887af5e748326323e99a23" shape="rect" coords="579,208,656,235" alt=""> <area href="paging_8h.html#541f0b43826a40b9e978f5479080bb0e" shape="rect" coords="523,158,712,184" alt=""> <area href="lib_2string_8h.html#6f3dcb20ff11ff9db5904c3cfb61a38c" shape="rect" coords="380,512,447,539" alt=""> </map> </div> </div><p> <a class="anchor" name="bde5afef3a059fc7e8f355486f80a4cd"></a><!-- doxytag: member="system.c::mpi_destroyMbox" ref="bde5afef3a059fc7e8f355486f80a4cd" args="(char *name)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int mpi_destroyMbox </td> <td>(</td> <td class="paramtype">char * </td> <td class="paramname"> <em>name</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> <p> Definition at line <a class="el" href="system_8c-source.html#l00234">234</a> of file <a class="el" href="system_8c-source.html">system.c</a>. <p> References <a class="el" href="sched_8c-source.html#l00051">_current</a>, <a class="el" href="sched_8h-source.html#l00055">taskStruct::id</a>, <a class="el" href="kmalloc_8c-source.html#l00351">kfree()</a>, <a class="el" href="system_8c-source.html#l00035">mboxList</a>, <a class="el" href="system_8c-source.html#l00036">mpiSpinLock</a>, <a class="el" href="mpi_8h-source.html#l00050">mpi_mbox::name</a>, <a class="el" href="mpi_8h-source.html#l00046">mpi_mbox::next</a>, <a class="el" href="mpi_8h-source.html#l00051">mpi_mbox::pid</a>, <a class="el" href="mpi_8h-source.html#l00047">mpi_mbox::prev</a>, <a class="el" href="spinlock_8c-source.html#l00056">spinLock()</a>, <a class="el" href="spinlock_8c-source.html#l00037">spinUnlock()</a>, and <a class="el" href="string_8c-source.html#l00032">strcmp()</a>. <p> Referenced by <a class="el" href="message_8c-source.html#l00038">sysMpiDestroyMbox()</a>. <p> Here is the call graph for this function:<p><center><img src="system_8c_bde5afef3a059fc7e8f355486f80a4cd_cgraph.png" border="0" usemap="#system_8c_bde5afef3a059fc7e8f355486f80a4cd_cgraph_map" alt=""></center> <map name="system_8c_bde5afef3a059fc7e8f355486f80a4cd_cgraph_map"> <area href="kmalloc_8h.html#aa9ed6886459604cf73ccdbf6410e487" shape="rect" coords="202,157,258,184" alt=""> <area href="spinlock_8h.html#2cd9a4502680fb8e7f0fe6b029e558b1" shape="rect" coords="334,208,414,235" alt=""> <area href="spinlock_8h.html#dd996cbbb3b9826dd9c8cf02b66a4c65" shape="rect" coords="326,259,422,285" alt=""> <area href="lib_2string_8h.html#6f3dcb20ff11ff9db5904c3cfb61a38c" shape="rect" coords="196,309,263,336" alt=""> <area href="kmalloc_8c.html#eb1c3f1ef8eb9063c2e5c4af488dd2d0" shape="rect" coords="312,56,435,83" alt=""> <area href="kprint_8h.html#b2761bdf0cca73ad0fb5880895210cd8" shape="rect" coords="644,107,711,133" alt=""> <area href="lib_2string_8h.html#ce4b911463887af5e748326323e99a23" shape="rect" coords="335,157,412,184" alt=""> <area href="kpanic_8h.html#db9a182aa071791a306163d50d653deb" shape="rect" coords="500,56,567,83" alt=""> <area href="8259_8h.html#2b9ec30943ddb0a2ef3bd7ccfd2026c0" shape="rect" coords="632,5,723,32" alt=""> <area href="stdarg_8h.html#621577c2df0ad5faa281223c56eeb7a5" shape="rect" coords="642,56,714,83" alt=""> <area href="vsprintf_8c.html#c2f4c669c6f6aa6caa5ab8adb1b07dd0" shape="rect" coords="807,69,882,96" alt=""> <area href="vsprintf_8c.html#3fa7c8ef8597579301cb4b5c59bc6d9a" shape="rect" coords="804,19,884,45" alt=""> <area href="sched_8h.html#08933fe6d593a1c78b9080359f15a0b7" shape="rect" coords="483,183,584,209" alt=""> <area href="spinlock_8h.html#8f9173fadeddafa01754d6cbcc630198" shape="rect" coords="795,233,894,260" alt=""> <area href="sched_8h.html#549a0c1cc47933fa045b200690965cbd" shape="rect" coords="647,183,708,209" alt=""> <area href="sched_8h.html#e969273d772018d111e1f0344eb550f8" shape="rect" coords="771,183,918,209" alt=""> <area href="sched_8h.html#086cc0adc0b6a3860ceeeb5bc5ea94ea" shape="rect" coords="775,132,914,159" alt=""> </map> </div> </div><p> <a class="anchor" name="76ba344daaa7e476f1d23c4f23f31615"></a><!-- doxytag: member="system.c::mpi_fetchMessage" ref="76ba344daaa7e476f1d23c4f23f31615" args="(char *name, mpi_message_t *msg)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int mpi_fetchMessage </td> <td>(</td> <td class="paramtype">char * </td> <td class="paramname"> <em>name</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="structmpi__message.html">mpi_message_t</a> * </td> <td class="paramname"> <em>msg</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> <p> Definition at line <a class="el" href="system_8c-source.html#l00189">189</a> of file <a class="el" href="system_8c-source.html">system.c</a>. <p> References <a class="el" href="sched_8c-source.html#l00051">_current</a>, <a class="el" href="mpi_8h-source.html#l00039">mpi_message::data</a>, <a class="el" href="mpi_8h-source.html#l00040">mpi_message::header</a>, <a class="el" href="sched_8h-source.html#l00055">taskStruct::id</a>, <a class="el" href="kmalloc_8c-source.html#l00351">kfree()</a>, <a class="el" href="lib_2string_8h.html#e33b18edb618c656b9b795b9fce2316c">memcpy()</a>, <a class="el" href="mpi_8h-source.html#l00036">MESSAGE_LENGTH</a>, <a class="el" href="system_8c-source.html#l00047">mpi_findMbox()</a>, <a class="el" href="system_8c-source.html#l00036">mpiSpinLock</a>, <a class="el" href="mpi_8h-source.html#l00048">mpi_mbox::msg</a>, <a class="el" href="mpi_8h-source.html#l00042">mpi_message::next</a>, <a class="el" href="mpi_8h-source.html#l00041">mpi_message::pid</a>, <a class="el" href="mpi_8h-source.html#l00051">mpi_mbox::pid</a>, <a class="el" href="spinlock_8c-source.html#l00056">spinLock()</a>, and <a class="el" href="spinlock_8c-source.html#l00037">spinUnlock()</a>. <p> Referenced by <a class="el" href="message_8c-source.html#l00050">sysMpiFetchMessage()</a>, <a class="el" href="systemtask_8c-source.html#l00048">systemTask()</a>, and <a class="el" href="thread_8c-source.html#l00039">ubixfs_thread()</a>. <p> Here is the call graph for this function:<p><center><img src="system_8c_76ba344daaa7e476f1d23c4f23f31615_cgraph.png" border="0" usemap="#system_8c_76ba344daaa7e476f1d23c4f23f31615_cgraph_map" alt=""></center> <map name="system_8c_76ba344daaa7e476f1d23c4f23f31615_cgraph_map"> <area href="kmalloc_8h.html#aa9ed6886459604cf73ccdbf6410e487" shape="rect" coords="234,171,290,197" alt=""> <area href="spinlock_8h.html#2cd9a4502680fb8e7f0fe6b029e558b1" shape="rect" coords="390,221,470,248" alt=""> <area href="spinlock_8h.html#dd996cbbb3b9826dd9c8cf02b66a4c65" shape="rect" coords="382,272,478,299" alt=""> <area href="lib_2string_8h.html#e33b18edb618c656b9b795b9fce2316c" shape="rect" coords="222,323,302,349" alt=""> <area href="system_8c.html#4c1ab97a8c5205302e9f2a588bedc730" shape="rect" coords="204,373,319,400" alt=""> <area href="kmalloc_8c.html#eb1c3f1ef8eb9063c2e5c4af488dd2d0" shape="rect" coords="368,69,491,96" alt=""> <area href="kprint_8h.html#b2761bdf0cca73ad0fb5880895210cd8" shape="rect" coords="700,120,767,147" alt=""> <area href="lib_2string_8h.html#ce4b911463887af5e748326323e99a23" shape="rect" coords="391,171,468,197" alt=""> <area href="kpanic_8h.html#db9a182aa071791a306163d50d653deb" shape="rect" coords="556,69,623,96" alt=""> <area href="8259_8h.html#2b9ec30943ddb0a2ef3bd7ccfd2026c0" shape="rect" coords="688,69,779,96" alt=""> <area href="stdarg_8h.html#621577c2df0ad5faa281223c56eeb7a5" shape="rect" coords="698,19,770,45" alt=""> <area href="vsprintf_8c.html#c2f4c669c6f6aa6caa5ab8adb1b07dd0" shape="rect" coords="863,56,938,83" alt=""> <area href="vsprintf_8c.html#3fa7c8ef8597579301cb4b5c59bc6d9a" shape="rect" coords="860,5,940,32" alt=""> <area href="sched_8h.html#08933fe6d593a1c78b9080359f15a0b7" shape="rect" coords="539,183,640,209" alt=""> <area href="spinlock_8h.html#8f9173fadeddafa01754d6cbcc630198" shape="rect" coords="851,233,950,260" alt=""> <area href="sched_8h.html#549a0c1cc47933fa045b200690965cbd" shape="rect" coords="703,183,764,209" alt=""> <area href="sched_8h.html#e969273d772018d111e1f0344eb550f8" shape="rect" coords="827,183,974,209" alt=""> <area href="sched_8h.html#086cc0adc0b6a3860ceeeb5bc5ea94ea" shape="rect" coords="831,132,970,159" alt=""> <area href="lib_2string_8h.html#6f3dcb20ff11ff9db5904c3cfb61a38c" shape="rect" coords="396,373,463,400" alt=""> </map> </div> </div><p> <a class="anchor" name="4c1ab97a8c5205302e9f2a588bedc730"></a><!-- doxytag: member="system.c::mpi_findMbox" ref="4c1ab97a8c5205302e9f2a588bedc730" args="(char *name)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="structmpi__mbox.html">mpi_mbox_t</a>* mpi_findMbox </td> <td>(</td> <td class="paramtype">char * </td> <td class="paramname"> <em>name</em> </td> <td> ) </td> <td width="100%"><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p> Definition at line <a class="el" href="system_8c-source.html#l00047">47</a> of file <a class="el" href="system_8c-source.html">system.c</a>. <p> References <a class="el" href="system_8c-source.html#l00035">mboxList</a>, <a class="el" href="mpi_8h-source.html#l00050">mpi_mbox::name</a>, <a class="el" href="mpi_8h-source.html#l00046">mpi_mbox::next</a>, and <a class="el" href="string_8c-source.html#l00032">strcmp()</a>. <p> Referenced by <a class="el" href="system_8c-source.html#l00069">mpi_createMbox()</a>, <a class="el" href="system_8c-source.html#l00189">mpi_fetchMessage()</a>, and <a class="el" href="system_8c-source.html#l00143">mpi_postMessage()</a>. <p> Here is the call graph for this function:<p><center><img src="system_8c_4c1ab97a8c5205302e9f2a588bedc730_cgraph.png" border="0" usemap="#system_8c_4c1ab97a8c5205302e9f2a588bedc730_cgraph_map" alt=""></center> <map name="system_8c_4c1ab97a8c5205302e9f2a588bedc730_cgraph_map"> <area href="lib_2string_8h.html#6f3dcb20ff11ff9db5904c3cfb61a38c" shape="rect" coords="172,5,239,32" alt=""> </map> </div> </div><p> <a class="anchor" name="27f6a180049b096910c4ffd8b152fbb8"></a><!-- doxytag: member="system.c::mpi_postMessage" ref="27f6a180049b096910c4ffd8b152fbb8" args="(char *name, uInt32 type, mpi_message_t *msg)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int mpi_postMessage </td> <td>(</td> <td class="paramtype">char * </td> <td class="paramname"> <em>name</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="types_8h.html#5847ea0262a5aa61eee48cbe95544a78">uInt32</a> </td> <td class="paramname"> <em>type</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="structmpi__message.html">mpi_message_t</a> * </td> <td class="paramname"> <em>msg</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> <p> Definition at line <a class="el" href="system_8c-source.html#l00143">143</a> of file <a class="el" href="system_8c-source.html">system.c</a>. <p> References <a class="el" href="sched_8c-source.html#l00051">_current</a>, <a class="el" href="mpi_8h-source.html#l00039">mpi_message::data</a>, <a class="el" href="mpi_8h-source.html#l00040">mpi_message::header</a>, <a class="el" href="sched_8h-source.html#l00055">taskStruct::id</a>, <a class="el" href="kmalloc_8c-source.html#l00247">kmalloc()</a>, <a class="el" href="lib_2string_8h.html#e33b18edb618c656b9b795b9fce2316c">memcpy()</a>, <a class="el" href="mpi_8h-source.html#l00036">MESSAGE_LENGTH</a>, <a class="el" href="system_8c-source.html#l00047">mpi_findMbox()</a>, <a class="el" href="system_8c-source.html#l00036">mpiSpinLock</a>, <a class="el" href="mpi_8h-source.html#l00048">mpi_mbox::msg</a>, <a class="el" href="mpi_8h-source.html#l00049">mpi_mbox::msgLast</a>, <a class="el" href="mpi_8h-source.html#l00042">mpi_message::next</a>, <a class="el" href="mpi_8h-source.html#l00041">mpi_message::pid</a>, <a class="el" href="spinlock_8c-source.html#l00056">spinLock()</a>, <a class="el" href="spinlock_8c-source.html#l00037">spinUnlock()</a>, and <a class="el" href="ap-boot_8S-source.html#l00006">x1</a>. <p> Referenced by <a class="el" href="message_8c-source.html#l00044">sysMpiPostMessage()</a>. <p> Here is the call graph for this function:<p><center><img src="system_8c_27f6a180049b096910c4ffd8b152fbb8_cgraph.png" border="0" usemap="#system_8c_27f6a180049b096910c4ffd8b152fbb8_cgraph_map" alt=""></center> <map name="system_8c_27f6a180049b096910c4ffd8b152fbb8_cgraph_map"> <area href="kmalloc_8h.html#150eab2ac4ce4553e21ca10e7f441762" shape="rect" coords="219,335,293,362" alt=""> <area href="spinlock_8h.html#2cd9a4502680fb8e7f0fe6b029e558b1" shape="rect" coords="779,284,859,311" alt=""> <area href="spinlock_8h.html#dd996cbbb3b9826dd9c8cf02b66a4c65" shape="rect" coords="771,82,867,108" alt=""> <area href="lib_2string_8h.html#e33b18edb618c656b9b795b9fce2316c" shape="rect" coords="216,512,296,539" alt=""> <area href="system_8c.html#4c1ab97a8c5205302e9f2a588bedc730" shape="rect" coords="199,563,313,590" alt=""> <area href="kmalloc_8c.html#f6c4ea5cb961c72548d92ff65d7e33a4" shape="rect" coords="364,234,484,260" alt=""> <area href="kprint_8h.html#b2761bdf0cca73ad0fb5880895210cd8" shape="rect" coords="785,386,852,412" alt=""> <area href="kmalloc_8c.html#eb1c3f1ef8eb9063c2e5c4af488dd2d0" shape="rect" coords="363,360,485,387" alt=""> <area href="kpanic_8h.html#db9a182aa071791a306163d50d653deb" shape="rect" coords="595,360,661,387" alt=""> <area href="lib_2string_8h.html#ce4b911463887af5e748326323e99a23" shape="rect" coords="589,208,667,235" alt=""> <area href="paging_8h.html#541f0b43826a40b9e978f5479080bb0e" shape="rect" coords="533,158,723,184" alt=""> <area href="lib_2string_8h.html#6f3dcb20ff11ff9db5904c3cfb61a38c" shape="rect" coords="391,563,457,590" alt=""> </map> </div> </div><p> <a class="anchor" name="806e9deddf18f8be353745a16e8f5e85"></a><!-- doxytag: member="system.c::mpi_spam" ref="806e9deddf18f8be353745a16e8f5e85" args="(uInt32 type, void *data)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int mpi_spam </td> <td>(</td> <td class="paramtype"><a class="el" href="types_8h.html#5847ea0262a5aa61eee48cbe95544a78">uInt32</a> </td> <td class="paramname"> <em>type</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">void * </td> <td class="paramname"> <em>data</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> <p> Definition at line <a class="el" href="system_8c-source.html#l00108">108</a> of file <a class="el" href="system_8c-source.html">system.c</a>. <p> References <a class="el" href="mpi_8h-source.html#l00039">mpi_message::data</a>, <a class="el" href="mpi_8h-source.html#l00040">mpi_message::header</a>, <a class="el" href="kmalloc_8c-source.html#l00247">kmalloc()</a>, <a class="el" href="system_8c-source.html#l00035">mboxList</a>, <a class="el" href="lib_2string_8h.html#e33b18edb618c656b9b795b9fce2316c">memcpy()</a>, <a class="el" href="mpi_8h-source.html#l00036">MESSAGE_LENGTH</a>, <a class="el" href="system_8c-source.html#l00036">mpiSpinLock</a>, <a class="el" href="mpi_8h-source.html#l00048">mpi_mbox::msg</a>, <a class="el" href="mpi_8h-source.html#l00049">mpi_mbox::msgLast</a>, <a class="el" href="mpi_8h-source.html#l00042">mpi_message::next</a>, <a class="el" href="mpi_8h-source.html#l00046">mpi_mbox::next</a>, <a class="el" href="spinlock_8c-source.html#l00056">spinLock()</a>, and <a class="el" href="spinlock_8c-source.html#l00037">spinUnlock()</a>. <p> Referenced by <a class="el" href="message_8c-source.html#l00056">sysMpiSpam()</a>. <p> Here is the call graph for this function:<p><center><img src="system_8c_806e9deddf18f8be353745a16e8f5e85_cgraph.png" border="0" usemap="#system_8c_806e9deddf18f8be353745a16e8f5e85_cgraph_map" alt=""></center> <map name="system_8c_806e9deddf18f8be353745a16e8f5e85_cgraph_map"> <area href="kmalloc_8h.html#150eab2ac4ce4553e21ca10e7f441762" shape="rect" coords="151,196,226,223" alt=""> <area href="spinlock_8h.html#2cd9a4502680fb8e7f0fe6b029e558b1" shape="rect" coords="694,208,774,235" alt=""> <area href="spinlock_8h.html#dd996cbbb3b9826dd9c8cf02b66a4c65" shape="rect" coords="686,385,782,412" alt=""> <area href="lib_2string_8h.html#e33b18edb618c656b9b795b9fce2316c" shape="rect" coords="148,512,228,539" alt=""> <area href="kmalloc_8c.html#f6c4ea5cb961c72548d92ff65d7e33a4" shape="rect" coords="279,233,399,260" alt=""> <area href="kprint_8h.html#b2761bdf0cca73ad0fb5880895210cd8" shape="rect" coords="700,81,767,108" alt=""> <area href="kmalloc_8c.html#eb1c3f1ef8eb9063c2e5c4af488dd2d0" shape="rect" coords="278,107,400,133" alt=""> <area href="kpanic_8h.html#db9a182aa071791a306163d50d653deb" shape="rect" coords="510,107,576,133" alt=""> <area href="lib_2string_8h.html#ce4b911463887af5e748326323e99a23" shape="rect" coords="504,208,582,235" alt=""> <area href="paging_8h.html#541f0b43826a40b9e978f5479080bb0e" shape="rect" coords="448,309,638,336" alt=""> </map> </div> </div><p> <hr><h2>Variable Documentation</h2> <a class="anchor" name="c312330417e35a3eb23ab89de51fb03f"></a><!-- doxytag: member="system.c::mboxList" ref="c312330417e35a3eb23ab89de51fb03f" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="structmpi__mbox.html">mpi_mbox_t</a>* <a class="el" href="system_8c.html#c312330417e35a3eb23ab89de51fb03f">mboxList</a> = 0x0<code> [static]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> <p> Definition at line <a class="el" href="system_8c-source.html#l00035">35</a> of file <a class="el" href="system_8c-source.html">system.c</a>. <p> Referenced by <a class="el" href="system_8c-source.html#l00069">mpi_createMbox()</a>, <a class="el" href="system_8c-source.html#l00234">mpi_destroyMbox()</a>, <a class="el" href="system_8c-source.html#l00047">mpi_findMbox()</a>, and <a class="el" href="system_8c-source.html#l00108">mpi_spam()</a>. </div> </div><p> <a class="anchor" name="204601b33f94cee6b1bca752c3088e3c"></a><!-- doxytag: member="system.c::mpiSpinLock" ref="204601b33f94cee6b1bca752c3088e3c" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="spinlock_8h.html#a240e9404b4ede1e0d714610080d1176">spinLock_t</a> <a class="el" href="system_8c.html#204601b33f94cee6b1bca752c3088e3c">mpiSpinLock</a> = SPIN_LOCK_INITIALIZER<code> [static]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> <p> Definition at line <a class="el" href="system_8c-source.html#l00036">36</a> of file <a class="el" href="system_8c-source.html">system.c</a>. <p> Referenced by <a class="el" href="system_8c-source.html#l00069">mpi_createMbox()</a>, <a class="el" href="system_8c-source.html#l00234">mpi_destroyMbox()</a>, <a class="el" href="system_8c-source.html#l00189">mpi_fetchMessage()</a>, <a class="el" href="system_8c-source.html#l00143">mpi_postMessage()</a>, and <a class="el" href="system_8c-source.html#l00108">mpi_spam()</a>. </div> </div><p> <hr size="1"><address style="align: right;"><small>Generated on Fri Dec 15 11:25:08 2006 for UbixOS V2 by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address> </body> </html>