aboutsummaryrefslogtreecommitdiff
path: root/hw/sun4u.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-09 20:53:30 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-09 20:53:30 +0000
commita94fd955eb70b629032afebcd323355323452f96 (patch)
treeec7eabf7f54d80e86db8b65bd8c5962b22010c2b /hw/sun4u.c
parent27a3deca51fc0913ba52a29c472212bd52027e6c (diff)
Fix APB
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6265 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/sun4u.c')
-rw-r--r--hw/sun4u.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/hw/sun4u.c b/hw/sun4u.c
index b3ecc1e347..101d82d621 100644
--- a/hw/sun4u.c
+++ b/hw/sun4u.c
@@ -465,8 +465,9 @@ static void sun4uv_init(ram_addr_t RAM_size, int vga_ram_size,
pci_bus = pci_apb_init(APB_SPECIAL_BASE, APB_MEM_BASE, NULL);
isa_mem_base = VGA_BASE;
vga_ram_offset = qemu_ram_alloc(vga_ram_size);
- pci_cirrus_vga_init(pci_bus, ds, phys_ram_base + vga_ram_offset,
- vga_ram_offset, vga_ram_size);
+ pci_vga_init(pci_bus, ds, phys_ram_base + vga_ram_offset,
+ vga_ram_offset, vga_ram_size,
+ 0, 0);
i = 0;
if (hwdef->console_serial_base) {