Revision 81a322d4 hw/pci.h
b/hw/pci.h | ||
---|---|---|
315 | 315 |
pci_set_word(&pci_config[PCI_CLASS_DEVICE], val); |
316 | 316 |
} |
317 | 317 |
|
318 |
typedef void (*pci_qdev_initfn)(PCIDevice *dev);
|
|
318 |
typedef int (*pci_qdev_initfn)(PCIDevice *dev);
|
|
319 | 319 |
typedef struct { |
320 | 320 |
DeviceInfo qdev; |
321 | 321 |
pci_qdev_initfn init; |
Also available in: Unified diff