Files
MPIonCell/documentation/developer/html/d1/d8b/structmoc__spu__thread__struct.html
T
2017-10-26 19:57:24 +02:00

340 lines
19 KiB
HTML
Executable File

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>MPI On Cell (Documentation): moc_spu_thread_struct Struct 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.5.6 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="../../main.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="../../modules.html"><span>Modules</span></a></li>
<li class="current"><a href="../../annotated.html"><span>Data&nbsp;Structures</span></a></li>
<li><a href="../../files.html"><span>Files</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="../../annotated.html"><span>Data&nbsp;Structures</span></a></li>
<li><a href="../../functions.html"><span>Data&nbsp;Fields</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>moc_spu_thread_struct Struct Reference<br>
<small>
[<a class="el" href="../../dc/df1/group__internal__spu__thread.html">SPU-Thread Management</a>]</small>
</h1><!-- doxytag: class="moc_spu_thread_struct" --><code>#include &lt;<a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html">imoc_core_ppu.h</a>&gt;</code>
<p>
<div class="dynheader">
Collaboration diagram for moc_spu_thread_struct:</div>
<div class="dynsection">
<p><center><img src="../../d5/dcb/structmoc__spu__thread__struct__coll__graph.png" border="0" usemap="#d5/df6/moc__spu__thread__struct__coll__map" alt="Collaboration graph"></center>
<center><font size="2">[<a target="top" href="../../graph_legend.html">legend</a>]</font></center></div>
<hr><a name="_details"></a><h2>Detailed Description</h2>
SPU-Thread structure.
<p>
<dl class="note" compact><dt><b>Note:</b></dt><dd>PPU only</dd></dl>
Stores information about the SPU-Threads the managing PPU-Process needs to know.
<p>Definition at line <a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html#l00074">74</a> of file <a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html">imoc_core_ppu.h</a>.</p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Data Fields</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">uint8_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d8b/structmoc__spu__thread__struct.html#610f1390167566df9b451401c0bb8667">rank</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">rank of SPU-thread <a href="#610f1390167566df9b451401c0bb8667"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">pthread_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d8b/structmoc__spu__thread__struct.html#47d2a05a8c7370dabb7653124bafd539">pthread</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">PThread-handle &lt;. <a href="#47d2a05a8c7370dabb7653124bafd539"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">spe_context_ptr_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d8b/structmoc__spu__thread__struct.html#61d6807e3bab9b37ef07b0543e33574e">speid</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">SPE-Context. <a href="#61d6807e3bab9b37ef07b0543e33574e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">spe_stop_info_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d8b/structmoc__spu__thread__struct.html#ef9a368d969bbfc92bee4076b1576b34">stop_info</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Error-Information. <a href="#ef9a368d969bbfc92bee4076b1576b34"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">uint32_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d8b/structmoc__spu__thread__struct.html#4d3f668b79c172907febb25dbe2813ea">spe_entry_adress</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Spe-entry-address. <a href="#4d3f668b79c172907febb25dbe2813ea"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d8b/structmoc__spu__thread__struct.html#a7f667cf56fc5e3cd906caa8aab765cc">argp</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">effective address of user-defined information in main-memory <a href="#a7f667cf56fc5e3cd906caa8aab765cc"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d8b/structmoc__spu__thread__struct.html#603a62c8b05bb561c467e34acbcff2b5">envp</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Pointer to environment information. <a href="#603a62c8b05bb561c467e34acbcff2b5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d8b/structmoc__spu__thread__struct.html#a65e6d8f5252b43a69951b57305ebcbf">buffer_base</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">base-address of the SPU-Thread's buffer <a href="#a65e6d8f5252b43a69951b57305ebcbf"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">uint32_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d8b/structmoc__spu__thread__struct.html#67de0b34d22a702f8d06c0c26e01cc46">buffer_size</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">size of the SPU-Thread's buffer <a href="#67de0b34d22a702f8d06c0c26e01cc46"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">uint64_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d8b/structmoc__spu__thread__struct.html#a1af310737612cbf58480cbb172e33c4">ls_base</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Effective Basis-Address of SPU's local-storage. <a href="#a1af310737612cbf58480cbb172e33c4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">uint32_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d8b/structmoc__spu__thread__struct.html#0813ce58844b7a7d6df0341e5e1c1b17">queue_base_in_ls</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Address of message-queue in SPU's local-storage. <a href="#0813ce58844b7a7d6df0341e5e1c1b17"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">uint32_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d8b/structmoc__spu__thread__struct.html#93433bc21fa8fc6b7f65251a5cf33eb1">status_base_in_ls</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Address of status-array in SPU's local-storage. <a href="#93433bc21fa8fc6b7f65251a5cf33eb1"></a><br></td></tr>
</table>
<hr><h2>Field Documentation</h2>
<a class="anchor" name="610f1390167566df9b451401c0bb8667"></a><!-- doxytag: member="moc_spu_thread_struct::rank" ref="610f1390167566df9b451401c0bb8667" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t <a class="el" href="../../d1/d8b/structmoc__spu__thread__struct.html#610f1390167566df9b451401c0bb8667">moc_spu_thread_struct::rank</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
rank of SPU-thread
<p>
<p>Definition at line <a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html#l00076">76</a> of file <a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html">imoc_core_ppu.h</a>.</p>
<p>Referenced by <a class="el" href="../../dd/dcb/moc__init__ppu_8c-source.html#l00011">MOC_Init()</a>, and <a class="el" href="../../d9/df3/imoc__spe__thread__ppu_8c-source.html#l00037">moc_spe_pthread_func()</a>.</p>
</div>
</div><p>
<a class="anchor" name="47d2a05a8c7370dabb7653124bafd539"></a><!-- doxytag: member="moc_spu_thread_struct::pthread" ref="47d2a05a8c7370dabb7653124bafd539" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">pthread_t <a class="el" href="../../d1/d8b/structmoc__spu__thread__struct.html#47d2a05a8c7370dabb7653124bafd539">moc_spu_thread_struct::pthread</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
PThread-handle &lt;.
<p>
<p>Definition at line <a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html#l00077">77</a> of file <a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html">imoc_core_ppu.h</a>.</p>
</div>
</div><p>
<a class="anchor" name="61d6807e3bab9b37ef07b0543e33574e"></a><!-- doxytag: member="moc_spu_thread_struct::speid" ref="61d6807e3bab9b37ef07b0543e33574e" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">spe_context_ptr_t <a class="el" href="../../d1/d8b/structmoc__spu__thread__struct.html#61d6807e3bab9b37ef07b0543e33574e">moc_spu_thread_struct::speid</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
SPE-Context.
<p>
<p>Definition at line <a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html#l00078">78</a> of file <a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html">imoc_core_ppu.h</a>.</p>
<p>Referenced by <a class="el" href="../../d2/df9/imoc__dma-test__ppu_8c-source.html#l00009">IMOC_test_dma()</a>, <a class="el" href="../../d8/da5/imoc__dma-wait__ppu_8c-source.html#l00009">IMOC_wait_dma()</a>, <a class="el" href="../../dc/d5d/moc__barrier__ppu_8c-source.html#l00011">MOC_Barrier()</a>, and <a class="el" href="../../d9/df3/imoc__spe__thread__ppu_8c-source.html#l00037">moc_spe_pthread_func()</a>.</p>
</div>
</div><p>
<a class="anchor" name="ef9a368d969bbfc92bee4076b1576b34"></a><!-- doxytag: member="moc_spu_thread_struct::stop_info" ref="ef9a368d969bbfc92bee4076b1576b34" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">spe_stop_info_t <a class="el" href="../../d1/d8b/structmoc__spu__thread__struct.html#ef9a368d969bbfc92bee4076b1576b34">moc_spu_thread_struct::stop_info</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Error-Information.
<p>
<p>Definition at line <a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html#l00079">79</a> of file <a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html">imoc_core_ppu.h</a>.</p>
<p>Referenced by <a class="el" href="../../d9/df3/imoc__spe__thread__ppu_8c-source.html#l00037">moc_spe_pthread_func()</a>.</p>
</div>
</div><p>
<a class="anchor" name="4d3f668b79c172907febb25dbe2813ea"></a><!-- doxytag: member="moc_spu_thread_struct::spe_entry_adress" ref="4d3f668b79c172907febb25dbe2813ea" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint32_t <a class="el" href="../../d1/d8b/structmoc__spu__thread__struct.html#4d3f668b79c172907febb25dbe2813ea">moc_spu_thread_struct::spe_entry_adress</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Spe-entry-address.
<p>
<p>Definition at line <a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html#l00080">80</a> of file <a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html">imoc_core_ppu.h</a>.</p>
<p>Referenced by <a class="el" href="../../dd/db2/moc__add__spu__thread__ppu_8c-source.html#l00011">MOC_Add_spu_thread()</a>, and <a class="el" href="../../d9/df3/imoc__spe__thread__ppu_8c-source.html#l00037">moc_spe_pthread_func()</a>.</p>
</div>
</div><p>
<a class="anchor" name="a7f667cf56fc5e3cd906caa8aab765cc"></a><!-- doxytag: member="moc_spu_thread_struct::argp" ref="a7f667cf56fc5e3cd906caa8aab765cc" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void* <a class="el" href="../../d1/d8b/structmoc__spu__thread__struct.html#a7f667cf56fc5e3cd906caa8aab765cc">moc_spu_thread_struct::argp</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
effective address of user-defined information in main-memory
<p>
<p>Definition at line <a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html#l00081">81</a> of file <a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html">imoc_core_ppu.h</a>.</p>
<p>Referenced by <a class="el" href="../../dd/db2/moc__add__spu__thread__ppu_8c-source.html#l00011">MOC_Add_spu_thread()</a>, and <a class="el" href="../../d9/df3/imoc__spe__thread__ppu_8c-source.html#l00037">moc_spe_pthread_func()</a>.</p>
</div>
</div><p>
<a class="anchor" name="603a62c8b05bb561c467e34acbcff2b5"></a><!-- doxytag: member="moc_spu_thread_struct::envp" ref="603a62c8b05bb561c467e34acbcff2b5" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void* <a class="el" href="../../d1/d8b/structmoc__spu__thread__struct.html#603a62c8b05bb561c467e34acbcff2b5">moc_spu_thread_struct::envp</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Pointer to environment information.
<p>
<p>Definition at line <a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html#l00083">83</a> of file <a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html">imoc_core_ppu.h</a>.</p>
<p>Referenced by <a class="el" href="../../dd/dcb/moc__init__ppu_8c-source.html#l00011">MOC_Init()</a>, and <a class="el" href="../../d9/df3/imoc__spe__thread__ppu_8c-source.html#l00037">moc_spe_pthread_func()</a>.</p>
</div>
</div><p>
<a class="anchor" name="a65e6d8f5252b43a69951b57305ebcbf"></a><!-- doxytag: member="moc_spu_thread_struct::buffer_base" ref="a65e6d8f5252b43a69951b57305ebcbf" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void* <a class="el" href="../../d1/d8b/structmoc__spu__thread__struct.html#a65e6d8f5252b43a69951b57305ebcbf">moc_spu_thread_struct::buffer_base</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
base-address of the SPU-Thread's buffer
<p>
<p>Definition at line <a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html#l00084">84</a> of file <a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html">imoc_core_ppu.h</a>.</p>
<p>Referenced by <a class="el" href="../../dd/dcb/moc__init__ppu_8c-source.html#l00011">MOC_Init()</a>.</p>
</div>
</div><p>
<a class="anchor" name="67de0b34d22a702f8d06c0c26e01cc46"></a><!-- doxytag: member="moc_spu_thread_struct::buffer_size" ref="67de0b34d22a702f8d06c0c26e01cc46" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint32_t <a class="el" href="../../d1/d8b/structmoc__spu__thread__struct.html#67de0b34d22a702f8d06c0c26e01cc46">moc_spu_thread_struct::buffer_size</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
size of the SPU-Thread's buffer
<p>
<p>Definition at line <a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html#l00085">85</a> of file <a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html">imoc_core_ppu.h</a>.</p>
<p>Referenced by <a class="el" href="../../dd/dcb/moc__init__ppu_8c-source.html#l00011">MOC_Init()</a>.</p>
</div>
</div><p>
<a class="anchor" name="a1af310737612cbf58480cbb172e33c4"></a><!-- doxytag: member="moc_spu_thread_struct::ls_base" ref="a1af310737612cbf58480cbb172e33c4" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint64_t <a class="el" href="../../d1/d8b/structmoc__spu__thread__struct.html#a1af310737612cbf58480cbb172e33c4">moc_spu_thread_struct::ls_base</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Effective Basis-Address of SPU's local-storage.
<p>
<p>Definition at line <a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html#l00086">86</a> of file <a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html">imoc_core_ppu.h</a>.</p>
<p>Referenced by <a class="el" href="../../dd/dcb/moc__init__ppu_8c-source.html#l00011">MOC_Init()</a>, and <a class="el" href="../../d8/dbc/moc__recv__ppu_8c-source.html#l00011">MOC_Recv()</a>.</p>
</div>
</div><p>
<a class="anchor" name="0813ce58844b7a7d6df0341e5e1c1b17"></a><!-- doxytag: member="moc_spu_thread_struct::queue_base_in_ls" ref="0813ce58844b7a7d6df0341e5e1c1b17" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint32_t <a class="el" href="../../d1/d8b/structmoc__spu__thread__struct.html#0813ce58844b7a7d6df0341e5e1c1b17">moc_spu_thread_struct::queue_base_in_ls</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Address of message-queue in SPU's local-storage.
<p>
<p>Definition at line <a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html#l00087">87</a> of file <a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html">imoc_core_ppu.h</a>.</p>
<p>Referenced by <a class="el" href="../../dd/dcb/moc__init__ppu_8c-source.html#l00011">MOC_Init()</a>.</p>
</div>
</div><p>
<a class="anchor" name="93433bc21fa8fc6b7f65251a5cf33eb1"></a><!-- doxytag: member="moc_spu_thread_struct::status_base_in_ls" ref="93433bc21fa8fc6b7f65251a5cf33eb1" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint32_t <a class="el" href="../../d1/d8b/structmoc__spu__thread__struct.html#93433bc21fa8fc6b7f65251a5cf33eb1">moc_spu_thread_struct::status_base_in_ls</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Address of status-array in SPU's local-storage.
<p>
<p>Definition at line <a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html#l00088">88</a> of file <a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html">imoc_core_ppu.h</a>.</p>
<p>Referenced by <a class="el" href="../../dd/dcb/moc__init__ppu_8c-source.html#l00011">MOC_Init()</a>.</p>
</div>
</div><p>
<hr>The documentation for this struct was generated from the following file:<ul>
<li>include/internal/ppu/<a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html">imoc_core_ppu.h</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Feb 12 13:51:22 2009 for MPI On Cell (Documentation) by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="../../doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
</body>
</html>