diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2010-01-16 09:06:34 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-01-16 09:06:34 +0000 |
commit | dca47eddbaa8411637f62d3993822384f76f6c9e (patch) | |
tree | 305c26d7d939dddbae69a028071f0a0b40aea1c1 | |
parent | 10760f0fa7c089e45d629d9ad2803c91f2bcb90f (diff) |
ESP: improve IRQ debugging
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
-rw-r--r-- | hw/esp.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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"); } } |