Skip to contentSkip to conversation

[6546] Fix VGA RAM offsets

Qemu-devel Blue Swirl 1 participant 1 message Feb 7, 2009

lore
Share & tools
lore

Blue Swirl

author
#0 lore raw

Revision: 6546

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6546
Author:   blueswir1
Date:     2009-02-07 09:51:59 +0000 (Sat, 07 Feb 2009)

Log Message:
-----------
Fix VGA RAM offsets

Modified Paths:
--------------
trunk/hw/ppc_chrp.c

Modified: trunk/hw/ppc_chrp.c
===================================================================

hw/ppc_chrp.c +2 -2
@@ -278,8 +278,8 @@
     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 */