hw/arm/virt: fix pl031 addr typo
authorAndrew Jones <drjones@redhat.com>
Tue, 29 Jul 2014 16:32:01 +0000 (18:32 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 29 Jul 2014 16:40:42 +0000 (17:40 +0100)
pl031's base address should be 0x9010000, not 0x90010000, otherwise
it sits in ram when configuring a guest with greater than 1G.

Signed-off-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/virt.c

index 405c61d39c1e9baedbbf74b19a5a9860373d2291..89532bd786436c3fa576c6c96af05d94c7fd3369 100644 (file)
@@ -104,7 +104,7 @@ static const MemMapEntry a15memmap[] = {
     [VIRT_GIC_DIST] = { 0x8000000, 0x10000 },
     [VIRT_GIC_CPU] = { 0x8010000, 0x10000 },
     [VIRT_UART] = { 0x9000000, 0x1000 },
-    [VIRT_RTC] = { 0x90010000, 0x1000 },
+    [VIRT_RTC] = { 0x9010000, 0x1000 },
     [VIRT_MMIO] = { 0xa000000, 0x200 },
     /* ...repeating for a total of NUM_VIRTIO_TRANSPORTS, each of that size */
     /* 0x10000000 .. 0x40000000 reserved for PCI */