aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-05-20 12:48:53 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-05-20 12:48:53 +0000
commit5ce276a11a2c92f2a5922c340452fc47d306dfe7 (patch)
tree82500713fcc15c316487d25adb838173adfd88cc
parent5768f5aca6ebe81b203b580c7ab812dd0c2bcfa7 (diff)
VGA PCI support
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@826 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--hw/pc.c2
-rw-r--r--hw/ppc_prep.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/hw/pc.c b/hw/pc.c
index 1139781a0c..895f3e1bd2 100644
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -391,7 +391,7 @@ void pc_init(int ram_size, int vga_ram_size, int boot_device,
register_ioport_write(0xf0, 1, 1, ioportF0_write, NULL);
vga_initialize(ds, phys_ram_base + ram_size, ram_size,
- vga_ram_size);
+ vga_ram_size, pci_enabled);
rtc_state = rtc_init(0x70, 8);
register_ioport_read(0x61, 1, 1, speaker_ioport_read, NULL);
diff --git a/hw/ppc_prep.c b/hw/ppc_prep.c
index 02c7f0d456..f64649cf5a 100644
--- a/hw/ppc_prep.c
+++ b/hw/ppc_prep.c
@@ -950,7 +950,7 @@ void ppc_prep_init(int ram_size, int vga_ram_size, int boot_device,
/* init basic PC hardware */
vga_initialize(ds, phys_ram_base + ram_size, ram_size,
- vga_ram_size);
+ vga_ram_size, 0);
rtc_init(0x70, 8);
pic_init();
// pit_init(0x40, 0);