OSDN Git Service

VGA PCI support
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 20 May 2004 12:48:53 +0000 (12:48 +0000)
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 20 May 2004 12:48:53 +0000 (12:48 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@826 c046a42c-6fe2-441c-8c8c-71466251a162

hw/pc.c
hw/ppc_prep.c

diff --git a/hw/pc.c b/hw/pc.c
index 1139781..895f3e1 100644 (file)
--- 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);
index 02c7f0d..f64649c 100644 (file)
@@ -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);