Add isa_reserve_irq().
commit3a38d437ca60ce19ee92dbabbe6e672e9ba3c529
authorJes Sorensen <jes@sgi.com>
Fri, 14 Aug 2009 09:36:15 +0000 (14 11:36 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 28 Aug 2009 01:30:20 +0000 (27 20:30 -0500)
tree809ea17e551a8e297c5377180cad61e063bb906d
parent2091ba23e838c3a8773c246238d7381333789852
Add isa_reserve_irq().

Introduce isa_reserve_irq() which marks an irq reserved and returns
the appropriate qemu_irq entry from the i8259 table.

isa_reserve_irq() is a temporary interface to be used to allocate ISA
IRQs for devices which have not yet been converted to qdev, and for
special cases which are not suited for qdev conversions, such as the
'ferr'.

This patch goes on top of Gerd Hoffmann's which makes isa-bus.c own
the ISA irq table.

[ added isa-bus.o to some targets to fix build failures  -- kraxel ]

Signed-off-by: Jes Sorensen <jes@sgi.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Makefile.target
hw/cs4231a.c
hw/ide.c
hw/isa-bus.c
hw/isa.h
hw/pc.c
hw/sb16.c