diff options
author | Avi Kivity <avi@redhat.com> | 2011-08-08 16:09:17 +0300 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-08-08 10:22:29 -0500 |
commit | 23c5e4cab2d64e00b6000f4a360c87f65e003545 (patch) | |
tree | f3f792022ceee91b5b7df261534d94370b72aef1 /hw/mac_dbdma.h | |
parent | b0ce84e50bd232db4f6fb0f3572d2e274d1787b0 (diff) | |
download | qemu-23c5e4cab2d64e00b6000f4a360c87f65e003545.zip qemu-23c5e4cab2d64e00b6000f4a360c87f65e003545.tar.gz qemu-23c5e4cab2d64e00b6000f4a360c87f65e003545.tar.bz2 |
ppc: convert to memory API
Reviewed-by: Richard Henderson <rth@twiddle.net>
Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/mac_dbdma.h')
-rw-r--r-- | hw/mac_dbdma.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/mac_dbdma.h b/hw/mac_dbdma.h index d236c5b..933e17c 100644 --- a/hw/mac_dbdma.h +++ b/hw/mac_dbdma.h @@ -20,6 +20,8 @@ * THE SOFTWARE. */ +#include "memory.h" + typedef struct DBDMA_io DBDMA_io; typedef void (*DBDMA_flush)(DBDMA_io *io); @@ -40,4 +42,4 @@ void DBDMA_register_channel(void *dbdma, int nchan, qemu_irq irq, DBDMA_rw rw, DBDMA_flush flush, void *opaque); void DBDMA_schedule(void); -void* DBDMA_init (int *dbdma_mem_index); +void* DBDMA_init (MemoryRegion **dbdma_mem); |