<?xml version='1.0' encoding='iso-8859-1' standalone='no'?> <doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.4.7"> <compounddef id="mpi_8h" kind="file"> <compoundname>mpi.h</compoundname> <includes refid="types_8h" local="no">ubixos/types.h</includes> <includes refid="sched_8h" local="no">ubixos/sched.h</includes> <includedby refid="ubixfs_8h" local="no">src/sys/include/ubixfs/ubixfs.h</includedby> <includedby refid="syscall_8c" local="no">src/sys/kernel/syscall.c</includedby> <includedby refid="systemtask_8c" local="no">src/sys/kernel/systemtask.c</includedby> <includedby refid="message_8c" local="no">src/sys/mpi/message.c</includedby> <includedby refid="system_8c" local="no">src/sys/mpi/system.c</includedby> <incdepgraph> <node id="3397"> <label>sys/thread.h</label> <link refid="thread_8h"/> <childnode refid="3389" relation="include"> </childnode> </node> <node id="3391"> <label>ubixos/sched.h</label> <link refid="sched_8h"/> <childnode refid="3389" relation="include"> </childnode> <childnode refid="3392" relation="include"> </childnode> <childnode refid="3393" relation="include"> </childnode> <childnode refid="3396" relation="include"> </childnode> <childnode refid="3397" relation="include"> </childnode> </node> <node id="3389"> <label>ubixos/types.h</label> <link refid="types_8h"/> <childnode refid="3390" relation="include"> </childnode> </node> <node id="3390"> <label>sys/_types.h</label> <link refid="__types_8h"/> </node> <node id="3393"> <label>vfs/file.h</label> <link refid="file_8h"/> <childnode refid="3389" relation="include"> </childnode> <childnode refid="3394" relation="include"> </childnode> <childnode refid="3395" relation="include"> </childnode> </node> <node id="3396"> <label>sys/tss.h</label> <link refid="tss_8h"/> <childnode refid="3389" relation="include"> </childnode> </node> <node id="3388"> <label>src/sys/include/mpi/mpi.h</label> <link refid="mpi.h"/> <childnode refid="3389" relation="include"> </childnode> <childnode refid="3391" relation="include"> </childnode> </node> <node id="3395"> <label>vfs/mount.h</label> <link refid="mount_8h"/> <childnode refid="3389" relation="include"> </childnode> </node> <node id="3394"> <label>ubixfs/dirCache.h</label> <link refid="dirCache_8h"/> <childnode refid="3389" relation="include"> </childnode> </node> <node id="3392"> <label>ubixos/tty.h</label> <link refid="tty_8h"/> <childnode refid="3389" relation="include"> </childnode> </node> </incdepgraph> <invincdepgraph> <node id="3403"> <label>src/sys/pci/hd.c</label> <link refid="hd_8c"/> </node> <node id="3411"> <label>src/sys/mpi/message.c</label> <link refid="message_8c"/> </node> <node id="3412"> <label>src/sys/mpi/system.c</label> <link refid="system_8c"/> </node> <node id="3407"> <label>src/sys/ubixfs/directory.c</label> <link refid="directory_8c"/> </node> <node id="3410"> <label>src/sys/kernel/systemtask.c</label> <link refid="systemtask_8c"/> </node> <node id="3405"> <label>src/sys/ubixfs/block.c</label> <link refid="block_8c"/> </node> <node id="3398"> <label>src/sys/include/mpi/mpi.h</label> <link refid="mpi.h"/> <childnode refid="3399" relation="include"> </childnode> <childnode refid="3404" relation="include"> </childnode> <childnode refid="3410" relation="include"> </childnode> <childnode refid="3411" relation="include"> </childnode> <childnode refid="3412" relation="include"> </childnode> </node> <node id="3406"> <label>src/sys/ubixfs/dirCache.c</label> <link refid="dirCache_8c"/> </node> <node id="3409"> <label>src/sys/ubixfs/ubixfs.c</label> <link refid="ubixfs_8c"/> </node> <node id="3402"> <label>src/sys/init/main.c</label> <link refid="main_8c"/> </node> <node id="3399"> <label>src/sys/include/ubixfs/ubixfs.h</label> <link refid="ubixfs_8h"/> <childnode refid="3400" relation="include"> </childnode> <childnode refid="3401" relation="include"> </childnode> <childnode refid="3404" relation="include"> </childnode> <childnode refid="3405" relation="include"> </childnode> <childnode refid="3406" relation="include"> </childnode> <childnode refid="3407" relation="include"> </childnode> <childnode refid="3408" relation="include"> </childnode> <childnode refid="3409" relation="include"> </childnode> </node> <node id="3404"> <label>src/sys/kernel/syscall.c</label> <link refid="syscall_8c"/> </node> <node id="3400"> <label>src/sys/include/pci/hd.h</label> <link refid="hd_8h"/> <childnode refid="3401" relation="include"> </childnode> <childnode refid="3403" relation="include"> </childnode> </node> <node id="3408"> <label>src/sys/ubixfs/thread.c</label> <link refid="thread_8c"/> </node> <node id="3401"> <label>src/sys/include/ubixos/init.h</label> <link refid="init_8h"/> <childnode refid="3402" relation="include"> </childnode> </node> </invincdepgraph> <innerclass refid="structmpi__mbox" prot="public">mpi_mbox</innerclass> <innerclass refid="structmpi__message" prot="public">mpi_message</innerclass> <sectiondef kind="define"> <memberdef kind="define" id="mpi_8h_1c146c3c7afc6f342ae4f476bd46d924a" prot="public" static="no"> <name>MESSAGE_LENGTH</name> <initializer>248</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="/usr/home/reddawg/source/ubix2/src/sys/include/mpi/mpi.h" line="36" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/include/mpi/mpi.h" bodystart="36" bodyend="-1"/> <referencedby refid="system_8c_176ba344daaa7e476f1d23c4f23f31615" compoundref="system_8c" startline="189" endline="223">mpi_fetchMessage</referencedby> <referencedby refid="system_8c_127f6a180049b096910c4ffd8b152fbb8" compoundref="system_8c" startline="143" endline="178">mpi_postMessage</referencedby> <referencedby refid="system_8c_1806e9deddf18f8be353745a16e8f5e85" compoundref="system_8c" startline="108" endline="132">mpi_spam</referencedby> </memberdef> </sectiondef> <sectiondef kind="typedef"> <memberdef kind="typedef" id="mpi_8h_199197a2cb698de0f05cd0dbba8231b57" prot="public" static="no"> <type><ref refid="structmpi__mbox" kindref="compound">mpi_mbox</ref></type> <definition>typedef struct mpi_mbox mpi_mbox_t</definition> <argsstring></argsstring> <name>mpi_mbox_t</name> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="/usr/home/reddawg/source/ubix2/src/sys/include/mpi/mpi.h" line="54" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/include/mpi/mpi.h" bodystart="54" bodyend="-1"/> </memberdef> <memberdef kind="typedef" id="mpi_8h_11b45387020c48a66e8defc7a6dadb562" prot="public" static="no"> <type><ref refid="structmpi__message" kindref="compound">mpi_message</ref></type> <definition>typedef struct mpi_message mpi_message_t</definition> <argsstring></argsstring> <name>mpi_message_t</name> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="/usr/home/reddawg/source/ubix2/src/sys/include/mpi/mpi.h" line="55" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/include/mpi/mpi.h" bodystart="55" bodyend="-1"/> </memberdef> </sectiondef> <sectiondef kind="func"> <memberdef kind="function" id="mpi_8h_1454c70b9013b47d4e8fd0e45af331c69" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type>int</type> <definition>int mpi_createMbox</definition> <argsstring>(char *)</argsstring> <name>mpi_createMbox</name> <param> <type>char *</type> </param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="/usr/home/reddawg/source/ubix2/src/sys/include/mpi/mpi.h" line="58" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/mpi/system.c" bodystart="69" bodyend="97"/> <references refid="sched_8h_154397bfe18d5da4d50ff03b15f540858" compoundref="sched_8c" startline="51">_current</references> <references refid="structtaskStruct_130966587a60db6b40c8be6c387e11d81" compoundref="sched_8h" startline="55">taskStruct::id</references> <references refid="kmalloc_8h_1150eab2ac4ce4553e21ca10e7f441762" compoundref="kmalloc_8c" startline="247" endline="339">kmalloc</references> <references refid="system_8c_1c312330417e35a3eb23ab89de51fb03f" compoundref="system_8c" startline="35">mboxList</references> <references refid="system_8c_14c1ab97a8c5205302e9f2a588bedc730" compoundref="system_8c" startline="47" endline="57">mpi_findMbox</references> <references refid="system_8c_1204601b33f94cee6b1bca752c3088e3c" compoundref="system_8c" startline="36">mpiSpinLock</references> <references refid="structmpi__mbox_11dd212ba5f9ee0acea4c50534510e0d8" compoundref="mpi_8h" startline="50">mpi_mbox::name</references> <references refid="structmpi__mbox_1d8e3ec3d239e749dd9138875f72ead29" compoundref="mpi_8h" startline="46">mpi_mbox::next</references> <references refid="structmpi__mbox_1b9e2e323d303e4f0aa69bdb2066b92ba" compoundref="mpi_8h" startline="51">mpi_mbox::pid</references> <references refid="structmpi__mbox_1522d718a5601a2b84d451a63c3b548b7" compoundref="mpi_8h" startline="47">mpi_mbox::prev</references> <references refid="spinlock_8h_12cd9a4502680fb8e7f0fe6b029e558b1" compoundref="spinlock_8c" startline="56" endline="62">spinLock</references> <references refid="spinlock_8h_1dd996cbbb3b9826dd9c8cf02b66a4c65" compoundref="spinlock_8c" startline="37" endline="46">spinUnlock</references> <references refid="lib_2string_8h_1c38cd16373d98782e1465bd3d5aba470" compoundref="kprintf_8c" startline="51" endline="58">sprintf</references> <referencedby refid="message_8c_1de5ea992c4d9e08de1701e01fdc3bffb" compoundref="message_8c" startline="32" endline="36">sysMpiCreateMbox</referencedby> <referencedby refid="systemtask_8c_1c7cc6a806237f8657fcdce169319fd7f" compoundref="systemtask_8c" startline="48" endline="118">systemTask</referencedby> <referencedby refid="thread_8c_1fb3cddd76d07e866207fefe920a5f76d" compoundref="thread_8c" startline="39" endline="59">ubixfs_thread</referencedby> </memberdef> <memberdef kind="function" id="mpi_8h_19b34d23f75ad6a36e1f9f62814a33547" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type>int</type> <definition>int mpi_destroyMbox</definition> <argsstring>(char *)</argsstring> <name>mpi_destroyMbox</name> <param> <type>char *</type> </param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="/usr/home/reddawg/source/ubix2/src/sys/include/mpi/mpi.h" line="59" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/mpi/system.c" bodystart="234" bodyend="255"/> <references refid="sched_8h_154397bfe18d5da4d50ff03b15f540858" compoundref="sched_8c" startline="51">_current</references> <references refid="structtaskStruct_130966587a60db6b40c8be6c387e11d81" compoundref="sched_8h" startline="55">taskStruct::id</references> <references refid="kmalloc_8h_1aa9ed6886459604cf73ccdbf6410e487" compoundref="kmalloc_8c" startline="351" endline="391">kfree</references> <references refid="system_8c_1c312330417e35a3eb23ab89de51fb03f" compoundref="system_8c" startline="35">mboxList</references> <references refid="system_8c_1204601b33f94cee6b1bca752c3088e3c" compoundref="system_8c" startline="36">mpiSpinLock</references> <references refid="structmpi__mbox_11dd212ba5f9ee0acea4c50534510e0d8" compoundref="mpi_8h" startline="50">mpi_mbox::name</references> <references refid="structmpi__mbox_1d8e3ec3d239e749dd9138875f72ead29" compoundref="mpi_8h" startline="46">mpi_mbox::next</references> <references refid="structmpi__mbox_1b9e2e323d303e4f0aa69bdb2066b92ba" compoundref="mpi_8h" startline="51">mpi_mbox::pid</references> <references refid="structmpi__mbox_1522d718a5601a2b84d451a63c3b548b7" compoundref="mpi_8h" startline="47">mpi_mbox::prev</references> <references refid="spinlock_8h_12cd9a4502680fb8e7f0fe6b029e558b1" compoundref="spinlock_8c" startline="56" endline="62">spinLock</references> <references refid="spinlock_8h_1dd996cbbb3b9826dd9c8cf02b66a4c65" compoundref="spinlock_8c" startline="37" endline="46">spinUnlock</references> <references refid="lib_2string_8h_16f3dcb20ff11ff9db5904c3cfb61a38c" compoundref="string_8c" startline="32" endline="46">strcmp</references> <referencedby refid="message_8c_18fcdfabbd961f748861095cff4888d33" compoundref="message_8c" startline="38" endline="42">sysMpiDestroyMbox</referencedby> </memberdef> <memberdef kind="function" id="mpi_8h_122e0e1e2617b3b69b2088c3fd41b7036" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type>int</type> <definition>int mpi_fetchMessage</definition> <argsstring>(char *, mpi_message_t *)</argsstring> <name>mpi_fetchMessage</name> <param> <type>char *</type> </param> <param> <type><ref refid="structmpi__message" kindref="compound">mpi_message_t</ref> *</type> </param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="/usr/home/reddawg/source/ubix2/src/sys/include/mpi/mpi.h" line="61" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/mpi/system.c" bodystart="189" bodyend="223"/> <references refid="sched_8h_154397bfe18d5da4d50ff03b15f540858" compoundref="sched_8c" startline="51">_current</references> <references refid="structmpi__message_10f190328e34c27044a954f9f088d5ca2" compoundref="mpi_8h" startline="39">mpi_message::data</references> <references refid="structmpi__message_1218677ef8c9f6457e4008c20c79eed8d" compoundref="mpi_8h" startline="40">mpi_message::header</references> <references refid="structtaskStruct_130966587a60db6b40c8be6c387e11d81" compoundref="sched_8h" startline="55">taskStruct::id</references> <references refid="kmalloc_8h_1aa9ed6886459604cf73ccdbf6410e487" compoundref="kmalloc_8c" startline="351" endline="391">kfree</references> <references refid="lib_2string_8h_1e33b18edb618c656b9b795b9fce2316c">memcpy</references> <references refid="mpi_8h_1c146c3c7afc6f342ae4f476bd46d924a" compoundref="mpi_8h" startline="36">MESSAGE_LENGTH</references> <references refid="system_8c_14c1ab97a8c5205302e9f2a588bedc730" compoundref="system_8c" startline="47" endline="57">mpi_findMbox</references> <references refid="system_8c_1204601b33f94cee6b1bca752c3088e3c" compoundref="system_8c" startline="36">mpiSpinLock</references> <references refid="structmpi__mbox_1b69ac18686e2132261481320dc5e57d1" compoundref="mpi_8h" startline="48">mpi_mbox::msg</references> <references refid="structmpi__message_1b0773f30b407ced06f0b52de72b7aebb" compoundref="mpi_8h" startline="42">mpi_message::next</references> <references refid="structmpi__mbox_1b9e2e323d303e4f0aa69bdb2066b92ba" compoundref="mpi_8h" startline="51">mpi_mbox::pid</references> <references refid="structmpi__message_1ebe00f8f5a01ec8d4f56f8fab455ca8c" compoundref="mpi_8h" startline="41">mpi_message::pid</references> <references refid="spinlock_8h_12cd9a4502680fb8e7f0fe6b029e558b1" compoundref="spinlock_8c" startline="56" endline="62">spinLock</references> <references refid="spinlock_8h_1dd996cbbb3b9826dd9c8cf02b66a4c65" compoundref="spinlock_8c" startline="37" endline="46">spinUnlock</references> <referencedby refid="message_8c_158f7059c13adec6defb52da4cb7352ec" compoundref="message_8c" startline="50" endline="54">sysMpiFetchMessage</referencedby> <referencedby refid="systemtask_8c_1c7cc6a806237f8657fcdce169319fd7f" compoundref="systemtask_8c" startline="48" endline="118">systemTask</referencedby> <referencedby refid="thread_8c_1fb3cddd76d07e866207fefe920a5f76d" compoundref="thread_8c" startline="39" endline="59">ubixfs_thread</referencedby> </memberdef> <memberdef kind="function" id="mpi_8h_11c2c24c44767f282cddb50a9affa3f55" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type>int</type> <definition>int mpi_postMessage</definition> <argsstring>(char *, uInt32, mpi_message_t *)</argsstring> <name>mpi_postMessage</name> <param> <type>char *</type> </param> <param> <type><ref refid="types_8h_15847ea0262a5aa61eee48cbe95544a78" kindref="member">uInt32</ref></type> </param> <param> <type><ref refid="structmpi__message" kindref="compound">mpi_message_t</ref> *</type> </param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="/usr/home/reddawg/source/ubix2/src/sys/include/mpi/mpi.h" line="60" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/mpi/system.c" bodystart="143" bodyend="178"/> <references refid="sched_8h_154397bfe18d5da4d50ff03b15f540858" compoundref="sched_8c" startline="51">_current</references> <references refid="structmpi__message_10f190328e34c27044a954f9f088d5ca2" compoundref="mpi_8h" startline="39">mpi_message::data</references> <references refid="structmpi__message_1218677ef8c9f6457e4008c20c79eed8d" compoundref="mpi_8h" startline="40">mpi_message::header</references> <references refid="structtaskStruct_130966587a60db6b40c8be6c387e11d81" compoundref="sched_8h" startline="55">taskStruct::id</references> <references refid="kmalloc_8h_1150eab2ac4ce4553e21ca10e7f441762" compoundref="kmalloc_8c" startline="247" endline="339">kmalloc</references> <references refid="lib_2string_8h_1e33b18edb618c656b9b795b9fce2316c">memcpy</references> <references refid="mpi_8h_1c146c3c7afc6f342ae4f476bd46d924a" compoundref="mpi_8h" startline="36">MESSAGE_LENGTH</references> <references refid="system_8c_14c1ab97a8c5205302e9f2a588bedc730" compoundref="system_8c" startline="47" endline="57">mpi_findMbox</references> <references refid="system_8c_1204601b33f94cee6b1bca752c3088e3c" compoundref="system_8c" startline="36">mpiSpinLock</references> <references refid="structmpi__mbox_1b69ac18686e2132261481320dc5e57d1" compoundref="mpi_8h" startline="48">mpi_mbox::msg</references> <references refid="structmpi__mbox_1c359cd90f2d9d09b5340a615c6a24e98" compoundref="mpi_8h" startline="49">mpi_mbox::msgLast</references> <references refid="structmpi__message_1b0773f30b407ced06f0b52de72b7aebb" compoundref="mpi_8h" startline="42">mpi_message::next</references> <references refid="structmpi__message_1ebe00f8f5a01ec8d4f56f8fab455ca8c" compoundref="mpi_8h" startline="41">mpi_message::pid</references> <references refid="spinlock_8h_12cd9a4502680fb8e7f0fe6b029e558b1" compoundref="spinlock_8c" startline="56" endline="62">spinLock</references> <references refid="spinlock_8h_1dd996cbbb3b9826dd9c8cf02b66a4c65" compoundref="spinlock_8c" startline="37" endline="46">spinUnlock</references> <references refid="ap-boot_8S_11a3ac2137e21f6f0d400f1996914dd19" compoundref="ap-boot_8S" startline="6">x1</references> <referencedby refid="message_8c_1c3e393b470de85c934df79a854965380" compoundref="message_8c" startline="44" endline="48">sysMpiPostMessage</referencedby> </memberdef> <memberdef kind="function" id="mpi_8h_1ebee857d028fff3e542529c5b711e06a" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type>int</type> <definition>int mpi_spam</definition> <argsstring>(uInt32, void *)</argsstring> <name>mpi_spam</name> <param> <type><ref refid="types_8h_15847ea0262a5aa61eee48cbe95544a78" kindref="member">uInt32</ref></type> </param> <param> <type>void *</type> </param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="/usr/home/reddawg/source/ubix2/src/sys/include/mpi/mpi.h" line="62" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/mpi/system.c" bodystart="108" bodyend="132"/> <references refid="structmpi__message_10f190328e34c27044a954f9f088d5ca2" compoundref="mpi_8h" startline="39">mpi_message::data</references> <references refid="structmpi__message_1218677ef8c9f6457e4008c20c79eed8d" compoundref="mpi_8h" startline="40">mpi_message::header</references> <references refid="kmalloc_8h_1150eab2ac4ce4553e21ca10e7f441762" compoundref="kmalloc_8c" startline="247" endline="339">kmalloc</references> <references refid="system_8c_1c312330417e35a3eb23ab89de51fb03f" compoundref="system_8c" startline="35">mboxList</references> <references refid="lib_2string_8h_1e33b18edb618c656b9b795b9fce2316c">memcpy</references> <references refid="mpi_8h_1c146c3c7afc6f342ae4f476bd46d924a" compoundref="mpi_8h" startline="36">MESSAGE_LENGTH</references> <references refid="system_8c_1204601b33f94cee6b1bca752c3088e3c" compoundref="system_8c" startline="36">mpiSpinLock</references> <references refid="structmpi__mbox_1b69ac18686e2132261481320dc5e57d1" compoundref="mpi_8h" startline="48">mpi_mbox::msg</references> <references refid="structmpi__mbox_1c359cd90f2d9d09b5340a615c6a24e98" compoundref="mpi_8h" startline="49">mpi_mbox::msgLast</references> <references refid="structmpi__mbox_1d8e3ec3d239e749dd9138875f72ead29" compoundref="mpi_8h" startline="46">mpi_mbox::next</references> <references refid="structmpi__message_1b0773f30b407ced06f0b52de72b7aebb" compoundref="mpi_8h" startline="42">mpi_message::next</references> <references refid="spinlock_8h_12cd9a4502680fb8e7f0fe6b029e558b1" compoundref="spinlock_8c" startline="56" endline="62">spinLock</references> <references refid="spinlock_8h_1dd996cbbb3b9826dd9c8cf02b66a4c65" compoundref="spinlock_8c" startline="37" endline="46">spinUnlock</references> <referencedby refid="message_8c_1e934ac60836d49ece65eabf48175c33c" compoundref="message_8c" startline="56" endline="60">sysMpiSpam</referencedby> </memberdef> </sectiondef> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <programlisting> <codeline lineno="1"><highlight class="comment">/*****************************************************************************************</highlight></codeline> <codeline lineno="2"><highlight class="comment"><sp/>Copyright<sp/>(c)<sp/>2002-2004<sp/>The<sp/>UbixOS<sp/>Project</highlight></codeline> <codeline lineno="3"><highlight class="comment"><sp/>All<sp/>rights<sp/>reserved.</highlight></codeline> <codeline lineno="4"><highlight class="comment"></highlight></codeline> <codeline lineno="5"><highlight class="comment"><sp/>Redistribution<sp/>and<sp/>use<sp/>in<sp/>source<sp/>and<sp/>binary<sp/>forms,<sp/>with<sp/>or<sp/>without<sp/>modification,<sp/>are</highlight></codeline> <codeline lineno="6"><highlight class="comment"><sp/>permitted<sp/>provided<sp/>that<sp/>the<sp/>following<sp/>conditions<sp/>are<sp/>met:</highlight></codeline> <codeline lineno="7"><highlight class="comment"></highlight></codeline> <codeline lineno="8"><highlight class="comment"><sp/>Redistributions<sp/>of<sp/>source<sp/>code<sp/>must<sp/>retain<sp/>the<sp/>above<sp/>copyright<sp/>notice,<sp/>this<sp/>list<sp/>of</highlight></codeline> <codeline lineno="9"><highlight class="comment"><sp/>conditions,<sp/>the<sp/>following<sp/>disclaimer<sp/>and<sp/>the<sp/>list<sp/>of<sp/>authors.<sp/><sp/>Redistributions<sp/>in<sp/>binary</highlight></codeline> <codeline lineno="10"><highlight class="comment"><sp/>form<sp/>must<sp/>reproduce<sp/>the<sp/>above<sp/>copyright<sp/>notice,<sp/>this<sp/>list<sp/>of<sp/>conditions,<sp/>the<sp/>following</highlight></codeline> <codeline lineno="11"><highlight class="comment"><sp/>disclaimer<sp/>and<sp/>the<sp/>list<sp/>of<sp/>authors<sp/>in<sp/>the<sp/>documentation<sp/>and/or<sp/>other<sp/>materials<sp/>provided</highlight></codeline> <codeline lineno="12"><highlight class="comment"><sp/>with<sp/>the<sp/>distribution.<sp/>Neither<sp/>the<sp/>name<sp/>of<sp/>the<sp/>UbixOS<sp/>Project<sp/>nor<sp/>the<sp/>names<sp/>of<sp/>its</highlight></codeline> <codeline lineno="13"><highlight class="comment"><sp/>contributors<sp/>may<sp/>be<sp/>used<sp/>to<sp/>endorse<sp/>or<sp/>promote<sp/>products<sp/>derived<sp/>from<sp/>this<sp/>software</highlight></codeline> <codeline lineno="14"><highlight class="comment"><sp/>without<sp/>specific<sp/>prior<sp/>written<sp/>permission.</highlight></codeline> <codeline lineno="15"><highlight class="comment"></highlight></codeline> <codeline lineno="16"><highlight class="comment"><sp/>THIS<sp/>SOFTWARE<sp/>IS<sp/>PROVIDED<sp/>BY<sp/>THE<sp/>COPYRIGHT<sp/>HOLDERS<sp/>AND<sp/>CONTRIBUTORS<sp/>"AS<sp/>IS"<sp/>AND<sp/>ANY</highlight></codeline> <codeline lineno="17"><highlight class="comment"><sp/>EXPRESS<sp/>OR<sp/>IMPLIED<sp/>WARRANTIES,<sp/>INCLUDING,<sp/>BUT<sp/>NOT<sp/>LIMITED<sp/>TO,<sp/>THE<sp/>IMPLIED<sp/>WARRANTIES<sp/>OF</highlight></codeline> <codeline lineno="18"><highlight class="comment"><sp/>MERCHANTABILITY<sp/>AND<sp/>FITNESS<sp/>FOR<sp/>A<sp/>PARTICULAR<sp/>PURPOSE<sp/>ARE<sp/>DISCLAIMED.<sp/>IN<sp/>NO<sp/>EVENT<sp/>SHALL</highlight></codeline> <codeline lineno="19"><highlight class="comment"><sp/>THE<sp/>COPYRIGHT<sp/>OWNER<sp/>OR<sp/>CONTRIBUTORS<sp/>BE<sp/>LIABLE<sp/>FOR<sp/>ANY<sp/>DIRECT,<sp/>INDIRECT,<sp/>INCIDENTAL,</highlight></codeline> <codeline lineno="20"><highlight class="comment"><sp/>SPECIAL,<sp/>EXEMPLARY,<sp/>OR<sp/>CONSEQUENTIAL<sp/>DAMAGES<sp/>(INCLUDING,<sp/>BUT<sp/>NOT<sp/>LIMITED<sp/>TO,<sp/>PROCUREMENT</highlight></codeline> <codeline lineno="21"><highlight class="comment"><sp/>OF<sp/>SUBSTITUTE<sp/>GOODS<sp/>OR<sp/>SERVICES;<sp/>LOSS<sp/>OF<sp/>USE,<sp/>DATA,<sp/>OR<sp/>PROFITS;<sp/>OR<sp/>BUSINESS<sp/>INTERRUPTION)</highlight></codeline> <codeline lineno="22"><highlight class="comment"><sp/>HOWEVER<sp/>CAUSED<sp/>AND<sp/>ON<sp/>ANY<sp/>THEORY<sp/>OF<sp/>LIABILITY,<sp/>WHETHER<sp/>IN<sp/>CONTRACT,<sp/>STRICT<sp/>LIABILITY,<sp/>OR</highlight></codeline> <codeline lineno="23"><highlight class="comment"><sp/>TORT<sp/>(INCLUDING<sp/>NEGLIGENCE<sp/>OR<sp/>OTHERWISE)<sp/>ARISING<sp/>IN<sp/>ANY<sp/>WAY<sp/>OUT<sp/>OF<sp/>THE<sp/>USE<sp/>OF<sp/>THIS</highlight></codeline> <codeline lineno="24"><highlight class="comment"><sp/>SOFTWARE,<sp/>EVEN<sp/>IF<sp/>ADVISED<sp/>OF<sp/>THE<sp/>POSSIBILITY<sp/>OF<sp/>SUCH<sp/>DAMAGE.</highlight></codeline> <codeline lineno="25"><highlight class="comment"></highlight></codeline> <codeline lineno="26"><highlight class="comment"><sp/>$Id: mpi_8h.xml 88 2016-01-12 00:11:29Z reddawg $</highlight></codeline> <codeline lineno="27"><highlight class="comment"></highlight></codeline> <codeline lineno="28"><highlight class="comment">*****************************************************************************************/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="29"><highlight class="normal"></highlight></codeline> <codeline lineno="30"><highlight class="normal"></highlight><highlight class="preprocessor">#ifndef<sp/>_MPI_H</highlight></codeline> <codeline lineno="31"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#define<sp/>_MPI_H</highlight></codeline> <codeline lineno="32"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="33"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><<ref refid="types_8h" kindref="compound">ubixos/types.h</ref>></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="34"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><<ref refid="sched_8h" kindref="compound">ubixos/sched.h</ref>></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="35"><highlight class="normal"></highlight></codeline> <codeline lineno="36" refid="mpi_8h_1c146c3c7afc6f342ae4f476bd46d924a" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>MESSAGE_LENGTH<sp/>248</highlight></codeline> <codeline lineno="37"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="38" refid="structmpi__message" refkind="compound"><highlight class="normal"></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structmpi__message" kindref="compound">mpi_message</ref><sp/>{</highlight></codeline> <codeline lineno="39" refid="structmpi__message_10f190328e34c27044a954f9f088d5ca2" refkind="member"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="structmpi__message_10f190328e34c27044a954f9f088d5ca2" kindref="member">data</ref>[<ref refid="mpi_8h_1c146c3c7afc6f342ae4f476bd46d924a" kindref="member">MESSAGE_LENGTH</ref>];</highlight></codeline> <codeline lineno="40" refid="structmpi__message_1218677ef8c9f6457e4008c20c79eed8d" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="types_8h_15847ea0262a5aa61eee48cbe95544a78" kindref="member">uInt32</ref><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="structmpi__message_1218677ef8c9f6457e4008c20c79eed8d" kindref="member">header</ref>;</highlight></codeline> <codeline lineno="41" refid="structmpi__message_1ebe00f8f5a01ec8d4f56f8fab455ca8c" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="types_8h_1e438ba74394b14d7b24b6df3b3b8c252" kindref="member">pidType</ref><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="structmpi__message_1ebe00f8f5a01ec8d4f56f8fab455ca8c" kindref="member">pid</ref>;</highlight></codeline> <codeline lineno="42" refid="structmpi__message_1b0773f30b407ced06f0b52de72b7aebb" refkind="member"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structmpi__message" kindref="compound">mpi_message</ref><sp/><sp/>*<ref refid="structmpi__message_1b0773f30b407ced06f0b52de72b7aebb" kindref="member">next</ref>;</highlight></codeline> <codeline lineno="43"><highlight class="normal"><sp/><sp/>};</highlight></codeline> <codeline lineno="44"><highlight class="normal"></highlight></codeline> <codeline lineno="45" refid="structmpi__mbox" refkind="compound"><highlight class="normal"></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structmpi__mbox" kindref="compound">mpi_mbox</ref><sp/>{</highlight></codeline> <codeline lineno="46" refid="structmpi__mbox_1d8e3ec3d239e749dd9138875f72ead29" refkind="member"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structmpi__mbox" kindref="compound">mpi_mbox</ref><sp/><sp/><sp/><sp/><sp/>*<ref refid="structmpi__mbox_1d8e3ec3d239e749dd9138875f72ead29" kindref="member">next</ref>;</highlight></codeline> <codeline lineno="47" refid="structmpi__mbox_1522d718a5601a2b84d451a63c3b548b7" refkind="member"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structmpi__mbox" kindref="compound">mpi_mbox</ref><sp/><sp/><sp/><sp/><sp/>*<ref refid="structmpi__mbox_1522d718a5601a2b84d451a63c3b548b7" kindref="member">prev</ref>;</highlight></codeline> <codeline lineno="48" refid="structmpi__mbox_1b69ac18686e2132261481320dc5e57d1" refkind="member"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structmpi__message" kindref="compound">mpi_message</ref><sp/><sp/>*<ref refid="structmpi__mbox_1b69ac18686e2132261481320dc5e57d1" kindref="member">msg</ref>;</highlight></codeline> <codeline lineno="49" refid="structmpi__mbox_1c359cd90f2d9d09b5340a615c6a24e98" refkind="member"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structmpi__message" kindref="compound">mpi_message</ref><sp/><sp/>*<ref refid="structmpi__mbox_1c359cd90f2d9d09b5340a615c6a24e98" kindref="member">msgLast</ref>;</highlight></codeline> <codeline lineno="50" refid="structmpi__mbox_11dd212ba5f9ee0acea4c50534510e0d8" refkind="member"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="structmpi__mbox_11dd212ba5f9ee0acea4c50534510e0d8" kindref="member">name</ref>[64];</highlight></codeline> <codeline lineno="51" refid="structmpi__mbox_1b9e2e323d303e4f0aa69bdb2066b92ba" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="types_8h_1e438ba74394b14d7b24b6df3b3b8c252" kindref="member">pidType</ref><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="structmpi__mbox_1b9e2e323d303e4f0aa69bdb2066b92ba" kindref="member">pid</ref>;</highlight></codeline> <codeline lineno="52"><highlight class="normal"><sp/><sp/>};</highlight></codeline> <codeline lineno="53"><highlight class="normal"></highlight></codeline> <codeline lineno="54" refid="mpi_8h_199197a2cb698de0f05cd0dbba8231b57" refkind="member"><highlight class="normal"></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structmpi__mbox" kindref="compound">mpi_mbox</ref><sp/><sp/><sp/><sp/><ref refid="mpi_8h_199197a2cb698de0f05cd0dbba8231b57" kindref="member">mpi_mbox_t</ref>;</highlight></codeline> <codeline lineno="55" refid="mpi_8h_11b45387020c48a66e8defc7a6dadb562" refkind="member"><highlight class="normal"></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structmpi__message" kindref="compound">mpi_message</ref><sp/><ref refid="mpi_8h_11b45387020c48a66e8defc7a6dadb562" kindref="member">mpi_message_t</ref>;</highlight></codeline> <codeline lineno="56"><highlight class="normal"></highlight></codeline> <codeline lineno="57"><highlight class="normal"></highlight></codeline> <codeline lineno="58"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="mpi_8h_1454c70b9013b47d4e8fd0e45af331c69" kindref="member">mpi_createMbox</ref>(</highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>*);</highlight></codeline> <codeline lineno="59"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="mpi_8h_19b34d23f75ad6a36e1f9f62814a33547" kindref="member">mpi_destroyMbox</ref>(</highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>*);</highlight></codeline> <codeline lineno="60"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="mpi_8h_11c2c24c44767f282cddb50a9affa3f55" kindref="member">mpi_postMessage</ref>(</highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>*,<ref refid="types_8h_15847ea0262a5aa61eee48cbe95544a78" kindref="member">uInt32</ref>,<ref refid="mpi_8h_11b45387020c48a66e8defc7a6dadb562" kindref="member">mpi_message_t</ref><sp/>*);</highlight></codeline> <codeline lineno="61"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="mpi_8h_122e0e1e2617b3b69b2088c3fd41b7036" kindref="member">mpi_fetchMessage</ref>(</highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>*,<ref refid="mpi_8h_11b45387020c48a66e8defc7a6dadb562" kindref="member">mpi_message_t</ref><sp/>*);</highlight></codeline> <codeline lineno="62"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="mpi_8h_1ebee857d028fff3e542529c5b711e06a" kindref="member">mpi_spam</ref>(<ref refid="types_8h_15847ea0262a5aa61eee48cbe95544a78" kindref="member">uInt32</ref>,</highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>*);</highlight></codeline> <codeline lineno="63"><highlight class="normal"></highlight></codeline> <codeline lineno="64"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight></codeline> <codeline lineno="65"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="66"><highlight class="normal"></highlight><highlight class="comment">/***</highlight></codeline> <codeline lineno="67"><highlight class="comment"><sp/>$Log: mpi_8h.xml,v $ <codeline lineno="67"><highlight class="comment"><sp/>Revision 1.6 2006/12/19 14:12:52 reddawg <codeline lineno="67"><highlight class="comment"><sp/>rtld-elf almost workign <codeline lineno="67"><highlight class="comment"><sp/></highlight></codeline> <codeline lineno="68"><highlight class="comment"><sp/>Revision<sp/>1.1.1.1<sp/><sp/>2006/06/01<sp/>12:46:14<sp/><sp/>reddawg</highlight></codeline> <codeline lineno="69"><highlight class="comment"><sp/>ubix2</highlight></codeline> <codeline lineno="70"><highlight class="comment"></highlight></codeline> <codeline lineno="71"><highlight class="comment"><sp/>Revision<sp/>1.2<sp/><sp/>2005/10/12<sp/>00:13:36<sp/><sp/>reddawg</highlight></codeline> <codeline lineno="72"><highlight class="comment"><sp/>Removed</highlight></codeline> <codeline lineno="73"><highlight class="comment"></highlight></codeline> <codeline lineno="74"><highlight class="comment"><sp/>Revision<sp/>1.1.1.1<sp/><sp/>2005/09/26<sp/>17:23:42<sp/><sp/>reddawg</highlight></codeline> <codeline lineno="75"><highlight class="comment"><sp/>no<sp/>message</highlight></codeline> <codeline lineno="76"><highlight class="comment"></highlight></codeline> <codeline lineno="77"><highlight class="comment"><sp/>Revision<sp/>1.8<sp/><sp/>2004/08/14<sp/>11:23:02<sp/><sp/>reddawg</highlight></codeline> <codeline lineno="78"><highlight class="comment"><sp/>Changes</highlight></codeline> <codeline lineno="79"><highlight class="comment"></highlight></codeline> <codeline lineno="80"><highlight class="comment"><sp/>Revision<sp/>1.7<sp/><sp/>2004/05/28<sp/>03:52:56<sp/><sp/>reddawg</highlight></codeline> <codeline lineno="81"><highlight class="comment"><sp/>mpi:<sp/>took<sp/>a<sp/>few<sp/>suggestions<sp/>from<sp/>TCA</highlight></codeline> <codeline lineno="82"><highlight class="comment"></highlight></codeline> <codeline lineno="83"><highlight class="comment"><sp/>Revision<sp/>1.6<sp/><sp/>2004/05/25<sp/>18:33:11<sp/><sp/>reddawg</highlight></codeline> <codeline lineno="84"><highlight class="comment"><sp/>We<sp/>now<sp/>use<sp/>128byte<sp/>messages<sp/>I<sp/>can<sp/>increase<sp/>later</highlight></codeline> <codeline lineno="85"><highlight class="comment"></highlight></codeline> <codeline lineno="86"><highlight class="comment"><sp/>Revision<sp/>1.5<sp/><sp/>2004/05/25<sp/>18:29:57<sp/><sp/>reddawg</highlight></codeline> <codeline lineno="87"><highlight class="comment"><sp/>We<sp/>now<sp/>lock<sp/>onto<sp/>a<sp/>pid</highlight></codeline> <codeline lineno="88"><highlight class="comment"></highlight></codeline> <codeline lineno="89"><highlight class="comment"><sp/>Revision<sp/>1.4<sp/><sp/>2004/05/25<sp/>16:52:22<sp/><sp/>reddawg</highlight></codeline> <codeline lineno="90"><highlight class="comment"><sp/>We<sp/>now<sp/>have<sp/>mpiDestroyMbox(char<sp/>*)<sp/>This<sp/>will<sp/>of<sp/>course<sp/>destroy<sp/>a<sp/>mail<sp/>box</highlight></codeline> <codeline lineno="91"><highlight class="comment"></highlight></codeline> <codeline lineno="92"><highlight class="comment"><sp/>Revision<sp/>1.3<sp/><sp/>2004/05/25<sp/>16:28:21<sp/><sp/>reddawg</highlight></codeline> <codeline lineno="93"><highlight class="comment"><sp/>Made<sp/>mpiFindMbox()<sp/>static</highlight></codeline> <codeline lineno="94"><highlight class="comment"></highlight></codeline> <codeline lineno="95"><highlight class="comment"><sp/>Revision<sp/>1.2<sp/><sp/>2004/05/25<sp/>15:42:19<sp/><sp/>reddawg</highlight></codeline> <codeline lineno="96"><highlight class="comment"><sp/>Enabled<sp/>mpiSpam();</highlight></codeline> <codeline lineno="97"><highlight class="comment"></highlight></codeline> <codeline lineno="98"><highlight class="comment"><sp/>Revision<sp/>1.1<sp/><sp/>2004/05/25<sp/>14:07:01<sp/><sp/>reddawg</highlight></codeline> <codeline lineno="99"><highlight class="comment"><sp/>Sorry<sp/>we<sp/>can't<sp/>forget<sp/>the<sp/>headers<sp/>files</highlight></codeline> <codeline lineno="100"><highlight class="comment"></highlight></codeline> <codeline lineno="101"><highlight class="comment"><sp/>END</highlight></codeline> <codeline lineno="102"><highlight class="comment"><sp/>***/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="103"><highlight class="normal"></highlight></codeline> </programlisting> <location file="/usr/home/reddawg/source/ubix2/src/sys/include/mpi/mpi.h"/> </compounddef> </doxygen>