aboutsummaryrefslogtreecommitdiff
path: root/hw/sh7750.c
diff options
context:
space:
mode:
authorBenoƮt Canet <benoit.canet@gmail.com>2011-11-17 14:23:01 +0100
committerAvi Kivity <avi@redhat.com>2011-11-24 18:32:03 +0200
commitb279e5efc0aa3a62c5bce21bc31700e828ca9cd8 (patch)
tree3385c382a9515e46b4d1caeff1aff308859e59f4 /hw/sh7750.c
parent89e29451407353587a744a27d2896850d7c7624d (diff)
downloadqemu-b279e5efc0aa3a62c5bce21bc31700e828ca9cd8.zip
qemu-b279e5efc0aa3a62c5bce21bc31700e828ca9cd8.tar.gz
qemu-b279e5efc0aa3a62c5bce21bc31700e828ca9cd8.tar.bz2
sh_intc: convert interrupt controller to memory API
Signed-off-by: Benoit Canet <benoit.canet@gmail.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'hw/sh7750.c')
-rw-r--r--hw/sh7750.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/sh7750.c b/hw/sh7750.c
index c659756..20ac605 100644
--- a/hw/sh7750.c
+++ b/hw/sh7750.c
@@ -756,7 +756,7 @@ SH7750State *sh7750_init(CPUSH4State * cpu, MemoryRegion *sysmem)
"cache-and-tlb", 0x08000000);
memory_region_add_subregion(sysmem, 0xf0000000, &s->mmct_iomem);
- sh_intc_init(&s->intc, NR_SOURCES,
+ sh_intc_init(sysmem, &s->intc, NR_SOURCES,
_INTC_ARRAY(mask_registers),
_INTC_ARRAY(prio_registers));