aboutsummaryrefslogtreecommitdiff
path: root/hw/mips_jazz.c
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2011-11-06 19:30:48 +0200
committerAvi Kivity <avi@redhat.com>2011-11-24 18:31:59 +0200
commit3054434d61fa6345cff8c4976b2a1480160f4e96 (patch)
tree764dfd902167a8a944f007cb65a8d94bd74cf57b /hw/mips_jazz.c
parent5a6fdd91ce72785593449a0a49e61102f6213c3f (diff)
rc4030: convert to memory API
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'hw/mips_jazz.c')
-rw-r--r--hw/mips_jazz.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/mips_jazz.c b/hw/mips_jazz.c
index f6e331652b..e1db841bf5 100644
--- a/hw/mips_jazz.c
+++ b/hw/mips_jazz.c
@@ -177,7 +177,8 @@ static void mips_jazz_init(MemoryRegion *address_space,
cpu_mips_clock_init(env);
/* Chipset */
- rc4030_opaque = rc4030_init(env->irq[6], env->irq[3], &rc4030, &dmas);
+ rc4030_opaque = rc4030_init(env->irq[6], env->irq[3], &rc4030, &dmas,
+ address_space);
memory_region_init_io(dma_dummy, &dma_dummy_ops, NULL, "dummy_dma", 0x1000);
memory_region_add_subregion(address_space, 0x8000d000, dma_dummy);