aboutsummaryrefslogtreecommitdiff
path: root/hw/sh.h
diff options
context:
space:
mode:
authorBenoƮt Canet <benoit.canet@gmail.com>2011-11-17 14:23:02 +0100
committerAvi Kivity <avi@redhat.com>2011-11-24 18:32:03 +0200
commit9a9d0b816b0bde227977c0aebe96ff6240f21b21 (patch)
treee094ced77c89c2e74f25074422bc3c64f420494d /hw/sh.h
parentb279e5efc0aa3a62c5bce21bc31700e828ca9cd8 (diff)
sh_serial: 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 c37758403e..6488db25c4 100644
--- a/hw/sh.h
+++ b/hw/sh.h
@@ -39,7 +39,8 @@ void tmu012_init(struct MemoryRegion *sysmem, target_phys_addr_t base,
/* sh_serial.c */
#define SH_SERIAL_FEAT_SCIF (1 << 0)
-void sh_serial_init (target_phys_addr_t base, int feat,
+void sh_serial_init(MemoryRegion *sysmem,
+ target_phys_addr_t base, int feat,
uint32_t freq, CharDriverState *chr,
qemu_irq eri_source,
qemu_irq rxi_source,