From 568fd159e4ca82d213706acd2cf4c94f27537096 Mon Sep 17 00:00:00 2001 From: Julien Grall Date: Wed, 19 Sep 2012 12:50:07 +0100 Subject: serial: Replace register_ioport_* MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Acked-by: Avi Kivity [AF: Rebased onto serial split] Signed-off-by: Andreas Färber --- hw/serial.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/serial.h') 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, -- cgit v1.1