Revert "Get rid of _t suffix"
In the very least, a change like this requires discussion on the list.
The naming convention is goofy and it causes a massive merge problem. Something
like this _must_ be presented on the list first so people can provide input
and cope with it.
This reverts commit 99a0949b720a0936da2052cb9a46db04ffc6db29.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
diff --git a/hw/usb-ohci.c b/hw/usb-ohci.c
index 3062e5b..6e428c4 100644
--- a/hw/usb-ohci.c
+++ b/hw/usb-ohci.c
@@ -111,7 +111,7 @@
uint32_t htest;
/* SM501 local memory offset */
- a_target_phys_addr localmem_base;
+ target_phys_addr_t localmem_base;
/* Active packets. */
uint32_t old_ctl;
@@ -1398,7 +1398,7 @@
return;
}
-static uint32_t ohci_mem_read(void *ptr, a_target_phys_addr addr)
+static uint32_t ohci_mem_read(void *ptr, target_phys_addr_t addr)
{
OHCIState *ohci = ptr;
uint32_t retval;
@@ -1522,7 +1522,7 @@
return retval;
}
-static void ohci_mem_write(void *ptr, a_target_phys_addr addr, uint32_t val)
+static void ohci_mem_write(void *ptr, target_phys_addr_t addr, uint32_t val)
{
OHCIState *ohci = ptr;
@@ -1739,7 +1739,7 @@
pci_create_simple(bus, devfn, "OHCI USB PCI");
}
-void usb_ohci_init_pxa(a_target_phys_addr base, int num_ports, int devfn,
+void usb_ohci_init_pxa(target_phys_addr_t base, int num_ports, int devfn,
qemu_irq irq)
{
OHCIState *ohci = (OHCIState *)qemu_mallocz(sizeof(OHCIState));