Commit 326199c2707d45ecbbaa411f6640a152fc199d3e
1 parent
8d7b0fbb
ARM GIC bug.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2187 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
1 deletions
hw/arm_gic.c
... | ... | @@ -383,7 +383,7 @@ static void gic_dist_writeb(void *opaque, target_phys_addr_t offset, |
383 | 383 | s->irq_target[irq] = value; |
384 | 384 | } else if (offset < 0xf00) { |
385 | 385 | /* Interrupt Configuration. */ |
386 | - irq = (offset - 0xc00) * 2; | |
386 | + irq = (offset - 0xc00) * 4; | |
387 | 387 | if (irq >= GIC_NIRQ) |
388 | 388 | goto bad_reg; |
389 | 389 | for (i = 0; i < 4; i++) { | ... | ... |