summaryrefslogtreecommitdiff
path: root/hw/usb-ohci.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/usb-ohci.c')
-rw-r--r--hw/usb-ohci.c8
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));