diff options
author | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-10-01 13:03:52 +0000 |
---|---|---|
committer | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-10-01 13:03:52 +0000 |
commit | 326199c2707d45ecbbaa411f6640a152fc199d3e (patch) | |
tree | 690f60091100f024c673f2fdbef6ae51bd39caf1 | |
parent | 8d7b0fbb3f301e3cd9a018cc0650807e433c1ec5 (diff) |
ARM GIC bug.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2187 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r-- | hw/arm_gic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/arm_gic.c b/hw/arm_gic.c index c7cc380881..94ce9aa340 100644 --- a/hw/arm_gic.c +++ b/hw/arm_gic.c @@ -383,7 +383,7 @@ static void gic_dist_writeb(void *opaque, target_phys_addr_t offset, s->irq_target[irq] = value; } else if (offset < 0xf00) { /* Interrupt Configuration. */ - irq = (offset - 0xc00) * 2; + irq = (offset - 0xc00) * 4; if (irq >= GIC_NIRQ) goto bad_reg; for (i = 0; i < 4; i++) { |