mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
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>
This commit is contained in:
parent
00dc738d8a
commit
0201e2da65
3 changed files with 16 additions and 4 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue