Revision 99a0949b hw/usb-ohci.c

b/hw/usb-ohci.c
111 111
    uint32_t htest;
112 112

  
113 113
    /* SM501 local memory offset */
114
    target_phys_addr_t localmem_base;
114
    a_target_phys_addr localmem_base;
115 115

  
116 116
    /* Active packets.  */
117 117
    uint32_t old_ctl;
......
1398 1398
    return;
1399 1399
}
1400 1400

  
1401
static uint32_t ohci_mem_read(void *ptr, target_phys_addr_t addr)
1401
static uint32_t ohci_mem_read(void *ptr, a_target_phys_addr addr)
1402 1402
{
1403 1403
    OHCIState *ohci = ptr;
1404 1404
    uint32_t retval;
......
1522 1522
    return retval;
1523 1523
}
1524 1524

  
1525
static void ohci_mem_write(void *ptr, target_phys_addr_t addr, uint32_t val)
1525
static void ohci_mem_write(void *ptr, a_target_phys_addr addr, uint32_t val)
1526 1526
{
1527 1527
    OHCIState *ohci = ptr;
1528 1528

  
......
1739 1739
    pci_create_simple(bus, devfn, "OHCI USB PCI");
1740 1740
}
1741 1741

  
1742
void usb_ohci_init_pxa(target_phys_addr_t base, int num_ports, int devfn,
1742
void usb_ohci_init_pxa(a_target_phys_addr base, int num_ports, int devfn,
1743 1743
                       qemu_irq irq)
1744 1744
{
1745 1745
    OHCIState *ohci = (OHCIState *)qemu_mallocz(sizeof(OHCIState));

Also available in: Unified diff