aboutsummaryrefslogtreecommitdiff
path: root/hw/pc.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2009-09-22 13:53:21 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-05 09:32:50 -0500
commitac0be998009257f0368e25470bac4e85b694ceaf (patch)
treee6ff10fce45bd25890688a871758a428fb5cbcaf /hw/pc.h
parent41b5e892b7dbf553b356b51004a6966233e71a6d (diff)
downloadqemu-ac0be998009257f0368e25470bac4e85b694ceaf.zip
qemu-ac0be998009257f0368e25470bac4e85b694ceaf.tar.gz
qemu-ac0be998009257f0368e25470bac4e85b694ceaf.tar.bz2
serial: convert isa to qdev
Everything using standard isa I/O ports and IRQ windup is considerd being an actual isa device. That are all serial_init() users except mips_mipssim() which seems to have a non-standard IRQ windup. baud rate is fixed at 115200 now as no caller passed in something else. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/pc.h')
-rw-r--r--hw/pc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/pc.h b/hw/pc.h
index dfcddb3..d85f7fd 100644
--- a/hw/pc.h
+++ b/hw/pc.h
@@ -12,6 +12,7 @@ SerialState *serial_init(int base, qemu_irq irq, int baudbase,
SerialState *serial_mm_init (target_phys_addr_t base, int it_shift,
qemu_irq irq, int baudbase,
CharDriverState *chr, int ioregister);
+SerialState *serial_isa_init(int index, CharDriverState *chr);
/* parallel.c */