VGA PCI support
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@826 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
5768f5aca6
commit
5ce276a11a
2
hw/pc.c
2
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);
|
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);
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user