ESP: improve IRQ debugging

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
Blue Swirl 2010-01-16 09:06:34 +00:00
parent 10760f0fa7
commit dca47eddba
1 changed files with 2 additions and 0 deletions

View File

@ -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");
}
}