4 #define INLINE static inline
6 #define GPU_init GPUinit
7 #define GPU_shutdown GPUshutdown
8 //#define GPU_freeze GPUfreeze
9 #define GPU_writeDataMem GPUwriteDataMem
10 #define GPU_dmaChain GPUdmaChain
11 #define GPU_writeData GPUwriteData
12 #define GPU_readDataMem GPUreadDataMem
13 #define GPU_readData GPUreadData
14 #define GPU_readStatus GPUreadStatus
15 #define GPU_writeStatus GPUwriteStatus
16 #define GPU_updateLace GPUupdateLace
20 #define u32 unsigned int
21 #define s32 signed int
24 void GPUshutdown(void);
25 void GPUwriteDataMem(u32* dmaAddress, s32 dmaCount);
26 long GPUdmaChain(u32* baseAddr, u32 dmaVAddr);
27 void GPUwriteData(u32 data);
28 void GPUreadDataMem(u32* dmaAddress, s32 dmaCount);
29 u32 GPUreadData(void);
30 u32 GPUreadStatus(void);
31 void GPUwriteStatus(u32 data);