diff options
Diffstat (limited to 'hw/vmware_vga.c')
-rw-r--r-- | hw/vmware_vga.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/vmware_vga.c b/hw/vmware_vga.c index 77d766912b..baafedde7d 100644 --- a/hw/vmware_vga.c +++ b/hw/vmware_vga.c @@ -1182,9 +1182,9 @@ static int pci_vmsvga_initfn(PCIDevice *dev) s->card.config[0x3c] = 0xff; /* End */ pci_register_bar(&s->card, 0, 0x10, - PCI_ADDRESS_SPACE_IO, pci_vmsvga_map_ioport); + PCI_BASE_ADDRESS_SPACE_IO, pci_vmsvga_map_ioport); pci_register_bar(&s->card, 1, VGA_RAM_SIZE, - PCI_ADDRESS_SPACE_MEM_PREFETCH, pci_vmsvga_map_mem); + PCI_BASE_ADDRESS_MEM_PREFETCH, pci_vmsvga_map_mem); vmsvga_init(&s->chip, VGA_RAM_SIZE); |