diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2011-04-01 15:15:27 +1100 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2011-04-01 18:34:56 +0200 |
commit | 0201e2da65b1828937c478fa1ac52e58522a32c1 (patch) | |
tree | cd4510282d6f3e008c65f24613ced28c2e55d9ae /hw/spapr_vio.h | |
parent | 00dc738d8a08fce0f0d327e081bb2bd7b6fba888 (diff) |
Add (virtual) interrupt to PAPR virtual tty device
Now that we have implemented the PAPR "xics" virtualized interrupt
controller, we can add interrupts in PAPR VIO devices. This patch adds
interrupt support to the PAPR virtual tty/console device.
Signed-off-by: David Gibson <dwg@au1.ibm.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/spapr_vio.h')
-rw-r--r-- | hw/spapr_vio.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/spapr_vio.h b/hw/spapr_vio.h index 8a000c6fe5..20139273d3 100644 --- a/hw/spapr_vio.h +++ b/hw/spapr_vio.h @@ -51,6 +51,7 @@ extern int spapr_vio_signal(VIOsPAPRDevice *dev, target_ulong mode); void vty_putchars(VIOsPAPRDevice *sdev, uint8_t *buf, int len); void spapr_vty_create(VIOsPAPRBus *bus, - uint32_t reg, CharDriverState *chardev); + uint32_t reg, CharDriverState *chardev, + qemu_irq qirq, uint32_t vio_irq_num); #endif /* _HW_SPAPR_VIO_H */ |