mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 10:13:56 -06:00
sh_timer: convert to memory API
Signed-off-by: Benoit Canet <benoit.canet@gmail.com> Signed-off-by: Avi Kivity <avi@redhat.com>
This commit is contained in:
parent
1a4004c772
commit
89e2945140
3 changed files with 28 additions and 22 deletions
3
hw/sh.h
3
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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue