aboutsummaryrefslogtreecommitdiff
path: root/hw/sh.h
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/sh.h
parent1a4004c7720c0d8d113c3bb180522fa466afd29e (diff)
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/sh.h')
-rw-r--r--hw/sh.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/sh.h b/hw/sh.h
index cf3f6f655f..c37758403e 100644
--- a/hw/sh.h
+++ b/hw/sh.h
@@ -31,7 +31,8 @@ int sh7750_register_io_device(struct SH7750State *s,
#define TMU012_FEAT_TOCR (1 << 0)
#define TMU012_FEAT_3CHAN (1 << 1)
#define TMU012_FEAT_EXTCLK (1 << 2)
-void tmu012_init(target_phys_addr_t base, int feat, uint32_t freq,
+void tmu012_init(struct MemoryRegion *sysmem, target_phys_addr_t base,
+ int feat, uint32_t freq,
qemu_irq ch0_irq, qemu_irq ch1_irq,
qemu_irq ch2_irq0, qemu_irq ch2_irq1);