diff options
author | BenoƮt Canet <benoit.canet@gmail.com> | 2011-11-17 14:23:01 +0100 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-11-24 18:32:03 +0200 |
commit | b279e5efc0aa3a62c5bce21bc31700e828ca9cd8 (patch) | |
tree | 3385c382a9515e46b4d1caeff1aff308859e59f4 /hw/sh7750.c | |
parent | 89e29451407353587a744a27d2896850d7c7624d (diff) |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/sh7750.c b/hw/sh7750.c index c659756970..20ac605be7 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)); |