dol: initial dol commit
[jump.git] / dol / src / dol / visitor / cell / lib / spu_os.h
diff --git a/dol/src/dol/visitor/cell/lib/spu_os.h b/dol/src/dol/visitor/cell/lib/spu_os.h
new file mode 100644 (file)
index 0000000..d4caf85
--- /dev/null
@@ -0,0 +1,35 @@
+/*
+ * spu_os.h
+ *
+ *  Created on: Mar 17, 2009
+ *      Author: lschor
+ */
+
+#ifndef SPU_OS_H_
+#define SPU_OS_H_
+
+#include <spu_intrinsics.h>
+#include <spu_mfcio.h>
+
+#include <stdint.h>
+#include <stdio.h>
+#include <ctype.h>
+#include <new>
+
+// Include to allocate/free using for DMA transfers
+#include "../lib/malloc_align.h"
+#include "../lib/free_align.h"
+
+// Local includes
+#include "../lib/spu/Fifo.h"
+#include "../lib/common.h"
+//#include "../lib/spu/Communication.h"
+#include "../lib/spu/FastCommunication.h"
+
+// Protothread includes
+#include "../lib/pt/pt.h"
+
+// Context file
+static spu_context ctx_spu __attribute__ ((aligned (128)));
+
+#endif /* SPU_OS_H_ */