Revision afd59989 hw/intc/xilinx_intc.c

b/hw/intc/xilinx_intc.c
143 143
{
144 144
    struct xlx_pic *p = opaque;
145 145

  
146
    if (!(p->regs[R_MER] & 2)) {
147
        qemu_irq_lower(p->parent_irq);
148
        return;
149
    }
150

  
151 146
    /* edge triggered interrupt */
152 147
    if (p->c_kind_of_intr & (1 << irq) && p->regs[R_MER] & 2) {
153 148
        p->regs[R_ISR] |= (level << irq);

Also available in: Unified diff