summaryrefslogtreecommitdiffstats
path: root/hw/serial.h
diff options
context:
space:
mode:
authorJulien Grall <julien.grall@citrix.com>2012-09-19 12:50:07 +0100
committerAndreas Färber <afaerber@suse.de>2012-12-04 14:50:22 +0100
commit568fd159e4ca82d213706acd2cf4c94f27537096 (patch)
treecd006f954555b74b55a2c47a0820c8879cebfc2d /hw/serial.h
parentc75e6d8e354c44e76045cb0de20cda1a4ce4d575 (diff)
downloadhqemu-568fd159e4ca82d213706acd2cf4c94f27537096.zip
hqemu-568fd159e4ca82d213706acd2cf4c94f27537096.tar.gz
serial: Replace register_ioport_*
Replace all register_ioport_*() with a MemoryRegion. This permits to use the new Memory stuff like listeners. For more flexibility, the IO address space is passed as an argument. Signed-off-by: Julien Grall <julien.grall@citrix.com> Acked-by: Avi Kivity <avi@redhat.com> [AF: Rebased onto serial split] Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'hw/serial.h')
-rw-r--r--hw/serial.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/serial.h b/hw/serial.h
index f1e3c4a..ed1a5cd 100644
--- a/hw/serial.h
+++ b/hw/serial.h
@@ -89,7 +89,7 @@ void serial_set_frequency(SerialState *s, uint32_t frequency);
/* legacy pre qom */
SerialState *serial_init(int base, qemu_irq irq, int baudbase,
- CharDriverState *chr);
+ CharDriverState *chr, MemoryRegion *system_io);
SerialState *serial_mm_init(MemoryRegion *address_space,
hwaddr base, int it_shift,
qemu_irq irq, int baudbase,
OpenPOWER on IntegriCloud