1.1 --- a/src/sh4/dmac.c Sat Oct 06 09:03:24 2007 +0000
1.2 +++ b/src/sh4/dmac.c Mon Oct 08 12:09:06 2007 +0000
1.5 - * $Id: dmac.c,v 1.2 2007-10-06 09:03:24 nkeynes Exp $
1.6 + * $Id: dmac.c,v 1.3 2007-10-08 12:06:01 nkeynes Exp $
1.8 * SH4 onboard DMA controller (DMAC) peripheral.
1.12 * @return the number of bytes actually transferred.
1.14 -uint32_t DMAC_get_buffer( int channel, char *buf, uint32_t numBytes )
1.15 +uint32_t DMAC_get_buffer( int channel, unsigned char *buf, uint32_t numBytes )
1.17 uint32_t control = DMA_CONTROL(channel);
1.18 uint32_t source, count, run_count, size, i;
1.20 return run_count * size;
1.23 -uint32_t DMAC_put_buffer( int channel, char *buf, uint32_t numBytes )
1.24 +uint32_t DMAC_put_buffer( int channel, unsigned char *buf, uint32_t numBytes )
1.26 uint32_t control = DMA_CONTROL(channel);
1.27 uint32_t dest, count, run_count, size, i;