aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-02-03 04:33:32 +0000
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-02-03 04:33:32 +0000
commit45e4522e2e44651231551d8198a25efae716ab2b (patch)
treef16d485ec2c480a89b1693b10c17c29a37680570 /hw
parent59faef3a48648be8b2b88868d9897e710ce88a4e (diff)
Fix VMware VGA init call (Anthony Liguori).
s/vga_ram_size/vga_ram_addr/ git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3957 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw')
-rw-r--r--hw/pc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/pc.c b/hw/pc.c
index b4f0db7f54..b3885e83a9 100644
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -868,8 +868,8 @@ static void pc_init1(int ram_size, int vga_ram_size,
}
} else if (vmsvga_enabled) {
if (pci_enabled)
- pci_vmsvga_init(pci_bus, ds, phys_ram_base + ram_size,
- ram_size, vga_ram_size);
+ pci_vmsvga_init(pci_bus, ds, phys_ram_base + vga_ram_addr,
+ vga_ram_addr, vga_ram_size);
else
fprintf(stderr, "%s: vmware_vga: no PCI bus\n", __FUNCTION__);
} else {