X-Git-Url: http://sraa.de/git/?a=blobdiff_plain;f=dol%2Fsrc%2Fdol%2Fvisitor%2Fcell%2Flib%2Fppu%2Fcommon_ppu.h;fp=dol%2Fsrc%2Fdol%2Fvisitor%2Fcell%2Flib%2Fppu%2Fcommon_ppu.h;h=09a8d789caee8d68b97b48f59d257c67514fef7c;hb=8c411cf24ed0eb889191aaeafd8fa1e69081df42;hp=0000000000000000000000000000000000000000;hpb=dea7a4fb1ed110d3ce6e6d9255103d724bd66c0e;p=jump.git diff --git a/dol/src/dol/visitor/cell/lib/ppu/common_ppu.h b/dol/src/dol/visitor/cell/lib/ppu/common_ppu.h new file mode 100644 index 0000000..09a8d78 --- /dev/null +++ b/dol/src/dol/visitor/cell/lib/ppu/common_ppu.h @@ -0,0 +1,32 @@ +/**************************************************************** + * Common structs for the PPU + * Creator: lschor, 2008-11-21 + * Description: Common structs for the PPU + * + * Revision: + * - 2008-11-21: Created + */ + +#ifndef __COMMON_PPU_H__ +#define __COMMON_PPU_H__ + +#include + +// data structure for running SPE thread +typedef struct spu_data { + spe_context_ptr_t spe_ctx; + pthread_t pthread; + void *argp; +} spu_data_t; + +// Struct for a process +typedef struct _process_data { + uint64_t *procContentsAll; + int32_t *queueFromSPU; + int32_t *queueOnSPU; + uint64_t *ea_ls_base; + uint64_t *fifoTails; +} ProcessData; + + +#endif