mirror of https://github.com/xemu-project/xemu.git
i8259: in edge triggered mode apparently a training edge should cancel the interrupt
https://lists.gnu.org/archive/html/qemu-devel/2012-09/msg00411.html
This commit is contained in:
parent
d532051a8e
commit
32cba22156
|
@ -171,6 +171,7 @@ static void pic_set_irq(void *opaque, int irq, int level)
|
|||
}
|
||||
s->last_irr |= mask;
|
||||
} else {
|
||||
s->irr &= ~mask;
|
||||
s->last_irr &= ~mask;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue