summaryrefslogtreecommitdiffstats
path: root/hw
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-02-07 09:51:59 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-02-07 09:51:59 +0000
commit0a645949d519321c6f1560ee38ab6470edb06736 (patch)
treee431e170f8fb619444fb6eeee22c4cc9a6d04ea8 /hw
parentf2ba730e89b420903257e543c1bb7f7d945ba36a (diff)
downloadhqemu-0a645949d519321c6f1560ee38ab6470edb06736.zip
hqemu-0a645949d519321c6f1560ee38ab6470edb06736.tar.gz
Fix VGA RAM offsets
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6546 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw')
-rw-r--r--hw/ppc_chrp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/ppc_chrp.c b/hw/ppc_chrp.c
index 4860eba..b7a2513 100644
--- a/hw/ppc_chrp.c
+++ b/hw/ppc_chrp.c
@@ -278,8 +278,8 @@ static void ppc_core99_init (ram_addr_t ram_size, int vga_ram_size,
pic = openpic_init(NULL, &pic_mem_index, smp_cpus, openpic_irqs, NULL);
pci_bus = pci_pmac_init(pic);
/* init basic PC hardware */
- pci_vga_init(pci_bus, phys_ram_base + ram_size,
- ram_size, vga_ram_size,
+ pci_vga_init(pci_bus, phys_ram_base + vga_ram_offset,
+ vga_ram_offset, vga_ram_size,
vga_bios_offset, vga_bios_size);
/* XXX: suppress that */
OpenPOWER on IntegriCloud