summaryrefslogtreecommitdiff
path: root/hw/sh7750.c
diff options
context:
space:
mode:
authorBenoƮt Canet <benoit.canet@gmail.com>2011-11-17 14:23:00 +0100
committerAvi Kivity <avi@redhat.com>2011-11-24 18:32:03 +0200
commit89e29451407353587a744a27d2896850d7c7624d (patch)
tree847b01d2c85797d2ca87c9ecf4757b6fa649b34e /hw/sh7750.c
parent1a4004c7720c0d8d113c3bb180522fa466afd29e (diff)
downloadqemu-89e29451407353587a744a27d2896850d7c7624d.zip
sh_timer: convert 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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/sh7750.c b/hw/sh7750.c
index 6ad76dfee8..c659756970 100644
--- a/hw/sh7750.c
+++ b/hw/sh7750.c
@@ -780,7 +780,7 @@ SH7750State *sh7750_init(CPUSH4State * cpu, MemoryRegion *sysmem)
NULL,
s->intc.irqs[SCIF_BRI]);
- tmu012_init(0x1fd80000,
+ tmu012_init(sysmem, 0x1fd80000,
TMU012_FEAT_TOCR | TMU012_FEAT_3CHAN | TMU012_FEAT_EXTCLK,
s->periph_freq,
s->intc.irqs[TMU0],
@@ -804,7 +804,7 @@ SH7750State *sh7750_init(CPUSH4State * cpu, MemoryRegion *sysmem)
sh_intc_register_sources(&s->intc,
_INTC_ARRAY(vectors_tmu34),
NULL, 0);
- tmu012_init(0x1e100000, 0, s->periph_freq,
+ tmu012_init(sysmem, 0x1e100000, 0, s->periph_freq,
s->intc.irqs[TMU3],
s->intc.irqs[TMU4],
NULL, NULL);