Revision 99a0949b hw/pci.h
b/hw/pci.h | ||
---|---|---|
10 | 10 |
|
11 | 11 |
/* PCI bus */ |
12 | 12 |
|
13 |
extern target_phys_addr_t pci_mem_base;
|
|
13 |
extern a_target_phys_addr pci_mem_base;
|
|
14 | 14 |
|
15 | 15 |
#define PCI_DEVFN(slot, func) ((((slot) & 0x1f) << 3) | ((func) & 0x07)) |
16 | 16 |
#define PCI_SLOT(devfn) (((devfn) >> 3) & 0x1f) |
... | ... | |
217 | 217 |
* a 4K aligned region all by itself. Align it to |
218 | 218 |
* target pages so that drivers can do passthrough |
219 | 219 |
* on the rest of the region. */ |
220 |
target_phys_addr_t msix_page_size;
|
|
220 |
a_target_phys_addr msix_page_size;
|
|
221 | 221 |
}; |
222 | 222 |
|
223 | 223 |
PCIDevice *pci_register_device(PCIBus *bus, const char *name, |
... | ... | |
354 | 354 |
PCIBus *pci_prep_init(qemu_irq *pic); |
355 | 355 |
|
356 | 356 |
/* apb_pci.c */ |
357 |
PCIBus *pci_apb_init(target_phys_addr_t special_base,
|
|
358 |
target_phys_addr_t mem_base,
|
|
357 |
PCIBus *pci_apb_init(a_target_phys_addr special_base,
|
|
358 |
a_target_phys_addr mem_base,
|
|
359 | 359 |
qemu_irq *pic, PCIBus **bus2, PCIBus **bus3); |
360 | 360 |
|
361 | 361 |
/* sh_pci.c */ |
Also available in: Unified diff