1 #ifndef __GPU_UNAI_GPU_PORT_H__
2 #define __GPU_UNAI_GPU_PORT_H__
7 #define INLINE static inline
9 #define GPU_init GPUinit
10 #define GPU_shutdown GPUshutdown
11 //#define GPU_freeze GPUfreeze
12 #define GPU_writeDataMem GPUwriteDataMem
13 #define GPU_dmaChain GPUdmaChain
14 #define GPU_writeData GPUwriteData
15 #define GPU_readDataMem GPUreadDataMem
16 #define GPU_readData GPUreadData
17 #define GPU_readStatus GPUreadStatus
18 #define GPU_writeStatus GPUwriteStatus
19 #define GPU_updateLace GPUupdateLace
23 #define u32 unsigned int
24 #define s32 signed int
27 void GPUshutdown(void);
28 void GPUwriteDataMem(u32* dmaAddress, s32 dmaCount);
29 long GPUdmaChain(u32* baseAddr, u32 dmaVAddr);
30 void GPUwriteData(u32 data);
31 void GPUreadDataMem(u32* dmaAddress, s32 dmaCount);
32 u32 GPUreadData(void);
33 u32 GPUreadStatus(void);
34 void GPUwriteStatus(u32 data);
41 #endif /* __GPU_UNAI_GPU_PORT_H__ */