Revision 8c52c8f3 hw/cirrus_vga.c
b/hw/cirrus_vga.c | ||
---|---|---|
3209 | 3209 |
pci_register_bar((PCIDevice *)d, 1, CIRRUS_PNPMMIO_SIZE, |
3210 | 3210 |
PCI_BASE_ADDRESS_SPACE_MEMORY, cirrus_pci_mmio_map); |
3211 | 3211 |
} |
3212 |
|
|
3213 |
/* ROM BIOS */ |
|
3214 |
pci_add_option_rom((PCIDevice *)d, VGABIOS_CIRRUS_FILENAME); |
|
3215 | 3212 |
return 0; |
3216 | 3213 |
} |
3217 | 3214 |
|
... | ... | |
3226 | 3223 |
.qdev.size = sizeof(PCICirrusVGAState), |
3227 | 3224 |
.qdev.vmsd = &vmstate_pci_cirrus_vga, |
3228 | 3225 |
.init = pci_cirrus_vga_initfn, |
3226 |
.romfile = VGABIOS_CIRRUS_FILENAME, |
|
3229 | 3227 |
.config_write = pci_cirrus_write_config, |
3230 | 3228 |
}; |
3231 | 3229 |
|
Also available in: Unified diff