aboutsummaryrefslogtreecommitdiff
path: root/hw/pl110.c
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2007-06-03 15:19:33 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2007-06-03 15:19:33 +0000
commit187337f8b0ec0813dd3876d1efe37d415fb81c2e (patch)
tree09fd89eaffd65ea952a407b843599f3d1a13ad63 /hw/pl110.c
parent1bc012f65a9b269ec373ca7586032c205d112d8a (diff)
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/pl110.c')
-rw-r--r--hw/pl110.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pl110.c b/hw/pl110.c
index 92a7e0bb6a..7340d4b4a3 100644
--- a/hw/pl110.c
+++ b/hw/pl110.c
@@ -407,7 +407,7 @@ void *pl110_init(DisplayState *ds, uint32_t base, qemu_irq irq,
s = (pl110_state *)qemu_mallocz(sizeof(pl110_state));
iomemtype = cpu_register_io_memory(0, pl110_readfn,
pl110_writefn, s);
- cpu_register_physical_memory(base, 0x00000fff, iomemtype);
+ cpu_register_physical_memory(base, 0x00001000, iomemtype);
s->base = base;
s->ds = ds;
s->versatile = versatile;