The PL031 model doesn't seem to raise alarm interrupts
Bug #931940 reported by
Daniel Forsgren
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro QEMU |
Fix Released
|
Low
|
Unassigned |
Bug Description
qemu-linaro-
In pl031_interrupt (pl031.c), the mask (s->im) is set. However, that doesn't raise the interrupt (s->is & s->im in pl031_update).
I assume that pl031_interrupt should set s->is instead?
Changed in qemu-linaro: | |
status: | In Progress → Fix Committed |
Changed in qemu-linaro: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Something like this?
--- original/ qemu-linaro- 1.0.50- 2012.02/ hw/pl031. c 2012-02-08 23:35:33.000000000 +0100 1.0.50- 2012.02/ hw/pl031. c 2012-02-14 10:01:39.722727211 +0100
+++ qemu-linaro-
@@ -76,7 +76,7 @@
{
pl031_state *s = (pl031_state *)opaque;
- s->im = 1; update( s);
+ s->is = 1;
DPRINTF("Alarm raised\n");
pl031_
}