00001 #ifndef MOC_INTERNAL_CORE_SPU_H_ 00002 #define MOC_INTERNAL_CORE_SPU_H_ 00003 00004 00005 00006 #include "../imoc_core.h" 00007 00008 00009 00010 /** 00011 * \addtogroup internal_core 00012 **/ 00013 //@{ 00014 /** 00015 * @name SPU only 00016 **/ 00017 //@{ 00018 00019 /** 00020 * Node-handle structure. 00021 * 00022 * \note SPU only 00023 * 00024 * Information each node knowns about himself and the world. 00025 **/ 00026 typedef struct moc_node_handle_spu_struct 00027 { 00028 uint8_t rank; /**< rank of node */ 00029 uint8_t comm_size; /**< number of overall processes */ 00030 uint8_t queue_size; /**< Size of a message-queue */ 00031 uint64_t ls_base; /**< Effective address of own local-store */ 00032 volatile moc_message_envelope_t* message_queue_base; /**< base-address of own message-queues */ 00033 volatile moc_message_status_t* status_array_base; /**< base-address of own message-status-array */ 00034 uint64_t buffer_base; /**< base-address of own buffer */ 00035 uint32_t buffer_size; /**< size of own buffer */ 00036 volatile moc_process_t* moc_process_list; /**< list of all other MOC-processes 00037 (index is rank of process) */ 00038 } moc_node_handle_spu_t; /**< typedef of \ref moc_node_handle_spu_struct */ 00039 00040 00041 00042 /** 00043 * Information each node knowns about himself and the world. 00044 * 00045 * \note SPU only 00046 **/ 00047 moc_node_handle_spu_t node_handle; 00048 00049 00050 00051 //@} 00052 //@} 00053 #endif /*MOC_INTERNAL_CORE_SPU_H_*/
1.5.6