filename | src/sh4/dmac.c |
changeset | 430:467519b050f4 |
prev | 422:61a0598e07ff |
next | 502:c4ecae2b1b5e |
author | nkeynes |
date | Sun Oct 28 07:23:46 2007 +0000 (16 years ago) |
permissions | -rw-r--r-- |
last change | Fix CDI with multiple tracks/session Fix file being closed too early |
file | annotate | diff | log | raw |
1.1 --- a/src/sh4/dmac.c Sat Oct 06 09:03:24 2007 +00001.2 +++ b/src/sh4/dmac.c Sun Oct 28 07:23:46 2007 +00001.3 @@ -1,5 +1,5 @@1.4 /**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.7 *1.8 * SH4 onboard DMA controller (DMAC) peripheral.1.9 *1.10 @@ -170,7 +170,7 @@1.11 *1.12 * @return the number of bytes actually transferred.1.13 */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.16 {1.17 uint32_t control = DMA_CONTROL(channel);1.18 uint32_t source, count, run_count, size, i;1.19 @@ -235,7 +235,7 @@1.20 return run_count * size;1.21 }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.25 {1.26 uint32_t control = DMA_CONTROL(channel);1.27 uint32_t dest, count, run_count, size, i;
.