VGA PCI support

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@826 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
bellard 2004-05-20 12:48:53 +00:00
parent 5768f5aca6
commit 5ce276a11a
2 changed files with 2 additions and 2 deletions

View File

@ -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); register_ioport_write(0xf0, 1, 1, ioportF0_write, NULL);
vga_initialize(ds, phys_ram_base + ram_size, ram_size, vga_initialize(ds, phys_ram_base + ram_size, ram_size,
vga_ram_size); vga_ram_size, pci_enabled);
rtc_state = rtc_init(0x70, 8); rtc_state = rtc_init(0x70, 8);
register_ioport_read(0x61, 1, 1, speaker_ioport_read, NULL); register_ioport_read(0x61, 1, 1, speaker_ioport_read, NULL);

View File

@ -950,7 +950,7 @@ void ppc_prep_init(int ram_size, int vga_ram_size, int boot_device,
/* init basic PC hardware */ /* init basic PC hardware */
vga_initialize(ds, phys_ram_base + ram_size, ram_size, vga_initialize(ds, phys_ram_base + ram_size, ram_size,
vga_ram_size); vga_ram_size, 0);
rtc_init(0x70, 8); rtc_init(0x70, 8);
pic_init(); pic_init();
// pit_init(0x40, 0); // pit_init(0x40, 0);