From 187337f8b0ec0813dd3876d1efe37d415fb81c2e Mon Sep 17 00:00:00 2001 From: pbrook Date: Sun, 3 Jun 2007 15:19:33 +0000 Subject: Fix off-by-one memory region sizes. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2931 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/versatilepb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/versatilepb.c') diff --git a/hw/versatilepb.c b/hw/versatilepb.c index 5b1774a..1cbd25b 100644 --- a/hw/versatilepb.c +++ b/hw/versatilepb.c @@ -140,7 +140,7 @@ static qemu_irq *vpb_sic_init(uint32_t base, qemu_irq *parent, int irq) s->irq = irq; iomemtype = cpu_register_io_memory(0, vpb_sic_readfn, vpb_sic_writefn, s); - cpu_register_physical_memory(base, 0x00000fff, iomemtype); + cpu_register_physical_memory(base, 0x00001000, iomemtype); /* ??? Save/restore. */ return qi; } -- cgit v1.1