diff options
author | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-06-03 15:19:33 +0000 |
---|---|---|
committer | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-06-03 15:19:33 +0000 |
commit | 187337f8b0ec0813dd3876d1efe37d415fb81c2e (patch) | |
tree | 09fd89eaffd65ea952a407b843599f3d1a13ad63 /hw/arm_sysctl.c | |
parent | 1bc012f65a9b269ec373ca7586032c205d112d8a (diff) | |
download | qemu-187337f8b0ec0813dd3876d1efe37d415fb81c2e.zip qemu-187337f8b0ec0813dd3876d1efe37d415fb81c2e.tar.gz qemu-187337f8b0ec0813dd3876d1efe37d415fb81c2e.tar.bz2 |
Fix off-by-one memory region sizes.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2931 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/arm_sysctl.c')
-rw-r--r-- | hw/arm_sysctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/arm_sysctl.c b/hw/arm_sysctl.c index 90ea76e..600889d 100644 --- a/hw/arm_sysctl.c +++ b/hw/arm_sysctl.c @@ -202,7 +202,7 @@ void arm_sysctl_init(uint32_t base, uint32_t sys_id) s->sys_id = sys_id; iomemtype = cpu_register_io_memory(0, arm_sysctl_readfn, arm_sysctl_writefn, s); - cpu_register_physical_memory(base, 0x00000fff, iomemtype); + cpu_register_physical_memory(base, 0x00001000, iomemtype); /* ??? Save/restore. */ } |