SlavIO interrupt controller fix, by Aurelien Jarno.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2515 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
548df2acc6
commit
491730f328
@ -293,6 +293,7 @@ void slavio_pic_set_irq(void *opaque, int irq, int level)
|
||||
if (level) {
|
||||
s->intregm_pending |= mask;
|
||||
s->intreg_pending[s->target_cpu] |= 1 << pil;
|
||||
slavio_check_interrupts(s);
|
||||
}
|
||||
else {
|
||||
s->intregm_pending &= ~mask;
|
||||
@ -300,7 +301,6 @@ void slavio_pic_set_irq(void *opaque, int irq, int level)
|
||||
}
|
||||
}
|
||||
}
|
||||
slavio_check_interrupts(s);
|
||||
}
|
||||
|
||||
void slavio_pic_set_irq_cpu(void *opaque, int irq, int level, unsigned int cpu)
|
||||
|
Loading…
x
Reference in New Issue
Block a user