moc_spu_thread_struct Struct Reference
[SPU-Thread Management]

#include <imoc_core_ppu.h>

Collaboration diagram for moc_spu_thread_struct:

Collaboration graph
[legend]

Detailed Description

SPU-Thread structure.

Note:
PPU only
Stores information about the SPU-Threads the managing PPU-Process needs to know.

Definition at line 74 of file imoc_core_ppu.h.


Data Fields

uint8_t rank
 rank of SPU-thread
pthread_t pthread
 PThread-handle <.
spe_context_ptr_t speid
 SPE-Context.
spe_stop_info_t stop_info
 Error-Information.
uint32_t spe_entry_adress
 Spe-entry-address.
void * argp
 effective address of user-defined information in main-memory
void * envp
 Pointer to environment information.
void * buffer_base
 base-address of the SPU-Thread's buffer
uint32_t buffer_size
 size of the SPU-Thread's buffer
uint64_t ls_base
 Effective Basis-Address of SPU's local-storage.
uint32_t queue_base_in_ls
 Address of message-queue in SPU's local-storage.
uint32_t status_base_in_ls
 Address of status-array in SPU's local-storage.

Field Documentation

rank of SPU-thread

Definition at line 76 of file imoc_core_ppu.h.

Referenced by MOC_Init(), and moc_spe_pthread_func().

PThread-handle <.

Definition at line 77 of file imoc_core_ppu.h.

spe_context_ptr_t moc_spu_thread_struct::speid

SPE-Context.

Definition at line 78 of file imoc_core_ppu.h.

Referenced by IMOC_test_dma(), IMOC_wait_dma(), MOC_Barrier(), and moc_spe_pthread_func().

Error-Information.

Definition at line 79 of file imoc_core_ppu.h.

Referenced by moc_spe_pthread_func().

Spe-entry-address.

Definition at line 80 of file imoc_core_ppu.h.

Referenced by MOC_Add_spu_thread(), and moc_spe_pthread_func().

effective address of user-defined information in main-memory

Definition at line 81 of file imoc_core_ppu.h.

Referenced by MOC_Add_spu_thread(), and moc_spe_pthread_func().

Pointer to environment information.

Definition at line 83 of file imoc_core_ppu.h.

Referenced by MOC_Init(), and moc_spe_pthread_func().

base-address of the SPU-Thread's buffer

Definition at line 84 of file imoc_core_ppu.h.

Referenced by MOC_Init().

size of the SPU-Thread's buffer

Definition at line 85 of file imoc_core_ppu.h.

Referenced by MOC_Init().

Effective Basis-Address of SPU's local-storage.

Definition at line 86 of file imoc_core_ppu.h.

Referenced by MOC_Init(), and MOC_Recv().

Address of message-queue in SPU's local-storage.

Definition at line 87 of file imoc_core_ppu.h.

Referenced by MOC_Init().

Address of status-array in SPU's local-storage.

Definition at line 88 of file imoc_core_ppu.h.

Referenced by MOC_Init().


The documentation for this struct was generated from the following file:

Generated on Thu Feb 12 13:51:22 2009 for MPI On Cell (Documentation) by  doxygen 1.5.6