X-Git-Url: http://sraa.de/git/?a=blobdiff_plain;f=dol%2Fsrc%2Fdol%2Fvisitor%2Fcell%2Flib%2Fspu%2Fproc_wrapper.h;fp=dol%2Fsrc%2Fdol%2Fvisitor%2Fcell%2Flib%2Fspu%2Fproc_wrapper.h;h=656fcdbd329c4a00500d4ad1c4064d1872563933;hb=8c411cf24ed0eb889191aaeafd8fa1e69081df42;hp=0000000000000000000000000000000000000000;hpb=dea7a4fb1ed110d3ce6e6d9255103d724bd66c0e;p=jump.git diff --git a/dol/src/dol/visitor/cell/lib/spu/proc_wrapper.h b/dol/src/dol/visitor/cell/lib/spu/proc_wrapper.h new file mode 100644 index 0000000..656fcdb --- /dev/null +++ b/dol/src/dol/visitor/cell/lib/spu/proc_wrapper.h @@ -0,0 +1,55 @@ +/* + * proc_wrapper.h + * + * Created on: Feb 24, 2009 + * Author: lschor + */ + +#ifndef PROC_WRAPPER_H_ +#define PROC_WRAPPER_H_ + +#include +#include + +#include +#include +#include + +//CBE Macros +#define waittag(tag_id) mfc_write_tag_mask(1< current position you are while blocking + unsigned int readPos; + unsigned int writePos; + +protected: + char* name; + DOLProcess _process; + bool _isDetached; + int _iteratorIndex[4]; + + uint32_t* port_id; + uint32_t* port_queue_id; + uint32_t number_of_ports; + virtual int getIndex(const char* string, char* tokens, + int indexNumber); +}; + +#endif /* PROC_WRAPPER_H_ */