diff options
author | BenoƮt Canet <benoit.canet@gmail.com> | 2011-11-17 14:23:00 +0100 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-11-24 18:32:03 +0200 |
commit | 89e29451407353587a744a27d2896850d7c7624d (patch) | |
tree | 847b01d2c85797d2ca87c9ecf4757b6fa649b34e /hw/sh.h | |
parent | 1a4004c7720c0d8d113c3bb180522fa466afd29e (diff) | |
download | qemu-89e29451407353587a744a27d2896850d7c7624d.tar.gz qemu-89e29451407353587a744a27d2896850d7c7624d.tar.bz2 qemu-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/sh.h')
-rw-r--r-- | hw/sh.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |