projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10760f0
)
ESP: improve IRQ debugging
author
Blue Swirl
<blauwirbel@gmail.com>
Sat, 16 Jan 2010 09:06:34 +0000
(09:06 +0000)
committer
Blue Swirl
<blauwirbel@gmail.com>
Sat, 16 Jan 2010 09:06:34 +0000
(09:06 +0000)
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/esp.c
patch
|
blob
|
history
diff --git
a/hw/esp.c
b/hw/esp.c
index 2435371d5c5d57e3116691e68b16929dcd6cbb90..87da2a6905b266f79748d25d11d4f7bc3ad5ab8f 100644
(file)
--- a/
hw/esp.c
+++ b/
hw/esp.c
@@
-154,6
+154,7
@@
static void esp_raise_irq(ESPState *s)
if (!(s->rregs[ESP_RSTAT] & STAT_INT)) {
s->rregs[ESP_RSTAT] |= STAT_INT;
qemu_irq_raise(s->irq);
+ DPRINTF("Raise IRQ\n");
}
}
@@
-162,6
+163,7
@@
static void esp_lower_irq(ESPState *s)
if (s->rregs[ESP_RSTAT] & STAT_INT) {
s->rregs[ESP_RSTAT] &= ~STAT_INT;
qemu_irq_lower(s->irq);
+ DPRINTF("Lower IRQ\n");
}
}