vmwarevga: fix PCI IO region registration
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4161 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
95b010094c
commit
2408b77bca
|
@ -1237,7 +1237,7 @@ void pci_vmsvga_init(PCIBus *bus, DisplayState *ds, uint8_t *vga_ram_base,
|
||||||
|
|
||||||
pci_register_io_region(&s->card, 0, 0x10,
|
pci_register_io_region(&s->card, 0, 0x10,
|
||||||
PCI_ADDRESS_SPACE_IO, pci_vmsvga_map_ioport);
|
PCI_ADDRESS_SPACE_IO, pci_vmsvga_map_ioport);
|
||||||
pci_register_io_region(&s->card, 0, vga_ram_size,
|
pci_register_io_region(&s->card, 1, vga_ram_size,
|
||||||
PCI_ADDRESS_SPACE_MEM_PREFETCH, pci_vmsvga_map_mem);
|
PCI_ADDRESS_SPACE_MEM_PREFETCH, pci_vmsvga_map_mem);
|
||||||
|
|
||||||
vmsvga_init(&s->chip, ds, vga_ram_base, vga_ram_offset, vga_ram_size);
|
vmsvga_init(&s->chip, ds, vga_ram_base, vga_ram_offset, vga_ram_size);
|
||||||
|
|
Loading…
Reference in a new issue