--- /dev/null
+/****************************************************************
+ * 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 <libspe2.h>
+
+// 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