From 4de9b249d37c1b382cc3e5a21fad1b4a11cec2fa Mon Sep 17 00:00:00 2001 From: ths Date: Wed, 24 Jan 2007 01:47:51 +0000 Subject: Reworking MIPS interrupt handling, by Aurelien Jarno. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2350 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/i8259.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'hw/i8259.c') diff --git a/hw/i8259.c b/hw/i8259.c index c747f106e9..f8b5a984b5 100644 --- a/hw/i8259.c +++ b/hw/i8259.c @@ -161,6 +161,13 @@ void pic_update_irq(PicState2 *s) #endif s->irq_request(s->irq_request_opaque, 1); } + +/* all targets should do this rather than acking the IRQ in the cpu */ +#if defined(TARGET_MIPS) + else { + s->irq_request(s->irq_request_opaque, 0); + } +#endif } #ifdef DEBUG_IRQ_LATENCY -- cgit v1.2.3