Revision 8c52c8f3 hw/pci.h

b/hw/pci.h
244 244
    int32_t version_id;
245 245

  
246 246
    /* Location of option rom */
247
    char *romfile;
247 248
    ram_addr_t rom_offset;
248 249
};
249 250

  
......
256 257
                            pcibus_t size, int type,
257 258
                            PCIMapIORegionFunc *map_func);
258 259

  
259
int pci_add_option_rom(PCIDevice *pdev, const char *name);
260

  
261 260
int pci_add_capability(PCIDevice *pci_dev, uint8_t cap_id, uint8_t cap_size);
262 261

  
263 262
void pci_del_capability(PCIDevice *pci_dev, uint8_t cap_id, uint8_t cap_size);
......
385 384

  
386 385
    /* pcie stuff */
387 386
    int is_express;   /* is this device pci express? */
387

  
388
    /* rom bar */
389
    const char *romfile;
388 390
} PCIDeviceInfo;
389 391

  
390 392
void pci_qdev_register(PCIDeviceInfo *info);

Also available in: Unified diff