+#ifndef __GPU_UNAI_GPU_PORT_H__
+#define __GPU_UNAI_GPU_PORT_H__
+
#include <stddef.h>
#include <string.h>
bool GPUinit(void);
void GPUshutdown(void);
void GPUwriteDataMem(u32* dmaAddress, s32 dmaCount);
-void GPUdmaChain(u32* baseAddr, u32 dmaVAddr);
+long GPUdmaChain(u32* baseAddr, u32 dmaVAddr);
void GPUwriteData(u32 data);
void GPUreadDataMem(u32* dmaAddress, s32 dmaCount);
u32 GPUreadData(void);
#undef s32
}
+
+#endif /* __GPU_UNAI_GPU_PORT_H__ */