aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2010-01-16 09:06:34 +0000
committerBlue Swirl <blauwirbel@gmail.com>2010-01-16 09:06:34 +0000
commitdca47eddbaa8411637f62d3993822384f76f6c9e (patch)
tree305c26d7d939dddbae69a028071f0a0b40aea1c1
parent10760f0fa7c089e45d629d9ad2803c91f2bcb90f (diff)
ESP: improve IRQ debugging
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
-rw-r--r--hw/esp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/esp.c b/hw/esp.c
index 2435371d5c..87da2a6905 100644
--- 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");
}
}