Revision fbe1b595 hw/vmware_vga.c
b/hw/vmware_vga.c | ||
---|---|---|
1210 | 1210 |
iomemtype); |
1211 | 1211 |
} |
1212 | 1212 |
|
1213 |
void pci_vmsvga_init(PCIBus *bus, int vga_ram_size)
|
|
1213 |
void pci_vmsvga_init(PCIBus *bus) |
|
1214 | 1214 |
{ |
1215 | 1215 |
struct pci_vmsvga_state_s *s; |
1216 | 1216 |
|
... | ... | |
1233 | 1233 |
|
1234 | 1234 |
pci_register_io_region(&s->card, 0, 0x10, |
1235 | 1235 |
PCI_ADDRESS_SPACE_IO, pci_vmsvga_map_ioport); |
1236 |
pci_register_io_region(&s->card, 1, vga_ram_size,
|
|
1236 |
pci_register_io_region(&s->card, 1, VGA_RAM_SIZE,
|
|
1237 | 1237 |
PCI_ADDRESS_SPACE_MEM_PREFETCH, pci_vmsvga_map_mem); |
1238 | 1238 |
|
1239 |
vmsvga_init(&s->chip, vga_ram_size);
|
|
1239 |
vmsvga_init(&s->chip, VGA_RAM_SIZE);
|
|
1240 | 1240 |
|
1241 | 1241 |
register_savevm("vmware_vga", 0, 0, pci_vmsvga_save, pci_vmsvga_load, s); |
1242 | 1242 |
} |
Also available in: Unified diff