Commit 9b5207aa authored by blueswir1's avatar blueswir1
Browse files

Remove old leftovers


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3121 c046a42c-6fe2-441c-8c8c-71466251a162
parent 2d069bab
...@@ -59,7 +59,6 @@ struct DMAState { ...@@ -59,7 +59,6 @@ struct DMAState {
uint32_t dmaregs[DMA_REGS]; uint32_t dmaregs[DMA_REGS];
qemu_irq irq; qemu_irq irq;
void *iommu; void *iommu;
qemu_irq *pic;
qemu_irq dev_reset; qemu_irq dev_reset;
}; };
...@@ -119,12 +118,12 @@ static void dma_set_irq(void *opaque, int irq, int level) ...@@ -119,12 +118,12 @@ static void dma_set_irq(void *opaque, int irq, int level)
{ {
DMAState *s = opaque; DMAState *s = opaque;
if (level) { if (level) {
DPRINTF("Raise ESP IRQ\n"); DPRINTF("Raise IRQ\n");
s->dmaregs[0] |= DMA_INTR; s->dmaregs[0] |= DMA_INTR;
qemu_irq_raise(s->irq); qemu_irq_raise(s->irq);
} else { } else {
s->dmaregs[0] &= ~DMA_INTR; s->dmaregs[0] &= ~DMA_INTR;
DPRINTF("Lower ESP IRQ\n"); DPRINTF("Lower IRQ\n");
qemu_irq_lower(s->irq); qemu_irq_lower(s->irq);
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment