diff options
author | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-04-04 17:16:45 +0000 |
---|---|---|
committer | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-04-04 17:16:45 +0000 |
commit | 2408b77bca21cf32cf9645cc125fc85524f7b3f8 (patch) | |
tree | ffb31877e1d5f5f1662ecb3def9760def5344d13 /hw/vmware_vga.c | |
parent | 95b010094c80d4af21b9b6fc1cfb4499bcd697d2 (diff) |
vmwarevga: fix PCI IO region registration
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4161 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/vmware_vga.c')
-rw-r--r-- | hw/vmware_vga.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/vmware_vga.c b/hw/vmware_vga.c index f2ffa211de..5536105f02 100644 --- a/hw/vmware_vga.c +++ b/hw/vmware_vga.c @@ -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_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); vmsvga_init(&s->chip, ds, vga_ram_base, vga_ram_offset, vga_ram_size); |