summaryrefslogtreecommitdiff
path: root/hw/pci.h
diff options
context:
space:
mode:
authormalc <av1474@comtv.ru>2009-10-01 22:20:47 +0400
committermalc <av1474@comtv.ru>2009-10-01 22:45:02 +0400
commit5be86926c66310373ee0f25efc9e151f2390201e (patch)
treef9e39633853e35b49fc4465337cc196b9650866e /hw/pci.h
parentac0d47ecf08b101f8b0b2acd910964aaa719eed2 (diff)
downloadqemu-5be86926c66310373ee0f25efc9e151f2390201e.tar.gz
qemu-5be86926c66310373ee0f25efc9e151f2390201e.tar.bz2
qemu-5be86926c66310373ee0f25efc9e151f2390201e.zip
Get rid of _t suffix
Some not so obvious bits, slirp and Xen were left alone for the time being. Signed-off-by: malc <av1474@comtv.ru>
Diffstat (limited to 'hw/pci.h')
-rw-r--r--hw/pci.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/hw/pci.h b/hw/pci.h
index caba5c8518..37d2ae0a35 100644
--- a/hw/pci.h
+++ b/hw/pci.h
@@ -10,7 +10,7 @@
/* PCI bus */
-extern target_phys_addr_t pci_mem_base;
+extern a_target_phys_addr pci_mem_base;
#define PCI_DEVFN(slot, func) ((((slot) & 0x1f) << 3) | ((func) & 0x07))
#define PCI_SLOT(devfn) (((devfn) >> 3) & 0x1f)
@@ -217,7 +217,7 @@ struct PCIDevice {
* a 4K aligned region all by itself. Align it to
* target pages so that drivers can do passthrough
* on the rest of the region. */
- target_phys_addr_t msix_page_size;
+ a_target_phys_addr msix_page_size;
};
PCIDevice *pci_register_device(PCIBus *bus, const char *name,
@@ -354,8 +354,8 @@ void usb_ohci_init_pci(struct PCIBus *bus, int devfn);
PCIBus *pci_prep_init(qemu_irq *pic);
/* apb_pci.c */
-PCIBus *pci_apb_init(target_phys_addr_t special_base,
- target_phys_addr_t mem_base,
+PCIBus *pci_apb_init(a_target_phys_addr special_base,
+ a_target_phys_addr mem_base,
qemu_irq *pic, PCIBus **bus2, PCIBus **bus3);
/* sh_pci.c */