diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2009-10-01 16:12:16 -0500 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-10-01 16:12:16 -0500 |
commit | c227f0995e1722a1abccc28cadf0664266bd8043 (patch) | |
tree | 39e92c2f818e3e8144978740b914731613af0e40 /hw/usb-ohci.c | |
parent | 99a0949b720a0936da2052cb9a46db04ffc6db29 (diff) |
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>
Diffstat (limited to 'hw/usb-ohci.c')
-rw-r--r-- | hw/usb-ohci.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hw/usb-ohci.c b/hw/usb-ohci.c index 3062e5b41e..6e428c4fda 100644 --- a/hw/usb-ohci.c +++ b/hw/usb-ohci.c @@ -111,7 +111,7 @@ typedef struct { 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 @@ static void ohci_port_set_status(OHCIState *ohci, int portnum, uint32_t val) 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 @@ static uint32_t ohci_mem_read(void *ptr, a_target_phys_addr addr) 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 @@ void usb_ohci_init_pci(struct PCIBus *bus, int devfn) 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)); |