diff options
Diffstat (limited to 'hw/i8259.c')
-rw-r--r-- | hw/i8259.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/hw/i8259.c b/hw/i8259.c index 8f1821d97f..9bfaaed1bc 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) { |