Commit 5ce276a11a2c92f2a5922c340452fc47d306dfe7

Authored by bellard
1 parent 5768f5ac

VGA PCI support


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@826 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 2 changed files with 2 additions and 2 deletions
@@ -391,7 +391,7 @@ void pc_init(int ram_size, int vga_ram_size, int boot_device, @@ -391,7 +391,7 @@ void pc_init(int ram_size, int vga_ram_size, int boot_device,
391 register_ioport_write(0xf0, 1, 1, ioportF0_write, NULL); 391 register_ioport_write(0xf0, 1, 1, ioportF0_write, NULL);
392 392
393 vga_initialize(ds, phys_ram_base + ram_size, ram_size, 393 vga_initialize(ds, phys_ram_base + ram_size, ram_size,
394 - vga_ram_size); 394 + vga_ram_size, pci_enabled);
395 395
396 rtc_state = rtc_init(0x70, 8); 396 rtc_state = rtc_init(0x70, 8);
397 register_ioport_read(0x61, 1, 1, speaker_ioport_read, NULL); 397 register_ioport_read(0x61, 1, 1, speaker_ioport_read, NULL);
hw/ppc_prep.c
@@ -950,7 +950,7 @@ void ppc_prep_init(int ram_size, int vga_ram_size, int boot_device, @@ -950,7 +950,7 @@ void ppc_prep_init(int ram_size, int vga_ram_size, int boot_device,
950 950
951 /* init basic PC hardware */ 951 /* init basic PC hardware */
952 vga_initialize(ds, phys_ram_base + ram_size, ram_size, 952 vga_initialize(ds, phys_ram_base + ram_size, ram_size,
953 - vga_ram_size); 953 + vga_ram_size, 0);
954 rtc_init(0x70, 8); 954 rtc_init(0x70, 8);
955 pic_init(); 955 pic_init();
956 // pit_init(0x40, 0); 956 // pit_init(0x40, 0);