X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=hw%2Fsoc_dma.h;h=6bfd3a8c1414b5ca78fd7b8dbcd7037df729fd3d;hb=af0409f33f30475eec2ca7e5044a076f4c9c2b6b;hp=c0ebb8d71529c48ab11bc2070ecee0bf123ee339;hpb=8566b57dba8a816a70b9c09c1062940e937c2220;p=qemu diff --git a/hw/soc_dma.h b/hw/soc_dma.h index c0ebb8d..6bfd3a8 100644 --- a/hw/soc_dma.h +++ b/hw/soc_dma.h @@ -18,6 +18,8 @@ * with this program; if not, see . */ +#define DMA_MAX_DRQ 96 + struct soc_dma_s; struct soc_dma_ch_s; typedef void (*soc_dma_io_t)(void *opaque, uint8_t *buf, int len); @@ -65,7 +67,7 @@ struct soc_dma_ch_s { struct soc_dma_s { /* Following fields are set by the SoC DMA module and can be used * by anybody. */ - uint64_t drqbmp; /* Is zeroed by soc_dma_reset() */ + uint8_t drqst[DMA_MAX_DRQ]; /* Is zeroed by soc_dma_reset() */ qemu_irq *drq; void *opaque; int64_t freq;