summaryrefslogtreecommitdiffstats
path: root/hw/i8259.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-06-05 14:50:39 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-06-05 14:50:39 +0000
commit54fa5af54622a9bd2d4e6988a6e402f60bde3653 (patch)
tree9a1874a408520a45b0ab3e3004870fee128b7858 /hw/i8259.c
parentcc1daa40f188ec3ea6c37db546887488a419e900 (diff)
downloadhqemu-54fa5af54622a9bd2d4e6988a6e402f60bde3653.zip
hqemu-54fa5af54622a9bd2d4e6988a6e402f60bde3653.tar.gz
more generic IRQ support
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1445 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/i8259.c')
-rw-r--r--hw/i8259.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/hw/i8259.c b/hw/i8259.c
index 8f1821d..9bfaaed 100644
--- a/hw/i8259.c
+++ b/hw/i8259.c
@@ -179,6 +179,12 @@ void pic_set_irq(int irq, int level)
pic_update_irq();
}
+/* this function should be used to have the controller context */
+void pic_set_irq_new(void *opaque, int irq, int level)
+{
+ pic_set_irq(irq, level);
+}
+
/* acknowledge interrupt 'irq' */
static inline void pic_intack(PicState *s, int irq)
{
OpenPOWER on IntegriCloud