diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-12-28 18:46:01 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-12-28 18:46:01 +0000 |
commit | cc2acc47d7ecee92d3948ab67d732fe5d19b8580 (patch) | |
tree | 9aa41f4e39dd4f51007ff077564fc9f090730f71 /hw | |
parent | ea4b07f7623c3863d86aad3d5718c28d39e1a1a9 (diff) |
Fix system read address mask (Robert Reif)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3866 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw')
-rw-r--r-- | hw/slavio_intctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/slavio_intctl.c b/hw/slavio_intctl.c index a0aa53c21b..f7a35bb823 100644 --- a/hw/slavio_intctl.c +++ b/hw/slavio_intctl.c @@ -145,7 +145,7 @@ static uint32_t slavio_intctlm_mem_readl(void *opaque, target_phys_addr_t addr) SLAVIO_INTCTLState *s = opaque; uint32_t saddr, ret; - saddr = (addr & INTCTLM_MAXADDR) >> 2; + saddr = (addr & INTCTLM_MASK) >> 2; switch (saddr) { case 0: ret = s->intregm_pending & ~MASTER_DISABLE; |