d4caf8536d3f8bc0c35359409760ce8707956f0c
[jump.git] / dol / src / dol / visitor / cell / lib / spu_os.h
1 /*
2  * spu_os.h
3  *
4  *  Created on: Mar 17, 2009
5  *      Author: lschor
6  */
7
8 #ifndef SPU_OS_H_
9 #define SPU_OS_H_
10
11 #include <spu_intrinsics.h>
12 #include <spu_mfcio.h>
13
14 #include <stdint.h>
15 #include <stdio.h>
16 #include <ctype.h>
17 #include <new>
18
19 // Include to allocate/free using for DMA transfers
20 #include "../lib/malloc_align.h"
21 #include "../lib/free_align.h"
22
23 // Local includes
24 #include "../lib/spu/Fifo.h"
25 #include "../lib/common.h"
26 //#include "../lib/spu/Communication.h"
27 #include "../lib/spu/FastCommunication.h"
28
29 // Protothread includes
30 #include "../lib/pt/pt.h"
31
32 // Context file
33 static spu_context ctx_spu __attribute__ ((aligned (128)));
34
35 #endif /* SPU_OS_H_ */