diff options
author | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-12-01 18:59:50 +0000 |
---|---|---|
committer | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-12-01 18:59:50 +0000 |
commit | 8da3ff180974732fc4272cb4433fef85c1822961 (patch) | |
tree | f23cfaffa61efb36aa46dfeb771ad33cbfd4f3aa /hw/sh_intc.c | |
parent | 6ad1d22b15c0a091edb1d8efc983c1d75f74ef45 (diff) |
Change MMIO callbacks to use offsets, not absolute addresses.
Signed-off-by: Paul Brook <paul@codesourcery.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5849 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/sh_intc.c')
-rw-r--r-- | hw/sh_intc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/sh_intc.c b/hw/sh_intc.c index a78419bede..99db51c6df 100644 --- a/hw/sh_intc.c +++ b/hw/sh_intc.c @@ -308,7 +308,8 @@ static void sh_intc_register(struct intc_desc *desc, unsigned long address) { if (address) - cpu_register_physical_memory(INTC_A7(address), 4, desc->iomemtype); + cpu_register_physical_memory_offset(INTC_A7(address), 4, + desc->iomemtype, INTC_A7(address)); } static void sh_intc_register_source(struct intc_desc *desc, |