aboutsummaryrefslogtreecommitdiff
path: root/hw/sh7750.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-11 17:51:40 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-11 17:51:40 +0000
commitf26ae302648d2977ba36d3dfcd0b70dce4e51060 (patch)
treed2cb58e1a1f437aca826080744205bf2f7b02d9c /hw/sh7750.c
parent0ba22212d558e49ed6d44ce4834ccec7a7987b23 (diff)
removed invalid use of _INTC_ARRAY
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3602 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/sh7750.c')
-rw-r--r--hw/sh7750.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/sh7750.c b/hw/sh7750.c
index 4b2b515b7a..1e2d917193 100644
--- a/hw/sh7750.c
+++ b/hw/sh7750.c
@@ -573,7 +573,7 @@ SH7750State *sh7750_init(CPUSH4State * cpu)
if (cpu_model & (SH_CPU_SH7750R | SH_CPU_SH7751 | SH_CPU_SH7751R)) {
sh_intc_register_sources(&s->intc,
_INTC_ARRAY(vectors_tmu34),
- _INTC_ARRAY(NULL));
+ NULL, 0);
tmu012_init(0x1e100000, 0, s->periph_freq);
}
@@ -586,7 +586,7 @@ SH7750State *sh7750_init(CPUSH4State * cpu)
if (cpu_model & (SH_CPU_SH7750S | SH_CPU_SH7750R | SH_CPU_SH7751_ALL)) {
sh_intc_register_sources(&s->intc,
_INTC_ARRAY(vectors_irlm),
- _INTC_ARRAY(NULL));
+ NULL, 0);
}
return s;