Revision 8a8696a3 vl.h
b/vl.h | ||
---|---|---|
391 | 391 |
PCIMapIORegionFunc *map_func; |
392 | 392 |
} PCIIORegion; |
393 | 393 |
|
394 |
#define PCI_ROM_SLOT 6 |
|
395 |
#define PCI_NUM_REGIONS 7 |
|
394 | 396 |
struct PCIDevice { |
395 | 397 |
/* PCI config space */ |
396 | 398 |
uint8_t config[256]; |
... | ... | |
399 | 401 |
int bus_num; |
400 | 402 |
int devfn; |
401 | 403 |
char name[64]; |
402 |
PCIIORegion io_regions[6];
|
|
404 |
PCIIORegion io_regions[PCI_NUM_REGIONS];
|
|
403 | 405 |
|
404 | 406 |
/* do not access the following fields */ |
405 | 407 |
PCIConfigReadFunc *config_read; |
Also available in: Unified diff