diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-08-17 10:45:20 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-08-17 10:45:20 +0000 |
commit | 89b6b508929d63b2a3dda18692fcb724afb43336 (patch) | |
tree | 225cf51bb0a1212edc82b6c2c422afc152d537ec /hw/pc.c | |
parent | d2269f6f64e1b707fc8ea5d43102589c03dd090e (diff) |
vga init changes
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2114 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/pc.c')
-rw-r--r-- | hw/pc.c | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -768,8 +768,13 @@ static void pc_init1(int ram_size, int vga_ram_size, int boot_device, vga_ram_size); } } else { - vga_initialize(pci_bus, ds, phys_ram_base + ram_size, ram_size, - vga_ram_size, 0, 0); + if (pci_enabled) { + pci_vga_init(pci_bus, ds, phys_ram_base + ram_size, ram_size, + vga_ram_size, 0, 0); + } else { + isa_vga_init(ds, phys_ram_base + ram_size, ram_size, + vga_ram_size); + } } rtc_state = rtc_init(0x70, 8); |